in reply to Use of uninitialized value in array element

This node falls below the community's threshold of quality. You may see it by logging in.
  • Comment on Re: Use of uninitialized value in array element

Replies are listed 'Best First'.
Re: Re: Use of uninitialized value in array element
by DamnDirtyApe (Curate) on Jul 13, 2002 at 20:45 UTC

    There is, in fact, such a thing as an uninitialized variable. Try the following code:

    #! /usr/bin/perl -w my $var = undef ; print "\$var is $var.\n" ;

    More discussion on this can be found here.


    _______________
    D a m n D i r t y A p e
    Home Node | Email