in reply to a farewell to chop
Good point, brother John
Uhm... maybe, instead of wiping away some functions, they could be made "optional" and imported via a use, like
use Perl5 'chop' ;I wonder what Perl6 people thinks about that...
Ciao!
--bronto
UPDATE I'm just using chop right now after years! I have a string that matches /^\d+[MG]$/i, a disk quota given in Megs or Gigs, and I have to convert it in Kbytes:
if (defined $quota) { my $factor = chop $quota ; my $softquota = $quota*$QuotaConversionFactor{uc($factor)} ; ...
Don't let it go away, please... :-(
--
# Another Perl edition of a song:
# The End, by The Beatles
END {
$you->take($love) eq $you->made($love) ;
}
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: use Perl5 'chop' ; [Re: a farewell to chop]
by John M. Dlugosz (Monsignor) on Sep 11, 2002 at 16:09 UTC |