Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^2: XML::simple instalation

by Corion (Pope)
on Oct 03, 2011 at 10:34 UTC ( #929305=note: print w/ replies, xml ) Need Help??


in reply to Re: XML::simple instalation
in thread XML::simple instalation

Also see Re: use Strict: a rigorous way to break my command line variables?.

If XML::Simple is installed, use xml::simple; on Windows will not raise an error related to xml::simple or XML::Simple:

>perl -Mxml::simple -e "XMLin()" Undefined subroutine &main::XMLin called at -e line 1. >perl -MXML::Simple -e "XMLin()" Could not find -e.xml in .\ at -e line 1

Because file systems on Windows are generally case insensitive, you can load modules under various names. As package names under Perl still are case sensitive, their ->import() method will not be called, which is confusing.

In my opinion, it would have been more helpful to directly tell the OP that there is no module xml::simple.


Comment on Re^2: XML::simple instalation
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (12)
As of 2015-07-01 19:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (17 votes), past polls