krkeegan has asked for the wisdom of the Perl Monks concerning the following question:
So I went and tried a php version that some else had created and it worked perfectly. The php version used fopen and fpassthru.elsif( ref $data eq 'IO::File' ) { my $block; while( $data->read($block, 1024) ) { print $block; } # Close file undef $data;
2004-11-25 Janitored by Arunbear - added code tags, as per Monastery guidelines
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Perl vs. PHP in streaming a file
by ikegami (Patriarch) on Nov 24, 2004 at 18:45 UTC | |
|
Re: Perl vs. PHP in streaming a file
by exussum0 (Vicar) on Nov 24, 2004 at 18:13 UTC | |
|
Re: Perl vs. PHP in streaming a file
by howie (Sexton) on Nov 24, 2004 at 18:54 UTC | |
by krkeegan (Novice) on Nov 24, 2004 at 21:12 UTC | |
by revdiablo (Prior) on Nov 24, 2004 at 21:47 UTC | |
by Ven'Tatsu (Deacon) on Nov 24, 2004 at 21:36 UTC | |
by superfrink (Curate) on Nov 25, 2004 at 05:15 UTC |