Sep 8, 2000, 5:51 AM
Post #2 of 2
Re: moving around the directory tree
[In reply to]
I would try something like this:
<BLOCKQUOTE><font size="1" face="Arial,Helvetica,sans serif">code:</font><HR>
$top = build MIME::Entity (From => 'email@example.com',
To => 'firstname.lastname@example.org',
Subject => "Photo of the Family",
Path => glob (./online_order/file.txt));
Had to fix code section. Nothing lined up.
In all the examples I have seen, it looks as
though the writers knew this would be used from a cgi-bin and based the path off the web root and not virtual with respect to where they are currently in the directory structure.
This is just a guess. If anyone has a more
definitive answer, I would like to hear it for my benefit as well.
[This message has been edited by fashimpaur (edited 09-08-2000).]