Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: h2xs again

by dchetlin (Friar)
on Dec 12, 2000 at 02:07 UTC ( #46154=note: print w/ replies, xml ) Need Help??


in reply to h2xs again

Actually, MakeMaker will make it just work. Just cd into Client/Graph, do your perl Makefile.PL, make, make test, and make install, and it will be in the correct directory such that you can `use Client::Graph'.

If your problem is that you can't use it from the build directory, look at the way the autogenerated test.pl uses it, and copy that. In fact, why not just put the code into the test.pl. You are writing unit tests, right?

Finally: when you go to package up your distribution, rename the Client directory Client-Graph and then tar it up. That's the style most modules on the CPAN use.

-dlc


Comment on Re: h2xs again
Re: Re: h2xs again
by clemburg (Curate) on Dec 12, 2000 at 15:00 UTC

    Finally: when you go to package up your distribution, rename the Client directory Client-Graph and then tar it up. That's the style most modules on the CPAN use.

    No. Don't do that. Do: make dist

    Christian Lemburg
    Brainbench MVP for Perl
    http://www.brainbench.com

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2014-07-30 22:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (241 votes), past polls