in reply to Re: Uninitialized value in substr command
in thread Uninitialized value in substr command

Laurent_R: I tested your code and got it working after fixing a typo in your regex.

    if ( $item =~ /^>\d/ ) {