in reply to Re: Re: Re: dereferencing stuff
in thread Getting keys/values from a referenced hash

Looks like you've got two options at this point. The first is just to turn strict off around that block:
{ no strict; eval $code; }
Or you can attempt to pick off the errors one at a time, outside the eval;
my $res_g2; eval $code; die $@ if $@;
I'd recommend seeing how far you can get with the second method, though its quite possible that you'll encounter an error that cant be fixed in this manner.

-Blake

Replies are listed 'Best First'.
Re: Re4: dereferencing stuff
by professa (Beadle) on Nov 29, 2001 at 17:43 UTC
    I'm using the no strict thing now.
    It's the easiest and most convenient variant for me to use and works with several example files I evaluated yet.
    'nuff for me... ;-)
    Thanx!!!

    Cheers, Micha