in reply to (ar0n) Re: Accessing Other Globals?
in thread Accessing Other Globals?

Ooops tat was a type that should be:

my @array = @foo::A_GLOBAL

Which fails with no error...

Replies are listed 'Best First'.
Re3: Accessing Other Globals?
by dragonchild (Archbishop) on Dec 15, 2001 at 02:51 UTC
    Perl is case-sensitive. 'foo' is not the same as 'Foo'.

    ------
    We are the carpenters and bricklayers of the Information Age.

    Don't go borrowing trouble. For programmers, this means Worry only about what you need to implement.

      As I said, I should have explained myself better. I have an object $foo and want to access its global variables without making the assumption it is in pacakge Foo.