Stanisław T. Findeisen wrote:
When I, however, move Utils.pm into subdirectory mylib, and modify the
program accordingly:

#############################
# The program (2)
#############################
use warnings;
use strict;
use mylib::Utils qw(bar foo);

use lib './mylib';
use Utils qw(foo bar);


Utils::foo();

foo();

bar();

See `perldoc lib`.


--
Just my 0.00000002 million dollars worth,
  Shawn

Programming is as much about organization and communication
as it is about coding.

I like Perl; it's the only language where you can bless your
thingy.

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to