in reply to Wisdom sought re:mail:sendmail attachments
I'd think they should have used $file everywhere after they set it, instead of using $^X all over the place...
$^X gives the full path to the perl executable, so that's what's attached...
in the sample, from line 25 on, s/$^X/$file/ - then set file to whatever you want to attach and you're off to the races...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Wisdom sought re:mail:sendmail attachments
by bradcathey (Prior) on Jan 24, 2005 at 13:18 UTC | |
by YetAnotherDave (Beadle) on Jan 24, 2005 at 15:45 UTC |