To be frank patch the perl add:
and you are done. This is fast and will work, provided the existing code does. If you have a deadline this is the easy way. The short way. It is also the perl way and this is after all a perl site.$final = s/[^\d.]//g
Your question is a completely javascript one. In a nutshell many of the elements rendered by the browser are considered objects. You can access the properties of these objects and both read and write to them in javascript just by naming them and assigning/reading a value. For example this javascript will redirect you to a new page:
window.location.href="foo.htm"
I hope you make your deadline but think patching the perl will be quicker and easier.
cheers
tachyon
s&&rsenoyhcatreve&&&s&n\w+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print
In reply to Re: making perl scripts play nicely together
by tachyon
in thread making perl scripts play nicely together
by strfry()
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |