Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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

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
Node Status?
node history
Node Type: note [id://490327]
help
Chatterbox?
[erix]: my objection to sigs is just that they take screen space. ( Some monks would have *several* slogans underneath a 1-liner reply )
[Discipulus]: a solution would be disabiltate sig as default and let users to show them
[karlgoethebier]: now it's getting weird...
[GotToBTru]: 'getting'?
[Discipulus]: why karlgoethebier ?

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (15)
As of 2017-06-22 12:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (519 votes). Check out past polls.