Guest User

Untitled

a guest
Dec 11th, 2017
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. #MRO.pm
  2.  
  3. package MRO;
  4.  
  5. use strict;
  6. use warnings;
  7.  
  8.  
  9. require Exporter;
  10. @ISA = qw(Exporter);
  11. @EXPORT_OK = qw($MROParser_HEAD $MROParser_1A $MROParser_1B $MROParser_1C $MROParser_2A $MROParser_3A $MROParser_3B $MROParser_3C $MROParser_TRAILER);
  12.  
  13.  
  14. #Script.pl
  15.  
  16. #!/usr/bin/perl
  17.  
  18. use strict;
  19. use warnings;
  20.  
  21. use Dir::Self;
  22. use lib __DIR__ . "/../../Libraries";
  23. use Parser::MRO qw( $MROParser_2A );
  24.  
  25.  
  26.  
  27. Gives error
  28. Global symbol "@ISA" requires explicit package name
  29. Global symbol "@EXPORT_OK" requires explicit package name
Add Comment
Please, Sign In to add comment