Setting Headers for Web Pages in Perl
There is an AIX 5.3 Box and there are some Perl scripts that generate web pages. We use them for monitoring of logs. But the perl script, let's name it "displayLogStatus.pl", that extracts some information such as "Failed", or "Completed" from specified log files doesn't refresh the page automatically.
In PHP I know how to refresh / reload a page after a specific time interval. For example this command in a web page: PHP Code:
How do we do that in Perl? |
Have you tried this:
Code:
#!/usr/bin/perl |
Refreshing a Web Page in Perl
Quote:
Okay, here it is as suggested by you: Code:
-bash-2.05b# cat sample.pl Code:
-bash-2.05b# cal > /tmp/sample.log We don't need to refresh the web page manually. It does it for us! So, what is your fee? :hattip: Haha!!! Thanks a lot! |
All times are GMT -5. The time now is 12:08 AM. |