in reply to Re: any built in function to take out null arrays elements?
in thread any built in function to take out null arrays elements?

To check if this array-element is empty, simply test it against the empty element '' or against undef.

Empty, a blank string, and undef are different things though!

Update: string, not strong.

  • Comment on Re^2: any built in function to take out null arrays elements?

Replies are listed 'Best First'.
Re^3: any built in function to take out null arrays elements?
by CountZero (Bishop) on Sep 21, 2007 at 08:43 UTC
    They are indeed and zero will also have to be considered in such test, but failing more info of the practical side of what the OP wants, one cannot give more detailed help.

    CountZero

    A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James