Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: my $x or my ($x)

by nmerriweather (Friar)
on Apr 05, 2006 at 19:11 UTC ( #541492=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my ($x)
    
    my $x;
    my $y;
    my $z;
    
  2. or download this
    my ( $x , $y , $z );
    
    ...
         $y ,
         $z 
    );
    
  3. or download this
    sub function{
      my $self = @_;
    }
    
  4. or download this
    sub function{
      my ($self) = @_;
    }
    
  5. or download this
    sub function{
      my ($self , $arg1 , $arg2 ) = @_;
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (8)
As of 2014-12-28 09:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (180 votes), past polls