> Is it possible to put sub-functions in one file and include them into > another Perlscript. > > For example : > > file1.pl = Has functions for printing a text > > file2.pl = Includes the file1.pl and uses the printing function >
Check the docs for 'use', 'require', and 'do'... perldoc -f use perldoc -f require perldoc -f do http://danconia.org -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>