in reply to Why is (keys ::) legal syntax?

You keep coming up with these cool questions so would you care to share what you are working on?

Replies are listed 'Best First'.
Re: Re: Why is (keys ::) legal syntax?
by John M. Dlugosz (Monsignor) on Nov 12, 2002 at 20:59 UTC
    Well, I'm just trying to look busy.

    Seriously, I came up with this one when checking out attributes::bootstrap after reading tye's reply. My one-liner printed main's contents instead! Blame the shell for thinking %attributes was an environment variable, so it saw :: alone. Since %'s are a constant problem on the command line, I thought "oh, I can even leave it off when the context must be a hash?" just like the @ in the push in old versions of Perl. Well, it's inconsistant.

    For the others, deep symbol table and ref stuff, I'm working on Exporter::VA and generally trying to understand everything.

    —John