Perl Monk, Perl Meditation | |
PerlMonks |
Re: (crazyinsomniac) Re: convert whitespaces to underscoresby Juerd (Abbot) |
on May 26, 2002 at 23:23 UTC ( [id://169444]=note: print w/replies, xml ) | Need Help?? |
(tr/// vs s///)
It doesn't matter for this script as it doesn't matter for most scripts. This particular script is slow because of forking and filesystem changes. Changing the s/// to a tr/// won't increase the speed notably. Not even for a million MP3 files.
In Section
Cool Uses for Perl
|
|