please find the attached .
what i am looking for is, need to destroy the window $mw1 once the text entered
in scrolled text window
i just want to destroy $mw1 and not entire application
please suggest .
regards,
irfan
From: Shlomi Fish
Hi All,
I would like to print array1 with array2 as below ex:
output
---
abc-12 20/1
def-22 30/22
ghi-33 40/3
def-22 20/1
@array1 =abc-12, def-22, ghi-33,abc-12,def-22;
@array2 =20/1, 30/22, 40/3, 20/1;
i did try to map array1 to array2 elements, did'nt work.
%hash = map {$array1[$_]
Hi jet speed,
On Wed, 5 Sep 2012 11:47:41 +0100
jet speed speedj...@googlemail.com wrote:
Hi All,
I would like to print array1 with array2 as below ex:
output
---
abc-12 20/1
def-22 30/22
ghi-33 40/3
def-22 20/1
The best way would be to iterate over the indexes:
for my
Thanks Sholmi. Appreciate your help !. that's correct, i did make up the
syntax, bec's the actual program is in a different system, were i cannot
access mail.
Cheers
Sj
On Wed, Sep 5, 2012 at 12:10 PM, Shlomi Fish shlo...@shlomifish.org wrote:
Hi jet speed,
On Wed, 5 Sep 2012 11:47:41
Hi All,
i have an regx question. i have the array contents, now i want to remove
the first 2 characters (fc) of each element in the array and store it in a
second array ex: @array2
@array =fc20/1, fc30/22, fc40/3, fc20/1;
output
@array2 =20/1, 30/22, 40/3, 20/1;
please advice.
Thanks
Sj
Hi Sj,
On Wed, 5 Sep 2012 14:33:13 +0100
jet speed speedj...@googlemail.com wrote:
Hi All,
i have an regx question. i have the array contents, now i want to
remove the first 2 characters (fc) of each element in the array and
store it in a second array ex: @array2
@array =fc20/1,
On Wed, 5 Sep 2012 14:33:13 +0100
jet speed speedj...@googlemail.com wrote:
Hi All,
i have an regx question. i have the array contents, now i want to
remove the first 2 characters (fc) of each element in the array and
store it in a second array ex: @array2
@array =fc20/1, fc30/22,
Hi Shawn,
thanks for your answer. See below for my response.
On Wed, 5 Sep 2012 09:54:11 -0400
Shawn H Corey shawnhco...@gmail.com wrote:
On Wed, 5 Sep 2012 14:33:13 +0100
jet speed speedj...@googlemail.com wrote:
Hi All,
i have an regx question. i have the array contents, now i want
Replying to myself, I have a correction which Shawn inspired.
On Wed, 5 Sep 2012 16:49:42 +0300
Shlomi Fish shlo...@shlomifish.org wrote:
Hi Sj,
On Wed, 5 Sep 2012 14:33:13 +0100
jet speed speedj...@googlemail.com wrote:
Hi All,
i have an regx question. i have the array contents,
2012/9/5 Irfan Sayed irfan_sayed2...@yahoo.com:
please find the attached .
what i am looking for is, need to destroy the window $mw1 once the text
entered in scrolled text window
i just want to destroy $mw1 and not entire application
please suggest .
Hello. I'm not expert neither in Perl
Irfan Sayed wrote:
please find the attached .
what i am looking for is, need to destroy the window $mw1 once the text
entered in scrolled text window
i just want to destroy $mw1 and not entire application
please suggest .
regards,
irfan
From:
Hi List,
I have a XML file which looks like as follows
ISProducts
StoreInfo
BSC id=AMIBRB1
ALPHA10/ALPHA
AMRCSFR3MODE1,3,4,7/AMRCSFR3MODE
AMRCSFR3THR12,16,21/AMRCSFR3THR
AMRCSFR3HYST2,3,3/AMRCSFR3HYST
AMRCSFR4MODE1,3,6,8/AMRCSFR4MODE
One thing forget to mention in the 2nd case I only able to print the value
of id after removing of *xn: *from the beginning of the line.NO print for
gci_sai and locationNumber .
On Wed, Sep 5, 2012 at 8:26 PM, Anirban Adhikary anirban.adhik...@gmail.com
wrote:
Hi List,
I have a XML file
On Sep 5, 2012, at 7:02 AM, Shlomi Fish wrote:
# remove the first 2 characters from every element of the array
my @array2 = map { s/^..//msx } @array1;
This code is wrong in two respects:
1. the map clause will return the return value of the s/// subtitution and
will modify
inside ssh tunnel (using Net::Openssh), a pty is opened.
then an exp object is init to this pty my $exp=Expect-init($pty);
using this object i am trying to run about quite a few commands on remote
system. I am using following method. It has two flaws: 1) does not work if
$exp-expect(5);
On 2012-09-05 12:47, jet speed wrote:
output
---
abc-12 20/1
def-22 30/22
ghi-33 40/3
def-22 20/1
@array1 =abc-12, def-22, ghi-33,abc-12,def-22;
@array2 =20/1, 30/22, 40/3, 20/1;
i did try to map array1 to array2 elements, did'nt work.
%hash = map {$array1[$_] = $array2[$_] }
Shlomi Fish wrote:
On Wed, 5 Sep 2012 14:33:13 +0100
jet speedspeedj...@googlemail.com wrote:
i have an regx question. i have the array contents, now i want to
remove the first 2 characters (fc) of each element in the array and
store it in a second array ex: @array2
@array =fc20/1, fc30/22,
Shlomi Fish wrote:
Replying to myself, I have a correction which Shawn inspired.
On Wed, 5 Sep 2012 16:49:42 +0300
Shlomi Fishshlo...@shlomifish.org wrote:
On Wed, 5 Sep 2012 14:33:13 +0100
jet speedspeedj...@googlemail.com wrote:
i have an regx question. i have the array contents, now i
Shlomi Fish wrote:
thanks for your answer. See below for my response.
On Wed, 5 Sep 2012 09:54:11 -0400
Shawn H Coreyshawnhco...@gmail.com wrote:
On Wed, 5 Sep 2012 14:33:13 +0100
jet speedspeedj...@googlemail.com wrote:
i have an regx question. i have the array contents, now i want to
Hello,
It has been six years since I have shifted into a new role from being
a systems administrator to being an IT auditor. It's been a while
since I've written my last perl script.
Now I'm back here again to get some help. Basically my job now
requires me to conduct audits on the information
20 matches
Mail list logo