Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
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.


Comment on Re: What does this mean?
Download Code

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 web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (12)
As of 2014-08-29 22:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (289 votes), past polls