- 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>>>

format

Declare a picture format for use by the write function. For example:

format Something =
    Test: @<<<<<<<< @||||| @>>>>>
          $str,     $%,    '$' . int($num)
.
$str = "widget";
$num = $cost/$quantity;
$~ = 'Something';
write;

See 17 for many details and examples.

ISBN 9781906966027Perl Language Reference ManualSee the print edition