in reply to Re: MIME::Lite and attachments
in thread MIME::Lite and attachments

Well, for yuks, I set everything to chmod 777 and still no joy.


—Brad
"The important work of moving the world forward does not wait to be done by perfect men." George Eliot

Replies are listed 'Best First'.
Re^3: MIME::Lite and attachments
by Joost (Canon) on May 24, 2007 at 22:13 UTC

      Well, it didn't like the -e' or the -r, but

      perl -e print "/usr/home/account/files/test.gif"

      returned nothing.

      Update: Per shmem's fine correction, a "1" is returned. I assume that is "true" and that my path is fine.


      —Brad
      "The important work of moving the world forward does not wait to be done by perfect men." George Eliot
        That returns nothing because you're not quoting your -e script... so your -e script consists of an empty print statement, and the filename is an argument to that script. Try
        perl -e 'print -r "/usr/home/account/files/test.gif"'

        That should print a '1' just before the next shell prompt.

        --shmem

        _($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                                      /\_¯/(q    /
        ----------------------------  \__(m.====·.(_("always off the crowd"))."·
        ");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}