![]() |
|
Welcome to the Monastery | |
PerlMonks |
Re: Script/module formatting gotchaby jettero (Monsignor) |
on Oct 06, 2010 at 13:39 UTC ( #863788=note: print w/replies, xml ) | Need Help?? |
I use this form quite often... my ($val) = () = something; I also use $this->{key} = my $val = 7;; it's not a bug. The assignment has a value of the rvalue. Neat!! If you understand this, I don't understand the question...
What if I wanted to do this?
Should I have to then tell critic to ## no critic that?
In Section
Seekers of Perl Wisdom
|
|