with this text file:my $outputpage; open(TEMPLATE, "default_redirect.html") or die "can't open redirect page $!"; while( <TEMPLATE> ) { $outputpage .= <TEMPLATE>; } close(TEMPLATE);
but it is skipping the odd numbered lines any clue why?<head> <META HTTP-EQUIV="Refresh" CONTENT="1;URL="http://my_server.com/new_us +er.cgi?id=<var>ID</var>&template=index.shtml"> </head> <body> Enter appropriate school page here </body>
In reply to Reading in Text File and skipping lines by Angel
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |