in reply to Re^2: Use of uninitialized value in substr
in thread Use of uninitialized value in substr

Then turn off just this warning. It causes more problems than it solves.

use warnings; no warnings 'uninitialized';

In this particular case though using '' seems cleaner.

Jenda
Enoch was right!
Enjoy the last years of Rome.