in reply to Re^2: Redirect HTML::TreeBuilder to file
in thread Redirect HTML::TreeBuilder to file
Rather than just copy/paste stuff without understanding take a look at open and print. You've copied an example you were given which writes the string "This will be printed to the file", to the file... you know the line you commented out prints what you want to the screen.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Redirect HTML::TreeBuilder to file
by TonyNY (Beadle) on Sep 25, 2018 at 13:39 UTC | |
by marto (Cardinal) on Sep 25, 2018 at 13:51 UTC |