in reply to (tye)Re: Eval and $@% ...
in thread Eval and $@% ...
I agree that it sounds like there are much better ways of accomplishing this, namely to require the user of foo() to pass in either a hash or hashref. But, once I started down this path, I wanted to finish it in the best Perl-ish fashion.
Why not use stringy eval? If not stringy eval, then could I use block eval? I'm probably not going to implement something like this (cause I'm going to take your advice, tye, and convert the lists to listrefs), but now I want to find out if what I'm trying is possible and, if not, why not.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(tye)Re2: Eval and $@% ...
by tye (Sage) on Jun 19, 2001 at 22:33 UTC | |
by dragonchild (Archbishop) on Jun 20, 2001 at 00:09 UTC | |
by tye (Sage) on Jun 20, 2001 at 00:47 UTC | |
by wog (Curate) on Jun 20, 2001 at 00:44 UTC |