#! /usr/bin/perl use strict; my $str='< < PU------------- doc doc S-NN----------- id id S-MN----------- = = X-------------- " " PU-------------'; $str =~ s/\n//g; $str =~ s/\s+/\//g; $str =~ s/(-){2,}/ /g; print "$str\n";
In reply to Re: Perl starter with big problem.
by brsaravan
in thread Perl starter with big problem.
by b_vulnerability
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |