perl basic commands
Concatenation and addition are two different things: Remember that Perl converts strings to numbers transparently whenever it’s needed, so to get the value of $b, the Perl interpreter converted the two strings "8" and "1" to numbers, then added them. (This is different from many other languages, where strings and numbers are two separate data types.). There are three options I like to think of as a “safety net,” as they … Scalars are single things. do{ Below is an example to create a hash. It doesn’t matter, because when Perl needs to treat a scalar as a string, it does; when it needs to treat it as a number, it does. Perl.com and the authors make no representations with respect to the accuracy or completeness of the contents of all work on this website and specifically disclaim all warranties, including without limitation warranties of fitness for a particular purpose. Need basic commands on perl programming by reggy patagan; Re: Need basic commands on perl programming by Scott R. Godin; Re: Need basic commands on perl programming by Jerry Preston; Re: Need basic commands on perl programming by Jeremy Webster; Re: Need basic commands on perl programming by Stephan Tinnemeyer; nntp.perl.org: Perl Programming lists via nntp and http. }, #!/usr/local/bin/perl, to end multiline comments You can write your Perl scripts in a text editor such as Notepad, Vi, TextEdit, Emacs, Ultra Edit, Textmate, etc. print "