- or download this
dir_one/my_package.pm
dir_two/my_package.pm
- or download this
##! /usr/local/bin/perl
package my_package;
...
%my_hash = (
...
);
- or download this
#!/usr/bin/perl -w
...
print "%s\n", Dumper(\%my_hash);
require dir_two::my_package q( %my_hash );
print "%s\n", Dumper(\%my_hash);
- or download this
syntax error at ./my_script.pl line 7, near "require dir_one::my_packa
+ge qw( %my_hash )"
Execution of ./my_script.pl aborted due to compilation errors.