Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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

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
Node Status?
node history
Node Type: note [id://46154]
help
Chatterbox?
[LanX]: 1234567890 1234567890 1234567890
[LanX]: so inserting own whitespace helps, ie. a JS warning on submit could help preventing problems
[LanX]:  last hour of cb doesn't break
[LanX]: 12345678901234- 123456789012345678 901234567890123456 789012345678901234 567890123456789012 345678901234567890 123456789012345678 901234567890123456 789012345678901234 567890123456789012 345678901234567890 123456789012345678 901234567890123456 789012345678901234 567890

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (9)
As of 2017-07-24 11:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (351 votes). Check out past polls.