But what I need to do is use a variable in part of the args (a directory name):@output = `program args`;
Thanks,print "ask for dir: "; chomp(<STDIN> = $dir); @output = `du -h $dir`; # do stuff
In reply to interpolate using backticks? by djw
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |