in reply to Seeking better solution to selecting from list of domains (was: Seeking a jewel....)
just as my 0.02# in you declaration at the beginnning of the script # or in an ini file %urlsForOccassions{ 'fat' => 'weightwatchers.com', 'skinny' => 'muscle.com' }; # in your script somewhere $urls .= $urlsForOccassions{'fat'} if $fat; $urls .= $urlsForOccassions{'skinny'} if $skinny;
|
|---|