Ben Win Lue has asked for the wisdom of the Perl Monks concerning the following question:
I would like to read from an URL.
The naive Perl approach would be something like:
This doesn't work.open MYHANDLE "< www.perlmonks.com"; while(<MYHANDLE>){ print $_; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to read from an URL ?
by RazorbladeBidet (Friar) on Mar 31, 2005 at 15:28 UTC | |
|
Re: How to read from an URL ?
by ambs (Pilgrim) on Mar 31, 2005 at 16:32 UTC | |
by Ben Win Lue (Friar) on Apr 02, 2005 at 06:29 UTC | |
by Anonymous Monk on Apr 01, 2005 at 06:01 UTC | |
|
Re: How to read from an URL ?
by FitTrend (Pilgrim) on Mar 31, 2005 at 15:29 UTC | |
|
Re: How to read from an URL ?
by Tanktalus (Canon) on Mar 31, 2005 at 16:53 UTC | |
by itub (Priest) on Mar 31, 2005 at 19:38 UTC | |
by Ben Win Lue (Friar) on Apr 02, 2005 at 06:35 UTC | |
by itub (Priest) on Apr 02, 2005 at 16:25 UTC | |
by Ben Win Lue (Friar) on Apr 03, 2005 at 06:42 UTC | |
|
Re: How to read from an URL ?
by gam3 (Curate) on Mar 31, 2005 at 16:39 UTC | |
by ambs (Pilgrim) on Mar 31, 2005 at 16:41 UTC |