J
JC
Hi.
I'm familiar with OOP, and I use it in VB, but I don't have that talent
in PERL. For example, I write a good bit of code, using syntax like:
if($FORM{'calculate_shipping'} eq "") {
&show_calc_shipping;
}
else {
$ship_data = &calc_shipping;
}
That's easy, but I don't understand the following:
$rateReqEl->setAttribute('USERID', 'xxxxxxxx');
$rateReqEl->setAttribute('PASSWORD', 'xxxxxxxx');
$rateReqDoc->appendChild($rateReqEl); $
Even my CGI book doesn't talk like that. Where's a good place to learn
this dialect? I need to interact with the USPS servers, and this is how
their documents tell me to query (using Perl XML parser and libwww-perl).
Thanks,
-jc
I'm familiar with OOP, and I use it in VB, but I don't have that talent
in PERL. For example, I write a good bit of code, using syntax like:
if($FORM{'calculate_shipping'} eq "") {
&show_calc_shipping;
}
else {
$ship_data = &calc_shipping;
}
That's easy, but I don't understand the following:
$rateReqEl->setAttribute('USERID', 'xxxxxxxx');
$rateReqEl->setAttribute('PASSWORD', 'xxxxxxxx');
$rateReqDoc->appendChild($rateReqEl); $
Even my CGI book doesn't talk like that. Where's a good place to learn
this dialect? I need to interact with the USPS servers, and this is how
their documents tell me to query (using Perl XML parser and libwww-perl).
Thanks,
-jc