in reply to Error with User defined data

Hello a.alandkar, and welcome to the Monastery!

Here are some useful references to follow-up choroba’s answer:

  1. Basic debugging checklist #3
  2. brian's Guide to Solving Any Perl Problem, “Is the value what you think it is?”
  3. Unbelievably Obvious Debugging Tip

Hope that helps,

Athanasius <°(((><contra mundum Iustus alius egestas vitae, eros Piratica,