Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: What does this mean?

by Anonymous Monk
on Aug 20, 2012 at 20:05 UTC ( #988499=note: print w/replies, xml ) Need Help??


in reply to What does this mean?

You could have written it this way:

if (defined($id)) { $self->{_id} = $id; }
... but this way's shorter. Perl is full of little "shortcuts" like that.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://988499]
help
Chatterbox?
and the rats come out to play...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (6)
As of 2016-12-06 07:08 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.