Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^2: Writing portable code

by McA (Priest)
on Mar 08, 2013 at 09:49 UTC ( #1022368=note: print w/ replies, xml ) Need Help??


in reply to Re: Writing portable code
in thread Writing portable code

...simple distribution of the script if you don't build full blown packages. Only a perl script.pl is needed when the script uses only core functionality. That is simple and lightweight. Am I wrong?

Best regards
McA


Comment on Re^2: Writing portable code
Download Code
Replies are listed 'Best First'.
Re^3: Writing portable code
by rovf (Priest) on Mar 08, 2013 at 09:56 UTC
    This *could* be a reason in general, but is not so important in my particular case.

    If the "platform dependent" subs would form a logical unit, which deserves being factored out to a module, this is what I would do.

    -- 
    Ronald Fischer <ynnor@mm.st>

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (4)
As of 2015-08-01 02:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (285 votes), past polls