Perl Programming Question:
Download Questions PDF

What is Perl one-liner?


There are two ways a Perl script can be run:
--from a command line, called one-liner, that means you type and execute immediately on the command line. You'll need the -e option to start like "C: %gt perl -e "print "Hello";". One-liner doesn't mean one Perl statement. One-liner may contain many statements in one line.
--from a script file, called Perl program.

Download Perl Programming Interview Questions And Answers PDF

Previous QuestionNext Question
How do I generate a list of all .html files in a directory?What happens when you return a reference to a private variable?