Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^2: What I Most Recently Learned in Perl, But Should Have Already Known

by pKai (Priest)
on Aug 17, 2006 at 22:55 UTC ( #568039=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $var = 4;
    for $var (1 .. 9) {
        last if $var == 7;
    }
    print $var;  # prints: 4
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://568039]
help
Chatterbox?
[Lady_Aleena]: marioroy, it is used in 24 other modules I wrote.
[Lady_Aleena]: GUH! I wrote a script better than I thought! 8)
[marioroy]: Wow. It's cool seeing Github coments "Update Monster.pm, Create Wild_hairs, Create alternate- PurpleOnGreen..., Then a location, Create Aleenia. Amazing, really. Thank you for sharing.
Discipulus when naming is clear and you know how to arrange the data, then coding it is a mere writing work

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (9)
As of 2017-05-29 09:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?