Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Dual constant files

by Tyke (Pilgrim)
on Mar 13, 2001 at 14:02 UTC ( #64095=note: print w/replies, xml ) Need Help??


in reply to Dual constant files

The way I tend to handle this sort of problem is to keep the constants stored in a single independent store (xml for example), and use that information to generate the constants file in both the Perl and Java systems as part of the build process.

You might have a look at the Text::Template module to help generate the appropriate files.

Failing that, the delegation suggestion is good too ;-)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://64095]
help
Chatterbox?
[holli]: the fricking beast will only eat dry food
[holli]: nothing else, not even minced meat or fish
[Discipulus]: see you nuns and monks!
[KurtZ]: mice?
[Discipulus]: your cat is dryarian holli
[holli]: not even remotely KurtZ. i did find feathers in the garden a few times though
[holli]: yet no body
[virtualsue]: I was called upon to remove a gnawed mouse carcass from the living room this morning

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (11)
As of 2017-11-21 12:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (300 votes). Check out past polls.

    Notices?