in reply to Re: Can I determine if the value of a variable is the same as an arrays name?
in thread How can I use the value of a scalar as the name of an array variable?

Why would you do BEGIN { use Data::Dumper }; if use is already BEGIN { require Module; import Module LIST; }?

Also, the 3 argument form of open is generally considered the better practice.

CountZero

A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

Replies are listed 'Best First'.
Re^2: Answer: Can I determine if the value of a variable is the same as an arrays name?
by Anonymous Monk on Jun 19, 2008 at 05:20 UTC
    And error checking (or die "Can't open file .. $!")