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

5.25.2
  • Comment on Re^4: Leading empty array elements after splitting

Replies are listed 'Best First'.
Re^5: Leading empty array elements after splitting
by stevieb (Canon) on Aug 22, 2016 at 17:00 UTC

    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 $];'
      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.