Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^4: Application Testing: Custom Module or Perl Test Files?

by geektron (Curate)
on Sep 08, 2005 at 21:21 UTC ( [id://490327]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Application Testing: Custom Module or Perl Test Files?
in thread Application Testing: Custom Module or Perl Test Files?

well, here's a slightly edited script i used to start creating a bundle of modules for a project i'm trying to finish:
#!/usr/bin/perl use ExtUtils::ModuleMaker; my $mod = ExtUtils::ModuleMaker->new( NAME => 'ConferenceBuilder', EXTRA_MODULES => [ { NAME => 'ConferenceBuilder::Foundation' }, { NAME => 'ConferenceBuilder::Instance' }, { NAME => 'ConferenceBuilder::Accreditations' }, { NAME => 'ConferenceBuilder::Products' }, { NAME => 'ConferenceBuilder::Sessions' }, { NAME => 'ConferenceBuilder::Addons' }, ], AUTHOR => { NAME =>'geektron', EMAIL => 'me@email.com', ORGANIZATION => 'Dis.Organized', WEBSITE => 'http://www +.perlmonks.org' }, VERSION => '0.01', LICENSE => 'artistic', ); $mod->complete_build();
just chmod it to executable, and run.

it made all the modules in the ConferenceBuilder tree and ConferenceBuilder.pm

Replies are listed 'Best First'.
Re^5: Application Testing: Custom Module or Perl Test Files?
by ghenry (Vicar) on Sep 08, 2005 at 21:34 UTC

    Ah, that way ;-)

    Why not add:

    PERMISSIONS => '0755';
    Then you don't need to chmod it.

    Walking the road to enlightenment... I found a penguin and a camel on the way.....
    Fancy a yourname@perl.me.uk? Just ask!!!
      because it's not the modules that are newly created that need to be executable, it's the actual script that needs to be executable. my umask, of course, doesn't create executables automatically.

Log In?
Username:
Password:

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

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

    No recent polls found