in reply to calling problem in script

In addition to the comparison issue pointed out above, one issue I notice is that you use $Prefix in in your GetOptions call but build your glob with $prefix. This would definitely be caught with use of strict/warnings.