perlfunc
gods
<P>
format - declare a picture format with use by the
<CODE>write()</CODE> function
<P>
<HR>
<P>
format
<P>
<HR>
<P>
Declare a picture format for use by the [perlfunc:write|write()] function. For example:
<P>
<PRE> format Something =
Test: @<<<<<<<< @||||| @>>>>>
$str, $%, '$' . int($num)
.
</PRE>
<P>
<PRE> $str = "widget";
$num = $cost/$quantity;
$~ = 'Something';
write;
</PRE>
<P>
See [perlman:perlform|the perlform manpage] for many details and examples.
<HR>