Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Is this a typo?

by northwind (Hermit)
on Apr 22, 2005 at 19:37 UTC ( #450549=note: print w/ replies, xml ) Need Help??

in reply to Tutorial: Introduction to Object-Oriented Programming

Please tell me this is a typo and that Perl hasn't added Yet Another Obfuscated Special Variable...
  if (@$)

Comment on Is this a typo?
Download Code
Replies are listed 'Best First'.
Re: Is this a typo?
by dragonchild (Archbishop) on Apr 22, 2005 at 19:45 UTC
    Yes, that is a typo. Otherwise, it would actually mean the list of PIDs associated with this program, which makes no sense. ($$ is the PID for the process.)

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (12)
As of 2016-05-24 13:08 GMT
Find Nodes?
    Voting Booth?