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

Re: Writing portable code

by BrowserUk (Pope)
on Mar 08, 2013 at 10:46 UTC ( #1022388=note: print w/ replies, xml ) Need Help??

in reply to Writing portable code

The last approach seems to me the most elegant, but ... I would need 3 files).

You might look into AutoSplit and AutoLoader.

Not used much these days, but they seem ideally placed to address your "one file -- only compile the bits I need" requirement.

With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

Comment on Re: Writing portable code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (8)
As of 2015-11-25 00:59 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (666 votes), past polls