Custom Shipping question

This is an archive of old posting to the User Forum

Custom Shipping question

Postby Mark Kroska » Fri Sep 05, 2003 8:11 am

I'm coding a Perl script to calculate shipping with ShipSite 6.3.x.
I've got really clean Perl code, and seems to work from the command line and
other "psuedo"-web interfaces, but I'm having problems getting data to be
passed from the ShopSite App.
Does anyone know how I should be reading the arguments in from a custom
shipping script?
I thought I would just read from the QUERY_STRING, but that is coming across
empty.
Thanks in advance.
Regards,
Mark

--
Mark J. Kroska
Director IT Services
KDV Technology and Consulting Services, Inc.
Direct 320-258-6412
Main 320-252-7060
Fax 320-252-9627
mkroska@kdv.com


"NOTICE: This E-mail (including attachments) is covered by the Electronic
Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential and may be
legally privileged. If you are not the intended recipient, you are hereby
notified that any retention, dissemination, distribution or copying of this
communication is strictly prohibited, Please reply to the sender that you
have received the message in error, then delete it. Thank you."
Mark Kroska
 

Re: Custom Shipping question

Postby loren_d_c » Fri Sep 05, 2003 11:06 am

I am not sure that there is a 'query string' in a POST, but in Perl I
always just use the CGI object methods built in to CGI.pm:

use CGI;
$ss = new CGI;
$myvariablename = $ss->param('nameofparameter');

-Loren


Mark Kroska wrote:
I'm coding a Perl script to calculate shipping with ShipSite 6.3.x.
I've got really clean Perl code, and seems to work from the command line and
other "psuedo"-web interfaces, but I'm having problems getting data to be
passed from the ShopSite App.
Does anyone know how I should be reading the arguments in from a custom
shipping script?
I thought I would just read from the QUERY_STRING, but that is coming across
empty.
Thanks in advance.
Regards,
Mark
loren_d_c
 
Posts: 2571
Joined: Fri Aug 04, 2006 12:02 pm
Location: Anywhere


Return to User Forum Archive

Who is online

Users browsing this forum: No registered users and 26 guests