Can't locate feature.pm in @INC



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
.



Relevant Pages

  • Re: Bug in #! processing (long reply)
    ... The way to support the documented feature is on a per-shell basis. ... The command interpreter is passing the remaining arguments to the ... hack where the perl script starts being executed as a sh ... sh will pass it off to perl. ...
    (freebsd-current)
  • Re: File::Find help
    ... Maybe Perl 6 will finally kill it (I ... Some people suggested documenting this 'feature'. ... Tom said that Larry ...
    (perl.beginners)
  • Re: whats your most favourite feature of perl?
    ... What's your most favourite feature of your girlfriend? ... I like Perl because it's Perl and I ... namespaces and the power of namespace ...
    (perl.beginners)
  • Re: cannot locate feature.pm error
    ... here is the message got after trying "install feature.pm" on terminal command ... In Perl, you make use of modules with statements of the type: ... install feature ...
    (perl.beginners)
  • Re: OT: sed -n vs. sed
    ... > Bob Proulx wrote: ... The feature will be waiting there for you when you find the ... return code of grep is dependent upon whether it matched or not. ... The sed program predates perl by many years. ...
    (Debian-User)