in reply to Can't locate object method "autoflush"

This may be an obvious question, but is your perl complete? The error is complaining about FileHandle::autoflush, which should be there via inheritance from IO:Handle. Does the following work, or does it give you the same error?

#!/bin/perl -w use strict; use FileHandle; FileHandle::autoflush STDOUT 1;