in reply to adding to a hash

You can do this:
%variables = (%variables, get_page_content("names"));
although it's not the most efficient thing in the world.

Replies are listed 'Best First'.
Re2: adding to a hash
by dragonchild (Archbishop) on May 13, 2003 at 19:45 UTC
    Not unless get_page_content("names") returns a key-value paired list. Plus, that's just a silly way of doing it.

    ------
    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.

    Please remember that I'm crufty and crochety. All opinions are purely mine and all code is untested, unless otherwise specified.