Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: h2xs again

by dchetlin (Friar)
on Dec 12, 2000 at 02:07 UTC ( [id://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

Replies are listed 'Best First'.
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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://46154]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2024-04-24 08:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found