use constant test => 3; 1; [download]
#!/usr/bin/perl require 'constants.pl'; print main->test; [download]
In reply to Re: Using constants... by Oleg_T in thread Using constants... by willjones