--- [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 have preprocessed perl scripts with the m4
> macro preprocessor, but you have to be careful to disable some of the
> builtin m4 macros which clash with perl functions. e.g. shift.
c.f. perldoc perlrun for the -P option
-P
causes your script to be run through the C preprocessor before
compilation by Perl. (Because both comments and cpp directives
begin with the # character, you should avoid starting comments
with any words recognized by the C preprocessor such as "if",
"else", or "define".)
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]