Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Writing portable code

by BrowserUk (Patriarch)
on Mar 08, 2013 at 10:46 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1022388]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2024-03-29 06:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found