in reply to Can't open Perl output from within Nautilus

Have you inspected the contents of the output? As I see it, this is not the problem of your script, but rather of "Nautilus". I haven't used Nautilus ever, so couldn't help you to set up a "capable viewer", but Google tells us that you need gedit. If that fails, try:

$ file /home/a/mail/yahoo/2512200317146
to see what kind of file you're dealing with.

HTH

--
b10m

Replies are listed 'Best First'.
Re: Re: file problem
by allolex (Curate) on Dec 25, 2003 at 16:18 UTC

    The code shows that the output is a mail file. :) I don't know if it was there when you posted.

    print OUTFILE2 "From: ", $from, "\n"; print OUTFILE2 "To: ", $to, "\n"; print OUTFILE2 "Subject: ", $subject, "\n"; print OUTFILE2 "Message body: ", "\n", $body, "\n";

    --
    Allolex