(Note forwarded to the list as penance for my silliness. :)
> > > sub foo($x .= "foo") {...} # Append "foo" to whatever $x given
> > > sub foo($x ~= "foo") {...} # smart-test $x against "foo"
>
> Well, last time I looked (granted, it could've changed numerous times
> since then) ~ was the string concatenator and ~~ was the smart
> match op, so those should be:
>
> sub foo($x ~= "foo") {...} # Append "foo" to whatever $x given
> sub foo($x ~~= "foo") {...} # smart-test $x against "foo"
lol -- flashbacks. Was off on both!
I'm obviously behind the curve on ~ and ~~ ... but .= is P5, so TOTALLY
wrong. Sorry!
So _ isn't going to be the string catenation operator any more?
Ok, I need an op reference, lol....
Is there a page up anywhere that summarizes the latest
prognostications?
Thanks for straightening me out. ;o]
__________________________________________________
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com