Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
Are these settings really complied into the executable?

On Windows, they aren't, because on Windows, it's possible for an executable to find out where its file lives. Perl uses that capability of Windows to populate its @INC.

Are these hidden paths part of what makes compliling Perl modules painful in windows? (testing with Glib and GTK indicate yes!)

These are the same hidden paths that make compiling libraries painful everywhere. You need to set up $ENV{INCLUDE} and $ENV{LIB} correctly. For Strawberry 5.10.0, I attach the path.cmd file I use to set up the environment for it below.

I think I've made a flash drive with a portable Perl installation ...which totally subverts a Windows PC's own Perl installation...

Which is how I manage the various versions of Perl I have on various machines too. Every Perl directory has a path.cmd which sets up the environment so that perl.exe is the "correct" Perl for that application and all other tools are also the correct versions. I use different versions of Perl for historical reasons, mostly because the applications using it Just Work and I don't want to invest the time to consolidate them all to a single Perl.

set BASE=%~dp0 path %BASE%perl\bin;%BASE%c\bin;%PATH% set INCLUDE=%BASE%c\include;%INCLUDE% set LIB=%BASE%c\lib;%LIB%

In reply to Re: RFC: Changing Perl Config settings by Corion
in thread Changing Perl Config settings by Bloodrage

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2024-04-26 02:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found