Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

(Ovid) Re: Nested subs - inherently evil?

by Ovid (Cardinal)
on Feb 11, 2002 at 20:22 UTC ( [id://144693]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub foo
    {
    ...
        }
        return $foo_return;
    }
    
  2. or download this
    sub foo
    {
    ...
        $bar_return = munge_munge( $bar_arg );
        return $bar_return;
    }
    
  3. or download this
    my $sub_ref = sub { munge_munge( shift ) };
    
  4. or download this
    open BINFILE, "<", "somefile.txt" or die $!;
    ReadBytes( $num, \*BINFILE );
    ...
        }
        return @bytes;
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (7)
As of 2024-04-23 13:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found