Hi

It's warning and not really an error. Result is shown in any case
Please note ommision of w flag in the later case.


D:\Perl_Programs>perl -we "print \":\" .(). \":\";"
Use of uninitialized value in concatenation (.) or string at -e line 1.
::
D:\Perl_Programs>perl -e "print \":\" .(). \":\";"
::

Rgds,

Nilesh
Swaminathan Vijay-A20615 wrote:
> Hi all,
>  
> I'm trying to print an Empty array in perl.
>  
> print "Here is an empty array:" . () . "<-- Nothing there!\n";
>  
> It works fine in Unix Environment but not in Windows.
>  
> In Windows it throws out an error message saying
>  
> Use of uninitialized value in Concatenation(.) or string
>  
>
> */-/* *Vijay Swaminathan*
>
>  
>
>  
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> ActivePerl mailing list
> [email protected]
> To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to