It's possibly worth mentioning (should you ever wish to transfer to a
different machine) that not all of these variables have the same name under
all web servers on all platforms.
Some web servers hide system environment variables from cgi scripts for
security reasons.
Some web servers prefix t
Kan,
Are you sure $get is set ?
Maybe it's interpreting the expression as 'head -n $Alarm_File'. Running
with perl -w should tell you whether $get is not initialised at that time,
but won't tell you if it's eq "".
Regards,
Tim
- Original Message -
From: "Kan, Yu-Ting" <[EMAIL PROTECTE
The only place I know of where this can be done uses an INPUT tag with a
type of 'file'.
They have some JavaScript in the page which does something fancy with '/'
and '\' characters in their form field which holds the filename.
I don't want to cut/paste their HTML source as it's a commercial si
Terry,
You can grab each line and use pattern or substr operations.
eg:-
> positions 5-10, 50-100, and 280-300 in each line
replacing '## What would go here??' with:-
/.{4}(.{6}).{39}.({51}).{179}(.{21})/ && do {
@fields = ($1,$2,$3);
};
to give $fields[0] = positions 5-10 ...
or with:-
$f
Joris,
I'm not sure whether you're asking the right people but I'd think the best
place for this is in JavaScript.
In your frame:
Should do the trick. The problem is that when reloading the frame the server
has no concept of the fact that it is a frame and therefore it can't really
return anyt
Here's a script I use to find large files with the same name for pruning
purposes :-
See the if in the wanted() sub. Here it just adds both names+paths to the
output if it's seen the file of the same name previously. It should be
relatively easy to adjust it to product a count ...
if (exi
Has anyone managed to get ActivePerl talking to OutlookExpress atall ?
I'd like to be able to grab some messages from the inbox which have a
particular sender and subject and present an auto-forward message allowing
me to manually specify a recipient and a brief note and click 'Send'.
At the mo