|
|
| Just another Perl shrine | |
| PerlMonks |
Re: Re: Up for Critiqueby davorg (Chancellor) |
| on Mar 23, 2002 at 16:55 UTC ( #153802=note: print w/ replies, xml ) | Need Help?? |
|
1. Use $INPUT_RECORD_SEPARATOR instead of $/ I was wondering why you thought this was a good idea. IMO the aliases from English.pm can end up making your code harder to follow - purely because they are used so rarely and most people are far more used to using the punctuation variables. Also there used to be a performance problem with use English. It made Perl think that you'd used $`, $& and $'. This would slow down all regex matches in your code. I think this has been fixed in recent Perls, but I'm not sure exactly when (or to what extent). --<http://www.dave.org.uk> "The first rule of Perl club is you do not talk about
Perl club."
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||