in reply to computed symbolic references
-
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.
- Because there is no variable $x::VERSION defined
- Because you missed the semicolon after the first print statement.
/J\