Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Including Modules with a script

by TheoPetersen (Priest)
on Jul 11, 2001 at 16:19 UTC ( #95650=note: print w/replies, xml ) Need Help??


in reply to Including Modules with a script

1) It's legal to distribute modules that are GPL and/or Artistic, as long as you abide by their licenses. You should check the license of each module.

2) Your Modules namespace is causing problems. While 'use Modules::LWP::Simple' may work without an error, the loaded module undoubtedly identifies a different package:

package LWP::Simple;
That may be causing your problem with XML::Simple, though I haven't tried it to see.

It would be better to instruct the user to drop the extra modules in a directory of their choice and modify the 'use lib' line at the top of your script to refer to it. Besides, the user may be just fine with CPAN and already have the modules installed.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://95650]
help
Chatterbox?
[hippo]: That was around April 1994. Fun times.
[hippo]: They had purchased some shiny new 486 DXs the year before but crippled them by installing Win 3.1. I demo'd Linux with X on them to the department head and got the go-ahead to wipe Windows and install the new hotness.
[marto]: glory days ;)
[hippo]: Too true :)

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (11)
As of 2018-06-22 09:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (124 votes). Check out past polls.

    Notices?