Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: computed symbol references

by gellyfish (Monsignor)
on Jul 13, 2004 at 13:16 UTC ( #373966=note: print w/replies, xml ) Need Help??


in reply to computed symbolic references

  1. The first is appending '::VERSION' to the value of $x whereas the second is going to look for the variable $VERSION in the package 'x' - it will not expand $x separately.
  2. Because there is no variable $x::VERSION defined
  3. Because you missed the semicolon after the first print statement.

/J\

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://373966]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (8)
As of 2018-01-23 18:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How did you see in the new year?










    Results (251 votes). Check out past polls.

    Notices?