On Tue, 18 Jan 2005 13:22:14 +0000, RichT <[EMAIL PROTECTED]> wrote:
> Hi again,
>   ok i made the changes sugested, but something is still wrong.
> the output im getting is
> ----------------------------------------------------------------------------------
> "interface is "ATM0
> "interface is "ATM0.38
> ----------------------------------------------------------------------------------
> 
> ie the " is at the start of the line???

> print "\$interface is \"$interface\"\n";

Uhm? I can't see anything wrong here. Might be a linefeed at the end
of $interface though.

Try this code:
$interface =~ s/\r//g;
print "\$interface is \"$interface\"\n";

Tor

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to