Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

use console ?

Status
Not open for further replies.

NEVERSLEEP

Programmer
Apr 14, 2002
667
CA
im trying to get the 'dos buffer height' max
i have read C:\Perl\html\site\lib\Win32\Console.html
and dont seem do get it done...

what i am to achive is like this example
Code:
#!perlpath
$file; # lets say there is 3000 lignes in this file
open(FILE, "$file") || die "\ndead $!"; 
while (<FILE>) {
 print &quot;\n$_&quot;;
 # this is the line i wish*
 &pause if ($row_buffer == $full);
}
close(FILE) || die &quot;\ndead $!&quot;;
exit;
sub pause {while (! <STDIN>) {sleep;}}

so how could i do that ? ---------------------------------------
wmail.jpg


someone knowledge ends where
someone else knowledge starts
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top