Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^9: What's the right way to write a method which returns one line at a time from a file?

by hippo (Chancellor)
on Nov 25, 2020 at 09:44 UTC ( #11124187=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    return A if FOO;
    return B if BAR;
    return C if BAZ;
    die "unmatched case";
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2021-04-12 00:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?