[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl] Newby with a complex problem



Hi,

I'm new to the list and new to MacPerl (or Perl all together).

I have come across a problem that I can't figure out.  I currently
administer a Unix Box for Web Services and all my CGI's are done in Perl.
One of the things I have to do is run a remote shell (not available in
MacPerl due to the lack of a command line).  Below is one of the commands I
need to run from within my Perl CGI's.

print (qx!echo
"$ENV{QUERY_STRING}&HTTP_COOKIE=$ENV{HTTP_COOKIE}&REMOTE_HOST=$ENV{REMOTE_HOST}&
$var" | remsh xxx.xxx.xxx.xxx -l test ./reserve > /tmp/test.$$!);

NOTE:  Numbers removed for security reasons...

My question is this.  Is there anyway this can be done in MacPerl (via
Sockets or something), and if so, can anyone give some tips or ideas on how
to do it?
B.J. Peterson 				   Helpdesk Support Specialist
Central Utah Educational Services	   (801) 896-9297     HelpDesk
545 West 100 North			   (801) 896-4767     Fax
Richfield, UT  84701			   mailto: bj.peterson@m.cues.k12.ut.us

***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch