Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

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.


Comment on Re: computed symbol references

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (6)
As of 2015-07-05 07:57 GMT
Find Nodes?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...

    Results (61 votes), past polls