in reply to Re: Unforseen OO conducts
in thread Unforseen OO conducts

Do you expect it to print "bar"? It won't, and shouldn't.
It does and it should. :) Perhaps you have a typo in your code and meant something else...

thor

Feel the white light, the light within
Be your own disciple, fan the sparks of will
For all of us waiting, your kingdom will come

Replies are listed 'Best First'.
Re^3: Unforseen OO conducts
by Perl Mouse (Chaplain) on Oct 06, 2005 at 13:27 UTC
    I first had the roles for $var1 and $var2 reversed, but changed them to match the use of {var1} and {var2} by the OP. But I forgot to update the variable used in the print statement.

    Thanks.

    Perl --((8:>*