How to use the macros in Perl

Posted by murugaperumal on Stack Overflow See other posts from Stack Overflow or by murugaperumal
Published on 2010-03-26T04:44:21Z Indexed on 2010/03/26 4:53 UTC
Read the original article Hit count: 365

Filed under:

How do I use macros in Perl, like I do in C?

Example:

#define value 100 
print value; 

I want to get the output as 100.

© Stack Overflow or respective owner

Related posts about perl