I'm still fairly new to javascript, so forgive my ignorance, but I need to know the following:
I have a function in the heading of an html page that sets the value of a variable. I'd like to use this variable in the body of the page, but from what I can tell a variable set in a function is only...
I need validate that a form field does not begin with a number.
In Perl this would be something like:
variable =~ /^\d/
The code will be similar to this:
if ([field begins with number code])
{
alert("Field cannot begin with a number.");
theForm.field.focus();
return...
I'm running perl on Windows NT. I need to do a DOS command within one of my scripts. I thought the system command would work for this, but apparently I'm not using the correct syntax... The command I need to run is:
rmtcmd call pgm(library/program) systemname /z
I haven't gotten any errors so...
I'm calling a perl script on an NT machine that should FTP a file from a folder on the IFS to a library on the AS/400.
I'm new to perl so any help is appreciated.
use Net::FTP;
$hostname = 'host';
$username = 'user';
$password = 'password';
$file = 'path/file.txt';
$remote =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.