in reply to Re^3: Sequential defined-or operators
in thread Sequential defined-or operators
Yes, I'm aware about this issue. I wrote related matter sometime ago. So I believe it will be perfectly fine to write:
knowing that func is a unary operator.my $value = $hash{$key} // func $arg // 'default';
Open source softwares? Share and enjoy. Make profit from them if you can. Yet, share and enjoy!
|
---|
In Section
Seekers of Perl Wisdom