Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #MRO.pm
- package MRO;
- use strict;
- use warnings;
- require Exporter;
- @ISA = qw(Exporter);
- @EXPORT_OK = qw($MROParser_HEAD $MROParser_1A $MROParser_1B $MROParser_1C $MROParser_2A $MROParser_3A $MROParser_3B $MROParser_3C $MROParser_TRAILER);
- #Script.pl
- #!/usr/bin/perl
- use strict;
- use warnings;
- use Dir::Self;
- use lib __DIR__ . "/../../Libraries";
- use Parser::MRO qw( $MROParser_2A );
- Gives error
- Global symbol "@ISA" requires explicit package name
- Global symbol "@EXPORT_OK" requires explicit package name
Add Comment
Please, Sign In to add comment