Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^2: Pls help optomize - ksh version 60% faster!

by ikegami (Pope)
on Sep 28, 2005 at 21:50 UTC ( #495909=note: print w/ replies, xml ) Need Help??


in reply to Re: Pls help optomize - ksh version 60% faster!
in thread Pls help optomize - ksh version 60% faster!

why not simply: if (not $entry)

Because that would also be false for "0".

if ($entry eq "")
(as you mentioned) works, and so does
if (not length $entry)
(my usual) and
unless (length $entry)


Comment on Re^2: Pls help optomize - ksh version 60% faster!
Select or Download Code
Re^3: Pls help optomize - ksh version 60% faster!
by coreolyn (Parson) on Sep 28, 2005 at 21:58 UTC

    Actually I had those that way originally.. there was a $entry that passing the if. What's left was my attempts at finding that problem. I could now revert them back.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://495909]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (9)
As of 2014-07-23 21:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (152 votes), past polls