# formated output sub sformat { my $format = shift; local $^A = ''; formline($format, @_); return $^A; } # print line using some format specification sub fprint { my $format = shift; $self->print(sformat($format, @_)); }
--
Ilya Martynov
(http://martynov.org/)
In reply to Re: Dynamically create a format definition
by IlyaM
in thread Dynamically create a format definition
by tariqahsan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |