in reply to Re: $/ usage
in thread $/ usage
"in its original form" - i was expecting to see something like this: server1 ip server2 ip server3 ip etc..
I was going to do another pattern match on the string $text after getting it in the string.
perl -e 'undef $/; my $text=<>; 1 while $text =~ s/\b(\w+\d+)\s*\1\b/$ +1/gi; pring $text; $/="\n";' list
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: $/ usage
by graff (Chancellor) on Jan 02, 2013 at 22:44 UTC |
In Section
Seekers of Perl Wisdom