all - Load all packages under a namespace


all documentation  | view source Contained in the all distribution.

Index


NAME

Top

all - Load all packages under a namespace

SYNOPSIS

Top

  # use everything in the IO:: namespace
  use all of => 'IO::*';
  use all 'IO::*';

  # use everything in the IO:: and Sys:: namespaces
  use all 'IO::*', 'Sys::*';
  use all of => qw{IO::* Sys::*};

DESCRIPTION

Top

With the all pragma you can load multiple modules that share the same root namespace. This vastly reduces the amount of times you need to spend use'ing modules.

BUGS / FEATURES

Top

AUTHOR

Top

James A. Duncan <jduncan@fotango.com>

Piotr Roszatycki <dexter@cpan.org>

LICENSE

Top

Copyright 2003 Fotango Ltd. All Rights Reserved.

Copyright 2008 Piotr Roszatycki <dexter@cpan.org>.

This module is released under the same terms as Perl itself.


all documentation  | view source Contained in the all distribution.