The source is available at http://svn.nurey.com/byob/trunk/perllib/Finance/Bank/
Please look at the pod at the bottom of Generic.pm. I am looking for
comments regarding the Finance::Bank::Generic API.
ilia.
Perhaps we should start with a, er, simple starting place,
namespacing.
I'd like to suggest a simple standard that banking modules are named
Finance::Bank::CC::BankName, since just Finance::Bank::BankName would
tend to create duplicate banknames. (I can think of several
"PostBank"s, for example, at least a Norisbank and a Norrisbank, and I
would be unsurprised if there are several banks called PC.) Sadly,
even that isn't so simple. In addition to the large number of
existing Finance::Bank modules that don't fit that scheme, there are
some banks that don't have a clearly identifiable home country.
Dispite having seen many ads for HSBC, for example, I'd have to check
wikipedia to know where to look for them (in fact, even afterwords,
good arguments could be made for GB or HK).
So, even that isn't all that simple.
In any case, it seems that while ::Generic makes a good base class for
those two banks, its API isn't terribly well-documented from a user
standpoint. Please, give documentation of the *user* API you'd like
to see supported, so we can poke holes in it. ;)
-=- James Mastros
Just another Finance::Bank hacker
I can see how adding country code to the module name would be helpful,
but what if there's a transnational bank?
I suggest the first come first served approach. Use the best available
name for your bank module. If there's a clash, then add the country
code.
As for Finance::Bank::Generic I agree my pod is lacking. I will work
on adding more docs. Stay tuned.
ilia.