in reply to Re^2: Dealing with huge text string
in thread Dealing with huge text string
Now open the newly made file using your method... Try:use LWP::UserAgent; open($F, '>:utf8' , 'wide-chars-example.html'); $url = 'http://www.w3schools.com/tags/ref_symbols.asp'; $html = LWP::UserAgent->new()->get($url)->content; print $F $html;
You'll get an interesting surprise!your_method: { local $/ = 2; #open 'wide-chars-example.html', process the 'records' }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Dealing with huge text string
by BrowserUk (Patriarch) on Mar 29, 2008 at 09:15 UTC |