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

What am I missing here? Perl can decide what to do at compile time. In the case of substr perl could just replace undef with '' behind the scenes. Though personally I think '' is easier to understand (and easier to type).

Elda Taluta; Sarks Sark; Ark Arks

  • Comment on Re^4: Use of uninitialized value in substr

Replies are listed 'Best First'.
Re^5: Use of uninitialized value in substr
by ikegami (Patriarch) on May 04, 2010 at 00:19 UTC
    Nothing, I said exactly the same thing you did.