open (OUT,">format.out"); my @array=grep /\d+/,split(/ /,$str); my $output = "@array"; write OUT; close OUT; format OUT = ^<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<~~ $output .
In reply to Re: printing 20 characters in a line.
by cdarke
in thread printing 20 characters in a line.
by heidi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |