#!/usr/bin/perl -w use strict; my $file = 'temp.html'; open HTML, ">$file" or die "Damn: $file $!"; print HTML "<html><body>\n"; print HTML "<B> $_ </B>" while <>; print HTML "\n</body></html>\n"; close HTML or die $!; # close(STDIN); # links breaks if I close it explicitly die "System command failed $_" if system('links', $file) == -1;
In reply to Re: system function problem
by lidden
in thread system function problem
by sk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |