I'm trying to write a script that opens a file, then matches some
characters, and then writes the output to an HTML file on the fly.
Everything works except I also want to timestamp a file with touch
in the same perl script and that doesn't work. Touch is active as I
can 'touch' the file on th
Thanks for pointing me in a better direction. I used this ...
> $now = time;
> utime $now, $now, @files; # sets access and modification time
... and expanded it to this ...
$now = time;
print $now;
@meters = ("test0612d.shtml");
foreach $file (@meters) {
utime $now, $now, $fil
I have an array ... @effort. I want to match the first instance
of /AbC/ in @effort and push that element into a new array
@newarray.
Immediately after that, I want to match the first instance of
/ZyX[andall13charactersfollowingZyX]{anddontmatchanymoreZyX}/
in @effort and push that element i
On 24 Jul 2001, at 15:35, Wagner-David wrote:
> Do you have what data looks like or some code? It is unclear to me
> what you are doing with the ZyX test.
>
> Wags ;)
I'm hoping to match /ZyX/ once only push it into @newarray.
Then repeat: match /AbC/; match /ZyX/ once only ...
Then repeat: mat
I have a project where I have to run a job "on demand" on
another box. Since I can telnet into that box from the server
I'm running my Perl scripts on, I'd like to write a script that
would telnet into that box.
But I think my problem would be adding whatever symbol
to the end of my login ID t
I have a script that has to traverse a path to get to a file to open
it. I do not own that file but the permissions are set to 644, so
I should be able to open it with my script. When I run the
script with the web browser, I get "No such file or directory".
But when I run the script from the c