in reply to Re: Unregognized character \xA0
in thread Unregognized character \xA0

No, I'm writing this myself. My complete script looks like the one at the bottom of this node. But you're right, this IS running on Windows.
#!/usr/bin/perl use strict; use warnings; my %numbers = ( "one" => "1", "two"  => "2", "three" => "3" ); print $numbers{"one"};

Replies are listed 'Best First'.
Re: Re: Re: Unregognized character \xA0
by Roger (Parson) on Feb 02, 2004 at 01:52 UTC
    Ok, seems to me that your problem is actually the other-way-round. You created the file in unix format and it does not run under DOS/Windows. Just run the utility unix2dos to convert your script from unix format to dos format.

    Update:

    I copied this from a website, there was text formatting when I copied it over into Notepad ...

    Aha, you didn't mention about that. Problem solved... ;-)