develooper Front page | perl.perl5.porters | Postings from March 2000

Re: [ID 20000330.052] Use of uninitialized value in concatenation (.)

From:
Tom Christiansen
Date:
March 31, 2000 08:22
Subject:
Re: [ID 20000330.052] Use of uninitialized value in concatenation (.)
Message ID:
20190.954519714@chthon
>I would prefer your Option #2, "... in concatenation (.) or interpolation
>... "

% perl -lwe '@a[0,2] = (0,2); print "@a $a", "$a", $a'
Use of uninitialized value in join at -e line 1.
Use of uninitialized value in concatenation (.) at -e line 1.
Use of uninitialized value in string at -e line 1.
Use of uninitialized value in print at -e line 1.

--tom



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About