New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chaining multiple commands in a perl 'open' call #1017
Comments
From sysmwd@detir.qld.gov.aufor some reason you can not chain multiple commands inside an 'open' sub details: OS - Solaris 2.7 Apache/CGI enviroment - Apache/1.3.9 (Unix) mod_perl/1.21 mod_ssl/2.4.8 OpenSSL/0.9.4 ok this DOES NOT work my open(MAILER_INPUT, ">$tmpfile") || warn; print MAILER_INPUT <<"EOF"; and here is the user message EOF close(MAILER_INPUT); open(MAILER, "$mailer < $tmpfile|") || warn; and this DOES work my $mailer = "/usr/lib/sendmail -t"; print MAILER_INPUT <<"EOF"; and here is the user message EOF open(MAILER, "|$mailer") || warn; what is it so?? buggered if I know what the problem is and it ainst this is actually the second script I've had to fix up. The first was the -- "It's funny how, money allows, all to browse and be endowed" |
@cwest - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#1968 (status was 'resolved')
Searchable as RT1968$
The text was updated successfully, but these errors were encountered: