Devel-SearchINC
view release on metacpan or search on metacpan
lib/Devel/SearchINC.pm view on Meta::CPAN
You can also use semicolons or colons instead of commas as delimiters for
directories.
C<perlrun> details the syntax for specifying multiple arguments for
modules brought in with the C<-M> switch.
=head1 SPECIAL OPTIONS
In addition to development directories, there are special options that can be
passed to this module:
=over 4
=item C<-debug>
This turns on debugging; see below.
=item C<-clear>
This option clears all paths that were previously set. This is useful when you
have a C<PERL5OPT> environment variable but want to use this module from
within your code as well and want to override the environment setting. For
example:
export PERL5OPT=-MDevel::SearchINC=/path/to/dev
then:
#!/usr/bin/env perl
use warnings;
use strict;
use Devel::SearchINC qw(-clear /path/to/other/dir);
...
=back
=head1 DEBUGGING THIS MODULE
By using C<-debug> as one of the development directories, you can turn
on debugging. Note that despite the leading colon, this has nothing to
do with C<Exporter> semantics. With debugging activated, this module
will print detailed information while trying to find the requested file.
For example
use Devel::SearchINC qw(/my/first/dir my/second/dir -debug);
or
perl -MDevel::SearchINC=/my/first/dir,-debug,/my/second/dir
The C<-debug> option can be specified anywhere in the list of development
directories.
=head1 INSTALLATION
See perlmodinstall for information and options on installing Perl modules.
=head1 BUGS AND LIMITATIONS
No bugs have been reported.
Please report any bugs or feature requests through the web interface at
L<http://rt.cpan.org/Public/Dist/Display.html?Name=Devel-SearchINC>.
=head1 AVAILABILITY
The latest version of this module is available from the Comprehensive Perl
Archive Network (CPAN). Visit L<http://www.perl.com/CPAN/> to find a CPAN
site near you, or see L<http://search.cpan.org/dist/Devel-SearchINC/>.
The development version lives at L<http://github.com/hanekomu/Devel-SearchINC.git>
and may be cloned from L<git://github.com/hanekomu/Devel-SearchINC.git>.
Instead of sending patches, please fork this project using the standard
git and github infrastructure.
=head1 AUTHOR
Marcel Gruenauer <marcel@cpan.org>
=head1 COPYRIGHT AND LICENSE
This software is copyright (c) 2004 by Marcel Gruenauer.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
=cut
( run in 1.379 second using v1.01-cache-2.11-cpan-ceb78f64989 )