Perl Monk, Perl Meditation | |
PerlMonks |
Re: Get unique value from computerby apl (Monsignor) |
on Apr 01, 2011 at 10:45 UTC ( [id://896874]=note: print w/replies, xml ) | Need Help?? |
To prevent hard-coding problems (as mentioned by marto), consider checking for the existence of some unusually named file in a standard directory.
If the file exists, your program can run; if it doesn't, it won't. This gives you the additional flexibility to add machines without having to modify your software.
In Section
Seekers of Perl Wisdom
|
|