On Mon, Apr 14, 2008 at 1:21 PM, Paulo Antonio
<[EMAIL PROTECTED]> wrote:
> On 14 abr, 13:25, [EMAIL PROTECTED] (Chas. Owens) wrote:
>  [...]
>
> > Hmm, the following works for me, but then again I have
>  >
>  > export PERL_UNICODE=SDL     #Make Perl use UTF-8 for IO
>  >
>  > in my .bash_profile.
>  >
>
>  Yes, that made the trick. Thanks. But I wish there was a "Perl only"
>  way...
snip

Try unsetting the environmental variable and changing the shebang line to

#!/usr/bin/perl -C SDL

It should be equivalent.  See perldoc perlrun* for more information.

* or http://perldoc.perl.org/perlrun.html#-C

-- 
Chas. Owens
wonkden.net
The most important skill a programmer can have is the ability to read.

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


Reply via email to