Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^3: Bareword error in WWW::Mechanize

by Old_Hat (Initiate)
on Nov 29, 2017 at 00:08 UTC ( [id://1204487]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Bareword error in WWW::Mechanize
in thread WWW::Mechanize “use constant xx” gets bareword error

Windows treats Constant.pm as being the same file as constant.pm, that is, you can't have both at the same time in the same directory.

Renaming Constant.pm to constant.pm changes nothing. In both cases the error references the lowercase file.

Replies are listed 'Best First'.
Re^4: Bareword error in WWW::Mechanize
by choroba (Cardinal) on Nov 29, 2017 at 08:24 UTC
    But Perl doesn't treat them the same. Moreover, use constant ... shouldn't look into ExtUtils namespace, as it doesn't say use ExtUtils::constant. Something's very wrong with your setup.

    ($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,
Re^4: Bareword error in WWW::Mechanize
by Anonymous Monk on Nov 29, 2017 at 01:27 UTC

    Hi,

    Where is the version information as provided by Devel::Modlist?

    ? What do you get as output from command       perl -V ?

    Blind guess, I  cpanm ExtUtils::MakeMaker and friends, cause ActiveState has patched that before and broken it

      perl 5, version 24, subversion 2 (v5.24.2) built for MSWin32-x64-multi-thread is the version information. I can’t use Devel::Modlist since it produces the same error.

        That has no info on @INC like capital -V

        perl -V

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1204487]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2024-04-25 18:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found