Just another Perl shrine | |
PerlMonks |
Re: Re: Re: how do I shorten codeby BrowserUk (Patriarch) |
on May 09, 2003 at 04:39 UTC ( [id://256773]=note: print w/replies, xml ) | Need Help?? |
Theoretically, you should be able to do something similar on case sensitive systems.
I say theoretically as I don't such a system to test it on, but the multiple args in a string seems to work ok. Of course if its not just the 'B' that can vary case, then enumerating all the Txt TXt TXT tXT txT TxT tXt etc. isn't going to shorten anything:) Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham"When I'm working on a problem, I never think about beauty. I think only how to solve the problem. But when I have finished, if the solution is not beautiful, I know it is wrong." -Richard Buckminster Fuller
In Section
Seekers of Perl Wisdom
|
|