On Perl

EMAIL: ADITYA (DOT) SINGH (AT) GMAIL

Name:
Location: Chicago/Delhi, United States

Friday, October 15, 2004

User defined constants

You can make your own constants in Perl. (something like #define PI or const
inst PI)

use constant {PI=>3.14, PI2=>3.1416};
print PI ."\n". PI2;

0 Comments:

Post a Comment

<< Home