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