Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (7)
As of 2017-05-29 16:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?