Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Calling mail_files script from Perl

Status
Not open for further replies.

tbohon

Programmer
Apr 20, 2000
293
0
0
US
I am working on an AIX v5 box and the SAs are unwilling to load any of the 'cool' Perl modules for me. What I need to do is send files to customers using an existing script called mail_files (it can be found at


Everything I've tried has failed ...

I've tried setting up the parameters as a list, using the 'system' command (which seems to me to be the most logical one to use) to call it directly ... nothing but errors.

So the question - has anyone ever used this particular script from within Perl (I use it all the time from the shell) to send attachments?

Thanks in advance as always.

Tom

"My mind is like a steel whatchamacallit ...
 
have you tried:

system('/bin/sh program_name');



------------------------------------------
- Kevin, perl coder unexceptional! [wiggle]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top