in reply to Getting (famous) error during running perl script

Hi, welcome to the monastery.

Somewhere in your program you have a concatenation, which means to join two things together. It may look like this:

print 'value = ' . $value;

or

print "value = $value";

. . . or similar.

If $value is "uninitialized" Perl will spit out this error (but only if you have warnings enabled -- you do; good job, otherwise your script would be failing silently!)

So you should always check to see that what you are attempting to concatenate, actually exists:

if ($value) { print "value = " . $value; } else { print 'Yikes! No value for $value.'; }
Remember: Ne dederis in spiritu molere illegitimi!