Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^3: Two simple code style advice questions

by Anonymous Monk
on Jan 16, 2013 at 18:13 UTC ( #1013630=note: print w/replies, xml ) Need Help??


in reply to Re^2: Two simple code style advice questions
in thread Two simple code style advice questions

While choroba's example is elegantly expresses what I was getting at, I'd also like to point out other True values, like 3, 5 or, more entertainingly, MAXINT. >;^)
  • Comment on Re^3: Two simple code style advice questions

Replies are listed 'Best First'.
Re^4: Two simple code style advice questions
by Anonymous Monk on Jan 16, 2013 at 18:18 UTC

    Well, repeat operator repeats a number of times, its repeat operator, if you want to repeat at most once, force !!boolean

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (2)
As of 2016-09-26 03:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (475 votes). Check out past polls.