Just another Perl shrine | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
'Useless interpolation of literal string' means that you're using double-quoted strings when single-quoted would do. 'Expression form of "eval"' means you're using stringy eval (i.e. eval "code") rather than block eval (eval { code }). By the way, what you're doing (passing around names of variables and evaling them) is kinda dumb. Notice how this doesn't work:
perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'
In reply to Re: Perl::Critic and Subroutines
by tobyink
|
|