Greetings:
Well what you wanan do it's export a function from another class.
You can do it using 2 ways, standard way (using EXPORTER) or
using Object Oriented Programming in your style.
learn.perl.org has the Beginning perl book online, check the OO
chapter and the modules one.
Good luck!
O
Try this...
require 'code1.pl';
call_your_sub();
This will also execute the code in code1.pl (if there is anything outside of
a sub block), which may not be what you want.
Rob
-Original Message-
From: Ling F. Zhang [mailto:[EMAIL PROTECTED]
Sent: Monday, September 08, 2003 8:33 PM
To: