in reply to how to determine whether a module is installed or not?
eval {require Text::LevenshteinXS}; if ($@) { eval {require Text::Levenshtein}; else { require "Levenshtein.lib"; } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: how to determine whether a module is installed or not?
by Anonymous Monk on Dec 28, 2010 at 05:58 UTC |