Can't locate feature.pm in @INC
- From: esia168@xxxxxxxxx (William)
- Date: Wed, 28 May 2008 22:59:07 -0700 (PDT)
Hello, at http://search.cpan.org/~rgarcia/perl-5.10.0/pod/perlsyn.pod#Switch_statements they say
Starting from Perl 5.10, you can say
use feature "switch";
But when I am using "This is perl, v5.8.8 built for i486-linux-gnu-thread-multi"
I still got error of
william@william-pc:~$ perl
use feature "switch";
Can't locate feature.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at - line 1.
BEGIN failed--compilation aborted at - line 1.
How can I solve this ? Thanks
Send instant messages to your online friends http://uk.messenger.yahoo.com
.
- Follow-Ups:
- Re: Can't locate feature.pm in @INC
- From: Tomasz Finc
- Re: Can't locate feature.pm in @INC
- Prev by Date: difference between FTP and SFTP
- Next by Date: Re: Can't locate feature.pm in @INC
- Previous by thread: difference between FTP and SFTP
- Next by thread: Re: Can't locate feature.pm in @INC
- Index(es):
Relevant Pages
|
|