411 REFERENCE · Wikibooks
Perl Programming/Keywords/format
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
Perl foreach formline Keywords
The format keyword
The format command declares a picture format for use by the write function.
Syntax
format
Examples
format Something =
Test: @<<<<<<<< @||||| @>>>>>
$str, $%, '$' . int($num)
.
$str = "widget";
$num = $cost/$quantity;
$~ = 'Something';
write;
Perl foreach formline Keywords