in reply to Re^4: one-line split file sequence checker
in thread one-line split file sequence checker

You can golf that a bit more:
perl -le '@x[@f]=@f=map/(\d+)$/,<*[0-9]>;$x[$_]||print for+1..$#x'

Replies are listed 'Best First'.
Re^6: one-line split file sequence checker
by wdef2 (Acolyte) on Jan 23, 2008 at 13:46 UTC
    That @x[@f]=@f had me puzzled for a while, but it seems it is the same as:

    @x[(@f)]=(@f)

    So just @f is always expanded into a list without (), and () is not necessary when defining an array from a list?

    I'm still looking at the next one.