Yes, that was it:

I had :
LANG=en_US.UTF-8

and it should be:
LANG=en_US


thanks
Mike


Axel Liljencrantz wrote:

On 5/10/06, Mike Peel <[EMAIL PROTECTED]> wrote:

Hi,

Fish seems to have trouble with some of my perl scripts. For example ,
the following script:

tst.pl
===

#!/usr/bin/perl
use Date::Pcalc qw(:all);

($year,$month,$day) = Today();
print "$year,$month, $day\n";



I get the same error about a missing file under bash and fish:

Can't locate Date/Pcalc.pm in @INC (@INC contains:
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6
/usr/lib/perl5/site_perl/5.8.5 ...

I guess I'm missing a CPAN module.


Under bash it works okay:
./tst.pl
2006,5, 10

but under Fish I get:
Malformed UTF-8 character (unexpected non-continuation byte 0x76,
immediately after start byte 0xe9) in require at /usr/lib/perl5/s


My guess would be that this is a character set issue. Is LANG defined
under either bash or fish? If LANG is defined under fish try erasing
it, i.e. 'set -e LANG'.


thanks for any info.
Mike


--
Axel


--
Think of those who come after you, before they
                  come after you" Tom Christiansen




-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Fish-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to