On Thu, Dec 8, 2011 at 17:00, Bart <[email protected]> wrote:
> I think I've finished it, only have some issues with the $RT::Logger->error
> thing. The scrip won't launch when I have that part enabled, when disabled
> it runs just fine O_o

$val is inside if {} block and lexically scoped, so it's not available outside.

Use my ($val, $msg); if { ($val, $msg) = ... }

-- 
Best regards, Ruslan.
--------
RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston  March 5 & 6, 2012

Reply via email to