As someone has no doubt already pointed out, the single quote doesn't do variable interpolation. You probably want
instead.system ("tremove @host:$ep"); # WRONG -- should be \@host
Update: Sorry, as has been pointed out -- the '@' should be escaped with a leading '\'. That'll teach me to post something, then wander off to continue my work day.
Alex / talexb / Toronto
"Groklaw is the open-source mentality applied to legal research" ~ Linus Torvalds
In reply to Re: passing variables
by talexb
in thread passing variables
by rudeb0y
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |