- publishing free software manuals
Perl Language Reference Manual
by Larry Wall and others
Paperback (6"x9"), 724 pages
ISBN 9781906966027
RRP £29.95 ($39.95)

Sales of this book support The Perl Foundation! Get a printed copy>>>

Examples

/(A)        # Buffer 1
 (          # Buffer 2
   (B)      # Buffer 3
   \g{-1}   # Refers to buffer 3 (B)
   \g{-3}   # Refers to buffer 1 (A)
 )
/x;         # Matches "ABBA".
my $qr = qr /(.)(.)\g{-2}\g{-1}/;  # Matches 'abab', 'cdcd', etc.
/$qr$qr/                           # Matches 'ababcdcd'.
ISBN 9781906966027Perl Language Reference ManualSee the print edition