rob_smith01 has asked for the wisdom of the Perl Monks concerning the following question:

Does anyone have any indepth knowledge of the unix fax command as iam implementing it into my perl script. I have tried efax etc but the options are limited to the reuiremnts within my script. However if any of you read my first question, thanks for the replies, got it sorted with a little though and endless early morning programing.

Update Masem 2001-07-11 - Changed title from '- Fax'

Replies are listed 'Best First'.
Re: - Fax
by bikeNomad (Priest) on Jul 11, 2001 at 18:23 UTC
    my $phoneNumber = "867-5309"; my $fileName = "jenny.txt"; open FH, ">$fileName" or die "can't open $fileName: $!\n"; print FH <<EOF Jenny Jenny who can I turn to You give me something I can hold on to I know you'll think I'm like the others before Who saw your name and number on the wall EOF; close FH; system("fax send $phoneNumber $fileName") and die "fax error: $?\n";
Re: - Fax
by scain (Curate) on Jul 11, 2001 at 18:22 UTC
    rob,

    Can you ask a more specific question? I just read the man page on fax(1) and it seems fairly straight forward. What is giving you problems?

    Scott

    A reply falls below the community's threshold of quality. You may see it by logging in.