Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2016-12-06 07:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (101 votes). Check out past polls.