>>>>> "Duarte" == Duarte Cordeiro <[EMAIL PROTECTED]> writes:
Duarte> (the question being: how can I do macros within perl, and how can I pass
"things" to the perl interpreter? )
<http://search.cpan.org/author/DCONWAY/Filter-Simple-0.78/>
Hi -
Yea, I just tried a c preprocessor, but, guess what?
All perl comments (they start with # remember) gave
'invalif preprocessor directives...
Oh, well...
Aloha => Beau.
PS: Duarte, have you searched CPAN for a "macros" mod?
-Original Message-
From: Paul Jo
eck out the -P option to Perl. But
I'd suggest that is not a good solution to most problems.
> Hi,
>
> in C:
> #ifndef __DEBUG__
> #define MYD(x) x
> #else
> #define MYD(x)
> #endif
>
> and in perl ?
>
> (the question being: how can I do macros within per
Hi,
in C:
#ifndef __DEBUG__
#define MYD(x) x
#else
#define MYD(x)
#endif
and in perl ?
(the question being: how can I do macros within perl, and how can I pass "things" to
the perl interpreter? )
or is there any other approach to this ?
Thanks in advance,
Duarte
--
Dua
2002 1:11 PM
> To: Paul Johnson
> Cc: Duarte Cordeiro; [EMAIL PROTECTED]
> Subject: RE: macros
>
>
> Hi -
>
> Yea, I just tried a c preprocessor, but, guess what?
> All perl comments (they start with # remember) gave
> 'invalif preprocessor directives...
>
Subject: macros
Hi,
in C:
#ifndef __DEBUG__
#define MYD(x) x
#else
#define MYD(x)
#endif
and in perl ?
(the question being: how can I do macros within perl, and how can I pass
"things" to the perl interpreter? )
or is there any other approach to this ?
Thanks in advance,
Duarte
Hi there,
Jenda suggested that I post my question on this list.
Right. I want to merge 4 RTF documents into a single doc because they're of
different parts, after being converted from Framemaker.
For example:
BrisCasAgrA92_01B_.rtf (3rd)
BrisCasAgrA92_01B_C.rtf (1st)
BrisCasAgrA92_01B_E.rtf (4t
On Sep 20, G Lakshmi said:
>if (index($OSNAME,"Win",0) > -1)
>{
>use Win32::Process;
>}
That will ALWAYS try to include the Win32::Process module, regardless of
the rest of your program. 'use' statements are executed at compile-time,
while the rest of the code is executed at run-time. You'll w
> It works fine on Windows NT. On Solaris, it gives the foll error message:
>
> Can't locate Win32/Process.pm in @INC (@INC
> contains: /usr/perl5/5.00503/sun4-so
> laris /usr/perl5/5.00503 /usr/perl5/site_perl/5.005/sun4-solaris
> /usr/perl5/site
> _perl/5.005 .) at sim.pl line 3.
> BEGIN failed
Hi,
I tried the following script:
if (index($OSNAME,"Win",0) > -1)
{
use Win32::Process;
}
It works fine on Windows NT. On Solaris, it gives the foll error message:
Can't locate Win32/Process.pm in @INC (@INC
contains: /usr/perl5/5.00503/sun4-so
laris /usr/perl5/5.00503 /usr/perl5/site_pe
On Tue, Jul 17, 2001 at 08:04:39AM -0700, [EMAIL PROTECTED] wrote:
> > Rajanikanth Dandamudi <[EMAIL PROTECTED]> said:
>
> > Is there a concept of macros in perl, i.e.
> > Is there some thing like preprocessor processing
> > in perl. Thanks in advance.
(
--- [EMAIL PROTECTED] wrote:
> > Rajanikanth Dandamudi <[EMAIL PROTECTED]> said:
>
> > Is there a concept of macros in perl, i.e.
> > Is there some thing like preprocessor processing
> > in perl. Thanks in advance.
>
> Nto that I am aware of. I hav
> Rajanikanth Dandamudi <[EMAIL PROTECTED]> said:
> Is there a concept of macros in perl, i.e.
> Is there some thing like preprocessor processing
> in perl. Thanks in advance.
Nto that I am aware of. I have preprocessed perl scripts with the m4 macro
preprocessor,
Hello,
Is there a concept of macros in perl, i.e.
Is there some thing like preprocessor processing
in perl. Thanks in advance.
--
Thanks and Regards,
D.Rajanikanth
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hello,
Is there a concept of macros in perl, i.e.
Is there some thing like preprocessor processing
in perl. Thanks in advance.
--
Thanks and Regards,
D.Rajanikanth
15 matches
Mail list logo