--- xsprite@bigfoot.com wrote:
on Mon, Jul 02, 2001 at 09:18:33AM -0700, David Freeman scribbled:
Perl is a write only language. I looked into it and it made no
sense
what so ever.
really.. http://www.perlmonks.org/index.pl?node=Perl%20Poetry
Sad. Poetry for and about computers.
almost everything perl does can be done with sed and awk.
(/-l\s*([^-]+)/) && do { my $orig_chain = $2; my $chain = join(',', map {$_ if (!/^$/);} split(/ /, $2));
$chain =~ s/(?<![^,])0(?![^,])/*/g; s/$orig_chain/$chain /g;
};
the first line is a classic example of why its write only code, WTF does the (/-l\s*([^-]+)/) mean?
is quite hard to do with sed/awk (afaics)..
Its hard enough to read let alone know what its does.
Thanks
D
__________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/