in reply to join function

Please have a look at perlintro#Perl-variable-types

Especially the part about the @array variable type, but please try to read it as a whole.

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

Replies are listed 'Best First'.
Re^2: join function
by catfish1116 (Beadle) on Oct 17, 2018 at 15:06 UTC

    Sir,

    Thanks for supplying me with the link. I changed the line to

      my @fruits = ("Apple", "Banana", "Cherry", "Honeydew", "Watermelon") ;

    Works fine now.

    Thank you,

    Catfish