>>>>> "CO" == Chas Owens <[email protected]> writes:

  CO> Ah, use constant is just sugar for what he is doing.  And, given that
  CO> he is only adding the constants because they don't exist in very old
  CO> versions of Perl, it is likely that he is trying to support a version
  CO> of Perl prior to 5.004 (which introduced the constant pragma).

and if i could do use constant i would still need to select which value
to use at compile time. that wouldn't be very clean with each constant
needing to do an N way check on the platform and selecting the right
value. there might be a way to do it but this way is cleaner.

uri

-- 
Uri Guttman  ------  [email protected]  --------  http://www.sysarch.com --
-----  Perl Code Review , Architecture, Development, Training, Support ------
---------  Gourmet Hot Cocoa Mix  ----  http://bestfriendscocoa.com ---------

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


Reply via email to