in reply to Re^4: Leading empty array elements after splitting
in thread Leading empty array elements after splitting

Can you please run the following command at the command line and reply with what the output is?

perl -wMstrict -E 'my @test = split((/\D/g), "x4d77"); say $];'

Replies are listed 'Best First'.
Re^6: Leading empty array elements after splitting
by Anonymous Monk on Aug 22, 2016 at 17:34 UTC
    Use of /g modifier is meaningless in split at -e line 1. 5.025002 Warning is provided now - however using /g within the script itself despite the use of strict + warnings provides no message.