Common Problems Cava Packager works well in most situations but there are one or two c +ommon situations that may cause packaged scripts to behave differentl +y. Checking for caller If you check caller in your scripts you may not get what you expect. C +ava 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 con +tain details from the enclosing 'do'. INIT blocks According to the perldocs, modules that contain INIT blocks will behav +e 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 aw +are of it if you use INIT blocks. Cava Packager Copyright © 2006-2008 Mark Dootson
In reply to Re: Cava Packager quick question
by Anonymous Monk
in thread Cava Packager quick question
by rmflow
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |