bcrowell2 has asked for the wisdom of the Perl Monks concerning the following question:
Howdy, all,
A user of an open-source project of mine reports that when he upgraded to Fedora 22, the following statement started causing an error:
use open ":encoding(utf8)";He gets this:
$ perl use open ":encoding(utf8)"; Can't locate open.pm in @INC (you may need to install the open module) (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at - line 1. BEGIN failed--compilation aborted at - line 1.
Running perl --version shows that he's running perl 5.20.2. I'm running 5.18 and can't reproduce the error.
Is "use open" deprecated? I don't see any mention of it in the perldelta. Can anyone who's running perl 5.20 confirm whether or not this error occurs for them, either on Fedora or some other system?
Thanks in advance!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: "use open" fails in perl 5.20?
by ikegami (Patriarch) on Jun 11, 2015 at 18:33 UTC | |
by revhippie (Scribe) on Jun 11, 2015 at 21:51 UTC | |
by bcrowell2 (Friar) on Jun 12, 2015 at 14:43 UTC | |
|
Re: "use open" fails in perl 5.20?
by dasgar (Priest) on Jun 11, 2015 at 17:57 UTC | |
|
Re: "use open" fails in perl 5.20? ( Can't locate open.pm means "use open" worked )
by Anonymous Monk on Jun 12, 2015 at 00:41 UTC |