Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Re: Perl Idioms Explained - my ($foo, $bar) = @{shift(@_)}{qw/ -foo -bar /}

by ihb (Deacon)
on Apr 13, 2004 at 03:58 UTC ( [id://344610]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        {
            my %SELF = map { $_ => '' } qw( foo bar baz );
    ...
                return $self;
            }
        }
    
  2. or download this
        {
            my %SELF = (
    ...
                return $self;
            }
        }
    
  3. or download this
        sub new {
            my $self = bless {
    ...
    
            return $self;
        }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2024-03-19 09:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found