in reply to Re: passing variables
in thread passing variables

system ("tremove @host:$ep");

That solves one problem by creating another. You've solved the problem of $ep not interpolating, but you've created the problem of @host interpolating, when the OP stated it's not intended to be a variable.

You could use either of the following techniques:

system( 'tremove @host:' . $ep ); system( "tremove \@host:$ep" );

Dave