Difference between revisions of "Perl"

From Dreamwidth Notes
Jump to: navigation, search
(+ book: Mastering Regular Expressions)
(merge in contents of Perl Tips page)
Line 15: Line 15:
  
 
* Jeremy Friedl's book [http://www.amazon.com/Mastering-Regular-Expressions-Jeffrey-Friedl/dp/0596528124/ Mastering Regular Expressions] is an excellent primer.
 
* Jeremy Friedl's book [http://www.amazon.com/Mastering-Regular-Expressions-Jeffrey-Friedl/dp/0596528124/ Mastering Regular Expressions] is an excellent primer.
 +
 +
== Perl Tips ==
 +
 +
=== Strings ===
 +
 +
==== Quoting variables inside text ====
 +
 +
<source lang="perl">$string = "${foo}worthy"</source>
 +
  
 
[[Category: Development]]
 
[[Category: Development]]

Revision as of 02:13, 6 April 2013

Beginning programming in Perl

Perl Documentation

Regular Expressions

Perl programmers tend to make extensive use of regular expressions, but they are also used in many other tools (eg vim, less, grep).

Perl Tips

Strings

Quoting variables inside text

$string = "${foo}worthy"