in reply to Re^3: Using a sting with a variable name
in thread Using a sting with a variable name
One catch, using the following data, it'll say $var exists. But that's probably good enough.it's a trivial test to add.
@var = qw( a b c ); $var2 = undef; $one = '$var'; # Exists! $two = '$var2'; # Exists
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Using a sting with a variable name
by JavaFan (Canon) on May 11, 2009 at 15:21 UTC | |
by ikegami (Patriarch) on May 11, 2009 at 15:47 UTC | |
by JavaFan (Canon) on May 11, 2009 at 16:36 UTC | |
by ikegami (Patriarch) on May 11, 2009 at 17:08 UTC | |
by JavaFan (Canon) on May 11, 2009 at 17:57 UTC | |
|