in reply to Re: creating word from array of array
in thread creating word from array of array

This code fails at "my @c = @{+shift};" with the message, "Can't use an undefined value as an ARRAY reference..."

Fixing that leads to an endless loop with a warning about an uninitialized value.

Update: /me puzzles over screamingeagle's results with the same OS and Perl version and wonders why copy-and-paste ain't what it used to be...

  • Comment on Re: Re: creating word from array of array

Replies are listed 'Best First'.
Re: Re: Re: creating word from array of array
by screamingeagle (Curate) on Feb 17, 2002 at 01:54 UTC
    fyi...the code ran just fine for me (Windows 98 ,ActiveState Perl 5.6.0)
    (++ for your post too) :-)