In the last episode (Dec 23), Matt Young said:
> My sql command pipes its result to a perl program (in batch mode) .
> but the perl program has no waf to tell when the query is finished.
> HTTP uses a blank line to signal the end. but there is no such thing
> for mysql.
If you are doing something like "mysql -e 'select * from mytable' |
perlprogram", just check for end-of-file.
--
Dan Nelson
[EMAIL PROTECTED]
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php