Alexandre Chapoutot wrote:
Hi all,
I think you should use grep instead of map in this partciluar case
I disagree. I also don't think you should top-post your replies.
John
--
Any intelligent fool can make things bigger and
more complex... It takes a touch of genius -
and a lot of courage t
On 2011-12-03 13:38, Binish A.R wrote:
split(/\s+/, $_)[1]
Why put all these extra characters in?
( split )[ 1 ]
But if you happen to like extra characters, here are some:
echo '1 2 3 4' |perl -anle 'do{s/\((.)\)/$1/g;1while
s{([+-])\((...)\)}{$1$2}||s/\(\(([^{}]+)\)\)/($1)/||s/\((.x.)\
Sent from my LG phone
Paul Johnson wrote:
>On Fri, Dec 02, 2011 at 04:39:20AM -0500, sunita.prad...@emc.com wrote:
>> Hi All
>>
>> My array @sympd_list has following lines :
>>
>> /dev/sdd 0BE0 07F:0 08C:D0 Unprotected N/Grp'd RW
__
From: "sunita.prad...@emc.com"
To: beginners@perl.org
Sent: Friday, December 2, 2011 3:09 PM
Subject: issue with perl map function
Hi All
My array @sympd_list has following lines :
/dev/sdd 0BE0 07F:0 08C:D0 Unp
Hi all,
I think you should use grep instead of map in this partciluar case
Regards
Alex
2011/12/2 :
> Hi All
>
> My array @sympd_list has following lines :
>
> /dev/sdd 0BE0 07F:0 08C:D0 Unprotected N/Grp'd RW
> 500
> /dev/sde
sunita.prad...@emc.com wrote:
Hi All
Hello,
My array @sympd_list has following lines :
/dev/sdd 0BE0 07F:0 08C:D0 Unprotected N/Grp'd RW 500
/dev/sde 0BE1 07F:0 07A:C0 Unprotected N/Grp'd RW 500
/dev/
On 02/12/2011 11:20, timothy adigun wrote:
Hi Sunita,
On Fri, Dec 02, 2011 at 04:39:20AM -0500, sunita.prad...@emc.com wrote:
Hi All
My array @sympd_list has following lines :
/dev/sdd 0BE0 07F:0 08C:D0 Unprotected N/Grp'd RW
Hi Sunita,
On Fri, Dec 02, 2011 at 04:39:20AM -0500, sunita.prad...@emc.com wrote:
> > Hi All
> >
> > My array @sympd_list has following lines :
> >
> > /dev/sdd 0BE0 07F:0 08C:D0 Unprotected N/Grp'd RW
> 500
> > /dev/sde
On Fri, Dec 02, 2011 at 04:39:20AM -0500, sunita.prad...@emc.com wrote:
> Hi All
>
> My array @sympd_list has following lines :
>
> /dev/sdd 0BE0 07F:0 08C:D0 Unprotected N/Grp'd RW
> 500
> /dev/sde 0BE1 07F:0 07A:C0
Hi All
My array @sympd_list has following lines :
/dev/sdd 0BE0 07F:0 08C:D0 Unprotected N/Grp'd RW 500
/dev/sde 0BE1 07F:0 07A:C0 Unprotected N/Grp'd RW 500
/dev/sdf 0BE2 07F:0 08D:C0 Unprot
10 matches
Mail list logo