B::Deparse can be useful in situations like this.
$ perl -MO=Deparse -e 'sub new { my $class = shift; bless { @_ } => $c +lass; }' sub new { my $class = shift @_; bless {@_}, $class; } -e syntax OK
"The first rule of Perl club is you do not talk about
Perl club."
-- Chip Salzenberg
In reply to Re: What means: "bless { @_ } => $class;"?
by davorg
in thread What means: "bless { @_ } => $class;"?
by hesco
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |