Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^5: Locator to Lat/Long code: works, but is inelegant

by Anonymous Monk
on Jul 03, 2011 at 23:05 UTC ( #912576=note: print w/replies, xml ) Need Help??


in reply to Re^4: Locator to Lat/Long code: works, but is inelegant
in thread Locator to Lat/Long code: works, but is inelegant

Defining a sub also "declares" it

Except when it declares it too-late for the parser to notice

The OP uses parens, so the parser doesn't need a "forward" declaration or re-arranging of sourcecode

  • Comment on Re^5: Locator to Lat/Long code: works, but is inelegant

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://912576]
help
Chatterbox?
[Corion]: Hmmm. I feel a Meditation coming on. I wrote a module, DBIx::PivotQuery, which returns a table-like set of rows (AoA) but some columns are generated from column values, like in an (Excel) pivot table or a ROLLUP command
[Corion]: My current approach for subtotals involves rerunning the given query, with the hint to the user that they should use a temporary table if they want better performance.

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (9)
As of 2017-02-23 15:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (347 votes). Check out past polls.