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]: > Hi all, > > I´m new here and

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

RE: New Here and Needing Help

2002-06-04 Thread Langa Kentane
You will not get any help if you don't detail your problem on the list. Everyone here is a volunteer, if you think someone is going to run after you trying to find out what your problem is then you're wrong. Rather e-mail the list with details of what problem you're experiencing in as much detail

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