It's not a terrible approach - I use something similar for a particular set of projects but with 2 important differences:
Example (but with the package inlined just for ease of illustration):
#!/usr/bin/env perl use strict; use warnings; package MyStuff { use constant BODPLAN => 'Have a separate dev server'; # ... more constants here } print "Bod's plan: " . MyStuff::BODPLAN . "\n";
🦛
In reply to Re^5: Holding site variables
by hippo
in thread Holding site variables
by Bod
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |