On Tuesday 05 June 2001 3:41 pm, Rich Fernandez wrote:
> > -Original Message-
> > From: Timothy Kimball [mailto:[EMAIL PROTECTED]]
> >
> > print STDOUT $query->header(
> > -type => "video/mpeg",
> > );
> >
> > open MOVIE, $vidfile or die "Couldn't open $vidfile: $!";
> > while ( read(
Rich Fernandez:
: Is there an advantage to using "read", as you did above, as opposed to
: just saying:
:
: while(){print;}
: close MOVIE;
:
: Or is it just a case of TMTOWTDI?
It's more efficient to read() binary files than to loop through them
with <>. "while (<...>)" is good for text fil
> -Original Message-
> From: Timothy Kimball [mailto:[EMAIL PROTECTED]]
> print STDOUT $query->header(
> -type => "video/mpeg",
> );
>
> open MOVIE, $vidfile or die "Couldn't open $vidfile: $!";
> while ( read(VIDFILE, $_, 100_000) ) { print STDOUT; }
> close MOVIE;
>
Thanks, thi
Rich Fernandez wrote:
: Thanks for your responses but
: I guess I wasn't clear enough with my original question. Sorry.
: Let me try again...
oops, sorry about that... didn't read your code fully.
: I _already_ have a link on my page that says
: http://gromit/cgi-bin/juggling.pl?video=rr.mpg>
:
Thanks for your responses but
I guess I wasn't clear enough with my original question. Sorry.
Let me try again...
I _already_ have a link on my page that says
http://gromit/cgi-bin/juggling.pl?video=rr.mpg>
Rubinstein's Revenge"
When this link is clicked, my script will parse the URL and determi