Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

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 (@$)

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 drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2016-10-23 18:29 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (301 votes). Check out past polls.