in reply to Having problems using eval()

1. After an eval, check $@ for any problems evaluating the string.

2. To empty a hash, %data = (), not {}.

--
[ e d @ h a l l e y . c c ]

Replies are listed 'Best First'.
Re: Re: Having problems using eval()
by TASdvlper (Monk) on May 20, 2004 at 16:55 UTC
    @$ did the trick. Thanks.