Instead of system + redirection of output + reading text file, you could use backticks:
$text = `gethttp.exe http://www.blahblahblah.com"`;
But why don't you use the LWP library of modules instead of gethttp.exe. LWP comes with Perl and it's a tried and true way of getting web pages. LWP::Simple makes it extremely simple too.
use LWP::Simple;
$text = get("http://www.blahblahblah.com/")
or die(...);
If you want to split the text into lines:
@array = $text =~ /([^\n]*\n)/g;
In reply to Re: Problem Searching an array for a string... Please Help!
by ikegami
in thread Problem Searching an array for a string... Please Help!
by XehNib
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |