Hopefully this is simple, but once again my expression matching is getting the best of me.
The setup is a java applet that uses POST to submit a
value to my cgi/perl script.
The submit is doing this when I run ethereal against it
sliderVal=-8.00 .. This is correct since I'm using a slider to have the user submit the value. However all I need is an expression statement to only get the -8.00 out of the POST.
I've tried things like this.. it all works up to the
my line
$chng=<STDIN>;
chomp $chng;
my($new_chng) = $chng =~ /(\d\d\d+)/;
But as you can see that isnt getting the -8.00 value, please note that the -8.00 is only an example. I have it setup to take from -8.00 to 8.00 in increments on .01.
Anyhelp would be great and once again ..thanks in advance
info
The setup is a java applet that uses POST to submit a
value to my cgi/perl script.
The submit is doing this when I run ethereal against it
sliderVal=-8.00 .. This is correct since I'm using a slider to have the user submit the value. However all I need is an expression statement to only get the -8.00 out of the POST.
I've tried things like this.. it all works up to the
my line
$chng=<STDIN>;
chomp $chng;
my($new_chng) = $chng =~ /(\d\d\d+)/;
But as you can see that isnt getting the -8.00 value, please note that the -8.00 is only an example. I have it setup to take from -8.00 to 8.00 in increments on .01.
Anyhelp would be great and once again ..thanks in advance
info