Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re3: More efficient munging if infile very large (explain particular syntax?)

by Hofmator (Curate)
on Jul 26, 2001 at 18:35 UTC ( #99992=note: print w/ replies, xml ) Need Help??


in reply to (code) Re: (2) More efficient munging... (improved lc() uc() snippet)
in thread More efficient munging if infile very large

from perlop:

Conditional Operator Ternary "?:" is the conditional operator, just as in C. It works mu +ch like an if-then-else. If the argument before the ? is true, the arg +ument before the : is returned, otherwise the argument after the : is returned. For example: printf "I have %d dog%s.\n", $n, ($n == 1) ? '' : "s";
for the gory details read on there ...

-- Hofmator


Comment on Re3: More efficient munging if infile very large (explain particular syntax?)
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://99992]
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: (3)
As of 2014-08-31 11:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (294 votes), past polls