I am trying to get the return value of this subroutine to be passed directly to a scalar variable($ctrl) so that i can take its value (artist - songtitle) and match it up with a regex.use strict; sub ctrl{ system ("xmmsctrl print %T"); print "\n"; }
In reply to pass subroutine value to scalar by sub_chick
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |