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.
In reply to Re^3: Use of uninitialized value in substr
by Jenda
in thread Use of uninitialized value in substr
by BrowserUk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |