Luke,
It's impossible to say without knowing what your data looks like (what's the
value being returned by $FORM::F_totalsum)
If you can't rely on your data, you could have a look at this regex. It's in
it's own test suite for you :-).
#!perl -w
use strict;
foreach my $string ("123.23", "1
Your logic looks find, and works on my machine (although I made it command
line)
Try switching on warnings (#!/usr/local/bin/perl -w) and use strict (use
strict;)
Probably most likely is that you script can't read the file. You should
really always check if a file has been opened successfully yo