?sub my_qx { my $string = shift; # do stuff to $string, like you would in your "overload" return qx{$string}; } my $variable = my_qx q{stuff};
In reply to Re: Is it possible to overload backticks (qx) operator
by Anonymous Monk
in thread Is it possible to overload backticks (qx) operator
by bdimych
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |