in reply to Re: Using "USE" instead of "DO" for subroutines call in external file
in thread Using "USE" instead of "DO" for subroutines call in external file

Doe the program work currently with 'use'?
If not, maybe you are missing use lib
Try this:
#!/usr/local/bin/perl use lib 'path/to/mysub.pm'; use mysub;
  • Comment on Re^2: Using "USE" instead of "DO" for subroutines call in external file
  • Download Code