Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^2: Use of 'last' within single-line while loops

by hurricup (Pilgrim)
on Mar 21, 2018 at 07:34 UTC ( [id://1211397]=note: print w/replies, xml ) Need Help??


in reply to Re: Use of 'last' within single-line while loops
in thread Use of 'last' within single-line while loops

Correction, works fine with for statement modifier

say $_ and last for 1,2,3

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2024-04-23 06:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found