Beefy Boxes and Bandwidth Generously Provided by pair Networks vroom
laziness, impatience, and hubris
 
PerlMonks  

Re: Re: how to get spool info from NT

by physi (Friar)
on Jul 17, 2001 at 09:21 UTC ( [id://97273]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Re: how to get spool info from NT
in thread how to get spool info from NT

Ok, but it's not possible to do so in my case, cause there may be a lot of data on STDIN. So I can't read all the data to a variable.
I really need to know the size before the script is working with the data.

Cheers

----------------------------------- --the good, the bad and the physi-- -----------------------------------

Replies are listed 'Best First'.
Re: Re: Re: how to get spool info from NT
by clemburg (Curate) on Jul 17, 2001 at 09:29 UTC

    Well OK, then read the stuff piecewise and save to a file. You *will* have to handle the data some time, I suppose, so you have to read it anyway.

    Christian Lemburg
    Brainbench MVP for Perl
    http://www.brainbench.com

      Actually I only send the data via a socket to a unix-server and don't work with the data :-)
      I need the length of the stream for generating a task-bar to show the user, how many percent is allready done.

      ----------------------------------- --the good, the bad and the physi-- -----------------------------------

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://97273]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.