try:
require filename.pl;
rgds
Franki
>-Original Message-
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] 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,
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.
Frankie wrote:
try:
require filename.pl;
rgds
Franki
That clue gave the solution.
But:
1. Syntax is
require ("");
2. Unfortunately, my $whatever definitions do not survive transition
into the required (included) file.
In my case that was easily overcome by shifting those definiti
, its very mod_perl friendly.
regards
Franki
-Original Message-From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On
Behalf Of Ron StoddenSent: Friday, 22 August 2003 7:58
PMTo: [EMAIL PROTECTED]Subject: Re: [expert]
Perl question - include?Frankie wrote:
try
Franki
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Ron
Stodden
Sent: Friday, 22 August 2003 7:58 PM
To: [EMAIL PROTECTED]
Subject: Re: [expert] Perl question - include?
Frankie
On Saturday 23 August 2003 12:56 am, Ron Stodden wrote:
>
>
>
>
>
>
>
> I am well aware. The rule is that if the message I am
> replying to is in HTML, then my response to it will be in HTML, so the
> parent message integrity is preserved. That
> was my deliberate choice of actio
Carroll Grigsby wrote:
On Saturday 23 August 2003 12:56 am, Ron Stodden wrote:
I am well aware. The rule is that if the message I am
replying to is in HTML, then my response to it will be in HTML, so the
parent message integrity is preserved. That
was my deliberate choice of ac