in reply to Re: How can I write and call subroutines in separate files?
in thread How can I write and call subroutines in separate files?

Hi, dont forget the 1; at the end of the require "file"; where file is:
#!/usr/bin/perl sub one{ print "one"; } 1;
otherwise the compiler wont be happy;-)
  • Comment on Re: Answer: How can I write and call subroutines in separate files?
  • Download Code