Posted By

ff1959 on 06/04/12


Tagged

perl


Versions (?)

Using constants in perl


 / Published in: Perl
 

URL: http://docstore.mik.ua/orelly/perl3/prog/ch31_07.htm

How to use a constant in perl

  1. # constants
  2. use constant ADD_RESULT => 105;
  3. use constant BIND_RESULT => 97;
  4. use constant COMPARE_RESULT => 111;
  5. use constant DELETE_RESULT => 107;
  6. use constant MODIFY_RESULT => 103;
  7. use constant SEARCH_RESULT_DONE => 101;
  8. use constant PROGRAM_NAME => "sun2unboundid.pl";

Report this snippet  

You need to login to post a comment.