- 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

"\x{256}" =~ /^\C\C$/;    # Match as chr (256) takes 2 octets in UTF-8.
$str =~ s/foo\Kbar/baz/g; # Change any 'bar' following a 'foo' to 'baz'.
$str =~ s/(.)\K\1//g;     # Delete duplicated characters.
"\n"   =~ /^\R$/;         # Match, \n   is a generic newline.
"\r"   =~ /^\R$/;         # Match, \r   is a generic newline.
"\r\n" =~ /^\R$/;         # Match, \r\n is a generic newline.
"P\x{0307}" =~ /^\X$/     # \X matches a P with a dot above.
ISBN 9781906966027Perl Language Reference ManualSee the print edition