Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Re: Re: Discussion on Tracking Orders

by arthas (Hermit)
on Jun 03, 2003 at 15:19 UTC ( [id://262685]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Discussion on Tracking Orders
in thread Discussion on Tracking Orders

You have a couple of choices.

You can, as per phydeauxarff suggestion, modify your database so that, when entering tracking numbers, you also specify the carrier which they belong to. For instance, when you enter a code such as GE732387457WW (invented) you assign it manually to TNT.

As an alternative, you can just enter the tracking numbers and have your software determine which carrier they belong to. Just to stay with TNT, you know that a number which satisfies the regex:

/^GE\d{9}WW$/

is theirs. You can do the same for other carriers. If you choose this way, remeber that some carriers (i.e. UPS) have more that one format for their tracking numbers.

Michele.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://262685]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2024-04-16 11:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found