in reply to [solved] Help! Overloading operators doesn't work

Please tell me where $a_str is declared before it is used in:

print "$a_str, $a_num\n";

I cannot get your script to compile without it. Thanks.

Replies are listed 'Best First'.
Re^2: Help! Overloading operators doesn't work
by mascip (Pilgrim) on Sep 01, 2012 at 11:46 UTC

    Added, my mistake.