----- Original Message ----- From: "Jonathan Paton" <[EMAIL PROTECTED]> To: "John" <[EMAIL PROTECTED]>; "Perl Beginners" <[EMAIL PROTECTED]> Sent: Saturday, December 18, 2004 9:31 PM Subject: Re: trying to chroot perl and its modules
> > Well, i am trying to figure out what i have forgotten to copy into > > the chroot jail. Why should my experiment not work? I cannot > > see any reason of not working. > > My mistake, reading again I find your script is called "mail.pl". > > The problem is disguised by Mime::Lite, as the actual file is not > mentioned. If you have enough experience then you could hunt > through the Mime::Lite source code to narrow down the problem. > > I had a peek at the sources, but I feel it could take me 30 - 90 minutes > to find the problem. A guess is that one of the modules used > relies on a temporary directory. Debugging this would be too much > like work, maybe someone else would be interested. Sorry. > > Jonathan Paton > > -- > #!perl > $J=' 'x25 ;for (qq< 1+10 9+14 5-10 50-9 7+13 2-18 6+13 > 17+6 02+1 2-10 00+4 00+8 3-13 3+12 01-5 2-10 01+1 03+4 > 00+4 00+8 1-21 01+1 00+5 01-7 >=~/ \S\S \S\S /gx) {m/( > \d+) (.+) /x,, vec$ J,$p +=$2 ,8,= $c+= +$1} warn $J,, > Well ,my chroot jail involves the /tmp dir. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>