Summary

 <  Day Day Up  >  

In this hour , you learned that Perl's most basic type of data is a scalar. Scalars can consist of almost any kind of data. Scalar values can be represented by string or numeric literals. Numeric literals can have many different formats representing integers and floating-point numbers . String literals are sequences of characters surrounded by either double or single quotation marks. Scalar values are stored in scalar variables , which have a dollar sign $ in front of their names . Perl provides operators for performing string manipulation and basic arithmetic.

 <  Day Day Up  >  


SAMS Teach Yourself Perl in 24 Hours
Sams Teach Yourself Perl in 24 Hours (3rd Edition)
ISBN: 0672327937
EAN: 2147483647
Year: 2005
Pages: 241

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