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

Re: Re: Re: Context aware functions - best practices?

by ihb (Deacon)
on Jan 20, 2003 at 12:41 UTC ( #228333=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      # Consider a subroutine with a 1-to-1
      # argument to return length mapping.
    ...
      my  $a  = foo($bar, $baz); # Warns.
      # Why did the programmer pass two arguments
      # if he just wanted one return value?
    
  2. or download this
      my $a = foo(burk());

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (6)
As of 2014-04-20 19:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (487 votes), past polls