[tpm] Making IO::Handle objects "hot"

Digimer linux at alteeve.com
Fri Nov 19 22:28:06 PST 2010


I've got a program that calls 'yum install ...'. I've set my stdout to 
hot ($|=1;), but there is no output at all during the package download 
stage. I am not entirely convinced that this is a problem with 
IO::Handle's object being hot though, as when I do finally get output, 
it starts after the download stage.

So if this is a buffering issue, how could I turn it off? If it's that 
'yum' is writing the download info to somewhere else, how could I 
capture that inside perl?

Thanks!

-- 
Digimer
E-Mail: digimer at alteeve.com
AN!Whitepapers: http://alteeve.com
Node Assassin:  http://nodeassassin.org


More information about the toronto-pm mailing list