in reply to find real length of an array

Why you want to do that? Having just ',' will not work and pushing 'undef' is a not good idea from my perspective. There must be some alternative ways to complete what you want to do. State the underlying problem and we will have better solution.

artist

Replies are listed 'Best First'.
Re: Re: find real length of an array
by hackmare (Pilgrim) on Mar 16, 2003 at 22:39 UTC

    This is the result of splitting on a string with empty tab-delimited fields. (see reply to merlyn above w/ example.)

    hackmare.