format

NAME

format - declare a picture format with use by the write() function


SYNOPSIS

format


DESCRIPTION

Declare a picture format with use by the write() function. For example:

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

See the perlform manpage for many details and examples.