Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

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
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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (13)
As of 2014-10-31 18:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (222 votes), past polls