|
You can also use the -P option when you invoke perl
(#!/usr/local/bin/perl -w -P), which make it invoke cpp before parsing
the script. #include statements will then be executed. [ but less pretty than 'require' statement, purists would say !! ] Erick. Frankie wrote: try: require filename.pl;rgds Franki-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Ron Stodden Sent: Friday, 22 August 2003 2:45 PM To: Mandrake Expert Subject: [expert] Perl question - include? I've searched the perl man pages fruitlessly, so let me ask of all you perl enthusiasts: How do you do such a simple thing as to include another perl source file at some point in a perl source file? No, "include" doesn't work. -- Ron. [Melbourne, Australia] "If you keep a green bough in your heart, the singing bird will come" Get Fastest Mandrake downloader, English-only, from: http://members.optusnet.com.au/ronst/ Click all ye faithful! |
- [expert] Perl question - include? Ron Stodden
- RE: [expert] Perl question - include? Frankie
- Re: [expert] Perl question - include? Erick Briere
- Re: [expert] Perl question - include? Ron Stodden
- RE: [expert] Perl question - include? Frankie
- Re: [expert] Perl question - include? Ron Stodden
- Re: [expert] Perl question - include? Carroll Grigsby
- Re: [expert] Perl question - include? J.C. Woods
