o2bwise has asked for the wisdom of the Perl Monks concerning the following question:
print <<GOOFY; <html> <head> <title> Chats </title> <script> function callrefresh(){ time=15; millisec = parseInt(time*1000); setTimeout('refresh()',millisec); } function refresh(){ this.location.href = "refresh.pl"; } </script> </head> <body bgcolor=dcdcdc onload=callrefresh();> GOOFY
sub chatOutput { print <<GOOFY; <html> <head> <title> Chats </title> <script> function callrefresh(){ time=15; millisec = parseInt(time*1000); setTimeout('refresh()',millisec); } function refresh(){ this.location.href = "refresh.pl"; } </script> </head> <body bgcolor=dcdcdc onload=callrefresh();> GOOFY }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: use of string terminator within a subroutine
by Joost (Canon) on Aug 03, 2005 at 15:20 UTC | |
by o2bwise (Scribe) on Aug 03, 2005 at 16:06 UTC | |
|
Re: use of string terminator within a subroutine
by davidrw (Prior) on Aug 03, 2005 at 15:20 UTC | |
|
Re: use of string terminator within a subroutine
by idsfa (Vicar) on Aug 03, 2005 at 15:20 UTC | |
|
Re: use of string terminator within a subroutine
by bobf (Monsignor) on Aug 03, 2005 at 16:01 UTC | |
|
Re: use of string terminator within a subroutine
by Anonymous Monk on Aug 03, 2005 at 16:25 UTC | |
| A reply falls below the community's threshold of quality. You may see it by logging in. |