format SomeFormat = @###.## @>>>>>>> $a, $b . my $a = 1;
use strict; format Something = Test: @##.## @###.## $a, $b . sayit(); sub sayit { $main::a = 1; $main::b = 2; $~ = 'Something'; write; }
In reply to Re: Question on using format and write
by pg
in thread Question on using format and write
by Popcorn Dave
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |