Welcome to the Monastery | |
PerlMonks |
Re: =~ doesn't work with Quantum::Superpositionsby Limbic~Region (Chancellor) |
on Apr 20, 2003 at 16:30 UTC ( [id://251841]=note: print w/replies, xml ) | Need Help?? |
diotalevi,
I could not find a single example of the binding operator anywhere in the documentation for Quantum::Superpositions. I did however find the following code interesting:
I do believe Perl 6's built in any will work with the binding operator. I also took a peak under the hood of the module itself. I could not find a binding operator listed:
Happy hunting! Cheers - L~R Update: I guess I spent too long digging around under the hood as Matt beat me to the punch. Update 2: Chmrr reminded me that ~ is bitwise negation and that the binding operator can't be overloaded - see perldoc overload - Chmrr++
In Section
Seekers of Perl Wisdom
|
|