Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Why breaking can() is acceptable

by hardburn (Abbot)
on Apr 06, 2004 at 13:57 UTC ( [id://342922]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub AUTOLOAD 
    {
    ...
        $self->{$AUTOLOAD} = shift if @_;
        $self->{$AUTOLOAD};
    }
    
  2. or download this
    # Could be wrapped in a BEGIN block if you wanted to
    foreach my $field (qw/ foo bar baz /) {
    ...
            $self->{$field};
        };
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (5)
As of 2024-04-24 05:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found