Re: Can't locate feature.pm in @INC

[email protected] (William)
Newsgroups perl.beginners
Message-ID <[email protected]>
----- Original Message ----
> From: Tomasz Finc <[email protected]>
> To: William <[email protected]>
> Cc: beginner perl mailling list <[email protected]>
> Sent: Thursday, May 29, 2008 14:36:58
> Subject: Re: Can't locate feature.pm in @INC
> 
> You are trying to use a feature that is in perl-5.10 and not in your
> installed version of perl 5.8.8.
> 
> If you want switch functionality then you might want to install the
> Switch cpan module from which you will be able to
> 
> use Switch;
> 
>           switch ($val) {
>               case 1          { print "number 1" }
>               case "a"        { print "string a" }
>          }
> 
> or upgrade to perl-5.10
> 
> --tomasz


Omg, so careless am I, I thought 5.8.8 is later than 5.10 , because I interpret 5.10 as 5.1 , as in floating number the zero after the dot does not give significant value.But I forgot it's version number not floating number,  lol, Thanks


Send instant messages to your online friends http://uk.messenger.yahoo.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.