On Jun 8, 2007, at 1:33 PM, Nath, Alok (STSD) wrote:

Hi,
        What is the convention used to declare constants in perl ?
        In C we declare constant type in Capital letters , not sure
        how its in perl.

Same convention:

  use constant FOO => 3;

-- fxn




--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to