start page | rating of books | rating of authors | reviews | copyrights

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: 8.41 Devel::SelfStubber Chapter 8
Standard Modules
Next: 8.41 Devel::SelfStubber
 

stub

stub (

module

[, 

dir

])

Generates the stubs. Takes the following arguments:

module

Name of the module, in the form Devel::SelfStubber (with no .pm at the end).

dir

Library directory that contains the module; defaults to the current directory.

To just print the stubs:

use Devel::SelfStubber; Devel::SelfStubber->stub(
module
, 
dir
);
To generate the whole module, with the stubs inserted correctly, set the variable $Devel::SelfStubber::JUST_STUBS to 0:
use Devel::SelfStubber; $Devel::SelfStubber::JUST_STUBS = 0; Devel::SelfStubber->stub(
module
, 
dir
);


Previous: 8.41 Devel::SelfStubber Perl in a Nutshell Next: 8.41 Devel::SelfStubber
8.41 Devel::SelfStubber Book Index 8.41 Devel::SelfStubber

Library Navigation Links

Copyright © 2001 O'Reilly & Associates. All rights reserved.