Uri,
On Sun, Aug 4, 2013 at 6:58 AM, Uri Guttman wrote:
> On 08/04/2013 01:44 AM, timothy adigun wrote:
>
>
>> OR some like to write it like so:
>> {
>> local $" = '][';
>> print '[', "@fruits", ']';
>> }
>>
>
> that is a poor idea. setting $" isn't needed to do a simple join.
>
Yes I agre
On 08/04/2013 01:44 AM, timothy adigun wrote:
OR some like to write it like so:
{
local $" = '][';
print '[', "@fruits", ']';
}
that is a poor idea. setting $" isn't needed to do a simple join.
but what no one has said is a more direct way to do this. you need map
and join but it is muc
On Sun, Aug 4, 2013 at 6:28 AM, timothy adigun <2teezp...@gmail.com> wrote:
>
> Hi,
> You want to read:
>
> On Sun, Aug 4, 2013 at 5:59 AM, *Shaji Kalidasan* wrote:
>
>> Greetings,
>>
>> I am facing some difficulty using join to display the array elements
>>
>> Here is the code snippet
>>
>> [code
Greetings,
Thanks Timothy for emphasising the importance of brackets.
best,
Shaji
---
Your talent is God's gift to you. What you do with it is your gift back to God.
-
Greetings,
Thanks Michael for your detailed explanation.
best,
Shaji
---
Your talent is God's gift to you. What you do with it is your gift back to God.
--
Hi,
You want to read:
On Sun, Aug 4, 2013 at 5:59 AM, *Shaji Kalidasan* wrote:
> Greetings,
>
> I am facing some difficulty using join to display the array elements
>
> Here is the code snippet
>
> [code]
> use strict;
> use warnings;
>
> my @fruits = qw/apple mango orange banana guava/;
>
> #pri
Greetings,
I am facing some difficulty using join to display the array elements
Here is the code snippet
[code]
use strict;
use warnings;
my @fruits = qw/apple mango orange banana guava/;
#print '[', join '][', @fruits;
#print ']';
print '[', join '][', @fruits, ']';
best,
[/code]
[output]
[