Launching Perl from the Command Line

   



Perl Built-In Variables

Perl has a number of built-in variables that allow you to write very compact code. Scripts that use many built-in variables can be cryptic for people who are starting to learn about Perl. Other techniques will be used when it is possible to accomplish the same task. For instance, the built-in variable $_ refers to the current line, and you can use your own variable to store the value of the current line. On the other hand, the built-in variables $`, $' refer to the 'prefix' match and the 'post' match, respectively, and they do not have a simple counterpart. There are also a number of 'Perlisms' that advanced Perl users incorporate in their scripts, and they will be used where deemed appropriate.



   



Fundamentals of SVG Programming. Concepts to Source Code
Fundamentals of SVG Programming: Concepts to Source Code (Graphics Series)
ISBN: 1584502983
EAN: 2147483647
Year: 2003
Pages: 362

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net