Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

Re: Is this a correct way of obtaining input from a file?

by myocom (Deacon)
on Aug 06, 2002 at 21:30 UTC ( #188171=note: print w/replies, xml ) Need Help??

in reply to Is this a correct way of obtaining input from a file?

I can do you one better, if (as it appears) you're trying to get information about a UPS package that's en route somewhere.

The Business::UPS module will allow you to query UPS and get back useful information. To quote from the POD:

#!/usr/local/bin/perl use Business:UPS; %t = UPStrack("z10192ixj29j39"); $t{error} and die "ERROR: $t{error}; print "This package is $t{'Current Status'}\n"; # 'Delivered' or # 'In-transit' print "More info:\n"; foreach $key (keys %t) { print "KEY: $key = $t{$key}\n"; }
"One word of warning: if you meet a bunch of Perl programmers on the bus or something, don't look them in the eye. They've been known to try to convert the young into Perl monks." - Frank Willison

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://188171]
[GotToBTru]: heh
[GotToBTru]: I
[GotToBTru]: ve been looking at a document we have been sending to a customer for years now
[MidLifeXis]: We don't, at least in this case ;-)
[GotToBTru]: and it includes a reference number that I didnt recognize
[GotToBTru]: I had to dig into the code to find out where it came from .. and it makes no sense
[GotToBTru]: so I emailed my contact asking if we could just stop sending it .. I'm afraid she is going to ask "what is that anyway?"
[MidLifeXis]: heh.

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (9)
As of 2017-01-20 19:04 GMT
Find Nodes?
    Voting Booth?
    Do you watch meteor showers?

    Results (176 votes). Check out past polls.