Help for this page
use RTF::Writer; my $rtf = RTF::Writer->new_to_file("greetings.rtf"); my $foo = \$rtf; ... "Hi there!" ); ${$foo}->close;