Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Perl: last evaluated value as a returned value for a subroutine. See inside

by blue_cowdawg (Prior)
on Feb 21, 2013 at 17:15 UTC ( #1019986=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    my $R;
    ...
    print mySub(); #prints some string
    print mySub(); #again
    
  2. or download this
    
    1. R = ""
    ...
    
    3. R = "some string"
    some string
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (14)
As of 2014-08-22 19:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (163 votes), past polls