in reply to Re^2: 1 != split /a/, '' ?
in thread 1 != split /a/, '' ?

what is the -1 in split meaning?

Replies are listed 'Best First'.
Re^4: 1 != split /a/, '' ?
by Happy-the-monk (Canon) on Nov 04, 2015 at 22:12 UTC

    If LIMIT is negative, it is treated as if it were instead arbitrarily large; as many fields as possible are produced.

    Cheers, Sören

    Créateur des bugs mobiles - let loose once, run everywhere.
    (hooked on the Perl Programming language)