> sub foo($x ~= "foo") {...} # Append "foo" to whatever $x given
Oops. :)
That should be
> sub foo($x .= "foo") {...} # Append "foo" to whatever $x given
> sub foo($x ~= "foo") {...} # smart-test $x against "foo"
I assume the second would provide a boolean response.
__________________________________________________
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com
