Re: subroutine simultaneousness

2008-02-18 Thread Chas. Owens
On Feb 18, 2008 11:17 AM, David Moreno <[EMAIL PROTECTED]> wrote: > > On Feb 17, 2008 3:48 PM, Rob Dixon <[EMAIL PROTECTED]> wrote: > > > use IO::Handle; > > STDOUT->autoflush; > > > > to the start of your program. > > > What's the difference from this to setting $| to true? snip In this speci

Re: subroutine simultaneousness

2008-02-18 Thread David Moreno
On Feb 17, 2008 3:48 PM, Rob Dixon <[EMAIL PROTECTED]> wrote: > use IO::Handle; > STDOUT->autoflush; > > to the start of your program. What's the difference from this to setting $| to true? -- David Moreno - http://www.damog.net/ Yes, you can.

Re: subroutine simultaneousness

2008-02-18 Thread MK
PROBLEM SOLVED on comp.lang.perl.tk: $MW->update; # whenever you want the screen updated On 02/18/2008 09:46:51 AM, MK wrote: okay, this is definitely a Tk or GUI issue, since incorporating a for real "print" (ie. to STDOUT) statement does come out in proper sequence. -- To unsubsc

Re: subroutine simultaneousness

2008-02-18 Thread MK
okay, this is definitely a Tk or GUI issue, since incorporating a for real "print" (ie. to STDOUT) statement does come out in proper sequence. Does anyone know if there is a filehandle other than STDOUT for tk requests? The simplest version of the problem: use IO::Handle; sub tmptest {

Re: subroutine simultaneousness

2008-02-17 Thread MK
On 02/17/2008 03:48:40 PM, Rob Dixon wrote: MK wrote: > I have a subroutine that begins with a message ("Processing...") and then proceeds to perform several gigs worth of file transfer via system calls. Basically: sub transfer { print "Processing...\n"; foreach $e (@array) {

Re: subroutine simultaneousness

2008-02-17 Thread John W. Krahn
MK wrote: I have a subroutine that begins with a message ("Processing...") and then proceeds to perform several gigs worth of file transfer via system calls. Basically: sub transfer { print "Processing...\n"; foreach $e (@array) { print "file $e\n"; system "cp $e"; #

Re: subroutine simultaneousness

2008-02-17 Thread Rob Dixon
MK wrote: > I have a subroutine that begins with a message ("Processing...") and then proceeds to perform several gigs worth of file transfer via system calls. Basically: sub transfer { print "Processing...\n"; foreach $e (@array) { print "file $e\n"; system "cp $e"; #