my $hello = sub { 'hello '.$_[0] }; print "kevin"->$hello; # or my $x = 'kevin'; print $x->$hello;
credit to Discipulus's latest well-spaced JAPH
bw, bliako
In reply to Re: Evaluate variable while using
by bliako
in thread Evaluate variable while using
by chickenman
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |