in reply to Re: Variable Removal From End of String
in thread Variable Removal From End of String

splice( @array, -20 )= ();   #array, removes scalarsCan't modify splice in scalar assignment

I don't think you tested that code. splice can't be assigned to. You instead want: splice @array, -20;

        - tye (but my friends call me "Tye")

Replies are listed 'Best First'.
Re: (tye)Re: Variable Removal From End of String
by jeroenes (Priest) on May 01, 2001 at 21:42 UTC
    Arghle.... ahum. Yes. Got carried away by substr, clearly. Thx for pointing that one out.