Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

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

by geektron (Curate)
on Sep 08, 2005 at 21:21 UTC ( #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


Comment on Re^4: Application Testing: Custom Module or Perl Test Files?
Download Code
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
Node Status?
node history
Node Type: note [id://490327]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (8)
As of 2014-08-27 09:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (234 votes), past polls