Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: if statement consolidation

by moritz (Cardinal)
on Jun 28, 2012 at 10:16 UTC ( #978879=note: print w/replies, xml ) Need Help??


in reply to Re: if statement consolidation
in thread if statement consolidation

Note that the original code did not modify any of the variables unless $h has one of a list of certain values. If that's important behavior, there should be an if-statement guarding your code.

Replies are listed 'Best First'.
Re^3: if statement consolidation
by choroba (Bishop) on Jun 28, 2012 at 16:38 UTC
    Thanks, added.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://978879]
help
Chatterbox?
[Discipulus]: 65-35 joint venture marto? ;=)
[choroba]: Fibonacci at 34!
[marto]: Discipulus, what did you have in mind?
[marto]: sort of related, have you seen sonic pi
[Discipulus]: choroba less than perl -le ' $==1,(1 x $_)=~/(^)(1|11\1 )*(?{$=++})^/, print $= for 0..10'?? congrats
[Discipulus]: marto i had in mind something for stupid peoples with smart phones; a free app (this is the the non perl part..) and some hardware to sell in big cities

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (8)
As of 2017-10-17 10:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (225 votes). Check out past polls.

    Notices?