Re: need help

2010-06-21 Thread Chaitanya Yanamadala
i have done it this way, but i need some other way using a module, $outputfile=shift; open(MYINPUT, "$outputfile"); # open for input my(@lines1) = ; # read file into list my $value=5; foreach $line_new (@lines1) # loop thru list { if ($line_new =~ /a/) { my ($value) = $line_new =~

Re: No paths in Test-Harness-3.21.tar

2010-06-21 Thread Steve Bertrand
On 2010.06.21 18:22, Bob McConnell wrote: > After a little more digging, and trying your suggestion to try from > Linux, I have determined that the directory information in the new tar > files is being put into the prefix field of the header. But apparently > the older versions of tar (and WinZIP)

RE: No paths in Test-Harness-3.21.tar

2010-06-21 Thread Bob McConnell
From: Bob McConnell > From: Uri Guttman >>> "BM" == Bob McConnell writes: >> >> BM> Looking at the two tar files with a binary viewer after uncompressing >> BM> them through gzip, I see several differences, but other than the >> BM> obvious, I don't know which are significant. The obvio

Re: No paths in Test-Harness-3.21.tar

2010-06-21 Thread Uri Guttman
> "BM" == Bob McConnell writes: BM> I have posted the question on the Camelbox forum, but have not yet BM> received any response. I don't know where to take CPAN problems, BM> since I have never had any before. After reading what I can find BM> of the tar format, I think the utility u

RE: No paths in Test-Harness-3.21.tar

2010-06-21 Thread Bob McConnell
From: Uri Guttman >> "BM" == Bob McConnell writes: > > BM> Looking at the two tar files with a binary viewer after uncompressing > BM> them through gzip, I see several differences, but other than the > BM> obvious, I don't know which are significant. The obvious difference is > BM> that

Re: No paths in Test-Harness-3.21.tar

2010-06-21 Thread Uri Guttman
> "BM" == Bob McConnell writes: BM> Looking at the two tar files with a binary viewer after uncompressing BM> them through gzip, I see several differences, but other than the BM> obvious, I don't know which are significant. The obvious difference is BM> that the tar file headers for 3

RE: No paths in Test-Harness-3.21.tar

2010-06-21 Thread Bob McConnell
From: Uri Guttman >> "BM" == Bob McConnell writes: > BM> Yes, that was all one line. Lookout doesn't give me any options to > BM> prevent it from wrapping. Microsoft _always_ believe they know what's > BM> best for you. > > so don't use outhouse for mail. simple! Not my choice. It is de

Re: muralis module

2010-06-21 Thread Jakub Safar
All right, thanks for the help everyone. Jakub On Sun, Jun 20, 2010 at 11:40 PM, Erez Schatz wrote: > For a windows machine, I'd actually recommend a non-perl solution, > called autoit, available here > http://www.autoitscript.com/autoit3/index.shtml. It's a > Windows-oriented scripting languag

RE: store and edit perl hash data

2010-06-21 Thread Bob McConnell
From: Uri Guttman >> "pp" == philge philip writes: > > pp> is it possible to change values of my hash "%position_counts" > pp> stored in the file without retrieving it back using "fd_retrieve"? > > pp> if its not possible can you tell me how to store a huge hash data > pp> to a file or d

Re: split ',' sometimes

2010-06-21 Thread C.DeRykus
On Jun 21, 3:30 am, chas.ow...@gmail.com ("Chas. Owens") wrote: > On Sun, Jun 20, 2010 at 20:49, C.DeRykus wrote: > > On Jun 19, 5:07 pm, stu21...@lycos.com wrote: > >> I have some text that specifies inherited runners in baseball: > > >>  'Hughes, D 2-0, O'Flaherty 2-0, Moylan 1-1' > > >> I want

Re: split ',' sometimes

2010-06-21 Thread Chas. Owens
On Sun, Jun 20, 2010 at 20:49, C.DeRykus wrote: > On Jun 19, 5:07 pm, stu21...@lycos.com wrote: >> I have some text that specifies inherited runners in baseball: >> >>  'Hughes, D 2-0, O'Flaherty 2-0, Moylan 1-1' >> >> I want to split on the comma and associate the numbers with that player.  The >

need help

2010-06-21 Thread Chaitanya Yanamadala
Hai I have a small query regarding to xml reading and writng.. i have an xml like this hello now i need to add a new attribute to node a. can any one help me how to do it.. Chaitanya

Re: changing SAS proc format to if-then-else

2010-06-21 Thread Bob goolsby
This is PERL-beginners. For answering questions about the **Perl** language. SAS was an interesting experiment twenty years ago. B On Sun, Jun 20, 2010 at 4:42 PM, papu wrote: > Hi All, > > I would like to change SAS proc format to if-then-else statements. Can > someone guid me? Thanks. > > >

Re: split ',' sometimes

2010-06-21 Thread C.DeRykus
On Jun 19, 5:07 pm, stu21...@lycos.com wrote: > I have some text that specifies inherited runners in baseball: > >  'Hughes, D 2-0, O'Flaherty 2-0, Moylan 1-1' > > I want to split on the comma and associate the numbers with that player.  The > problem is that sometimes the player's first initial is

changing SAS proc format to if-then-else

2010-06-21 Thread papu
Hi All, I would like to change SAS proc format to if-then-else statements. Can someone guid me? Thanks. /*old file*/ %let _V0= var1; /* xnbntl75_n */ %let _V1= var2; /* pct_pay_bal_cyc_1 */ proc format; value V_0_f/* var1 */ 0 -< 1

Re: sorting DB_File hash data

2010-06-21 Thread C.DeRykus
On Jun 20, 1:39 am, philg...@yahoo.com (philge philip) wrote: > hi > > can someone tell me how i can sort by keys from a hash (huge data) stored in > a DB_File? > You might try a merge-sort - check CPAN. Another possibility: re-write the existing DB_File to use a DB_Tree format which by default