Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 exploiting the Monastery: (5)
As of 2014-12-21 02:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (101 votes), past polls