parrotcode: Untitled | |
Contents | Language Implementations | Perl6 |
= NAME
lib - A pragma for addition of paths to @*INC
= SYNOPSIS
require lib;
import('lib': @paths);
# no load your other modules ...
= DESCRIPTION
This is a small simple module which simplifies the manipulation of `@*INC`.
It is typically used to add extra directories to Pugs's search path so that later `use` or `require` statements will find modules which are not located on Pugs's default search path.
= LIMITATIONS & CAVEATS
Currently this will only work during runtime since Pugs does not yet support `BEGIN{}` or `use`. Modules are loaded in a /first-come-first-served/ basis, so just be sure (as with perl5 lib.pm) to use this module first.
= SEE ALSO
`perldoc lib`
= AUTHOR
Stevan Little <stevan@iinteractive.com>
= COPYRIGHT
Copyright (c) 2005. Stevan Little. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See http://www.perl.com/perl/misc/Artistic.html
Hey! The above document had some coding errors, which are explained below:
|