Summary

 <  Day Day Up  >  

In this hour , you learned that searching for strings within other strings doesn't have to involve regular expressions; you can perform simple searches by using index and rindex . You also can make simple substitutions by using the TR/// operator. The substr function can be used for both extracting data from strings and editing them. You can create nicely formatted output in Perl by using the printf and sprintf statements. Additionally, you saw arrays used as stacks of items instead of flat lists, and you learned how to manipulate those stacks.

 <  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