Common Problems Cava Packager works well in most situations but there are one or two common situations that may cause packaged scripts to behave differently. Checking for caller If you check caller in your scripts you may not get what you expect. Cava Packager runs your script with the equivalent of: do 'yourscript.pl'; This means that, for example, code such as: if(caller) { will no longer work as you might expect because caller will always contain details from the enclosing 'do'. INIT blocks According to the perldocs, modules that contain INIT blocks will behave differently when called from within an 'eval' or 'do'. We have had no reports of any issues arising from this fact, but you should be aware of it if you use INIT blocks. Cava Packager Copyright © 2006-2008 Mark Dootson