Huub van Niekerk wrote: > Hi, > > I started getting this error after upgrading from Fedora 11 to 12. The > line of code hasn't been changed: > > open my $LPR, '|-', qw/lpr -PDeskJet940C/ or die "can't fork lpr: $!"; > > The error is: "Insecure $ENV{PATH} while running with -T switch at" > pointing at the line above. From articles on the net I understand it has > something to do with '|-', though I'm not sure. What can/should I do > about it?
Before your `open my $LPR ...` statement, please print out the contents of $ENV{PATH} and post it. Q: Is this a script you run, one run by cron(8), or a CGI? -- Just my 0.00000002 million dollars worth, Shawn Programming is as much about organization and communication as it is about coding. I like Perl; it's the only language where you can bless your thingy. -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/