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

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1022388]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2017-09-26 02:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (291 votes). Check out past polls.

    Notices?