![]() |
|
Problems? Is your data what you think it is? | |
PerlMonks |
Re^3: Arrow Operator Questionby kcott (Archbishop) |
on Mar 27, 2023 at 10:14 UTC ( #11151251=note: print w/replies, xml ) | Need Help?? |
"if ($foo == ($bar->{c}{d}{e}//'moo')) { ... }" You may have typed that in a hurry. While I do follow the gist of what you're saying, I do hope you're aware that '==' is used for numbers (e.g. 300) and 'eq' is used for strings (e.g. "moo"). See "perlop: Equality Operators" for more complete details. — Ken
In Section
Seekers of Perl Wisdom
|
|