|XP is just a number|
dereferencing use moduleby firstname.lastname@example.org (Initiate)
|on May 23, 2014 at 20:39 UTC||Need Help??|
email@example.com has asked for the wisdom of the Perl Monks concerning the following question:
I would like to use a variable in a "use" clause.
I have one script that runs on multiple servers, each taking its own <servername>_data.pm file
Currently I have to copy the script and rename the file in the use clause for each server.
I would like to advoid this and do something like
my $variable = "<servername>_data";
Is there any way to do this ?