Re: new here

2011-05-06 Thread Sandip Bhattacharya
On Fri, May 6, 2011 at 11:43 PM, wrote: > Can someone tell me, where is the fault, please? And for the case, there are > 80 data´s in the line, is there a shorter style to find & change them? > You showed a slash between the numbers but mentioned earlier that the numbers can be in any format in

Re: new here

2011-05-06 Thread Uri Guttman
> "TL" == Thomas Lingmann writes: TL> Hi, TL> try something like TL> my @str = ( TL> "test [0.4\\9.0]" TL> ); why the array for the data? if you had multiple tests, i can see that but you only show one of them TL> foreach (@str) { even in simple examples it is better to u

Re: new here

2011-05-06 Thread Thomas Lingmann
Hi, try something like my @str = ( "test [0.4\\9.0]" ); foreach (@str) { if ( ($leaf1, $leaf2) = $_ =~ m{ (\d+\.\d)\\(\d+\.\d) }x ) { print $leaf1, "\n"; print $leaf2, "\n"; } } -- Thomas * wolken.f...@web.de [06.05.2011 20:16]: &

Re: new here

2011-05-06 Thread Shawn H Corey
On 11-05-06 02:13 PM, wolken.f...@web.de wrote: if ($in =~ /(-?\d+\.\d)\(-?\d+\.\d)/) Try: if( $in =~ /(\d+\.\d+)\\(\d+\.\d+)/ ) You need two backslashes to match one. -- Just my 0.0002 million dollars worth, Shawn Confusion is the first step of understanding. Programming is as

new here

2011-05-06 Thread wolken . flug
Hi all, I´m new here and my English is not the best. However, I would like to get some help for my perl-problems. I want to write a script which is finding data´s like "0.1" or "46.7" in a string and declare them as variables, which are to be changed and wrote back. The st

RE: New Here and Needing Help

2002-06-04 Thread Langa Kentane
cing in as much detail as possible and you will get help. Ciao > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: 04 June 2002 09:45 AM > To: [EMAIL PROTECTED] > Subject: New Here and Needing Help > > > Hello Everyone! > > I am

Re: New Here and Needing Help

2002-06-04 Thread Felix Geerinckx
on Tue, 04 Jun 2002 07:44:51 GMT, [EMAIL PROTECTED] wrote: > I am trying to do some cgi scripts for my website, and I keep > getting the internal error message. If anyone can please help me > out, contact me and Ill give more details on the problem. That's not how a mailing list works. Post you

New Here and Needing Help

2002-06-04 Thread CJCManagement
Hello Everyone! I am trying to do some cgi scripts for my website, and I keep getting the internal error message. If anyone can please help me out, contact me and Ill give more details on the problem. Camilla J. Colburn CJC Management and Marketing Business Phone: 1-(256)-386-7175 Email A