Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

Yet another fallacious conclusion draw on the basis of a near complete misunderstanding of random, irrelevant information found on the web.

The path is always used to locate an executable when a process is started, regardless of whether it is started by the command line, the shell, or another application. Unless it's name is prefixed by the full pathname, just as in *nix.

The path is also used to locate dynamic libraries, com objects, device drivers; font libraries and a bunch of other things.

The only time associations come into play is when the system is asked to locate an appropriate executable to process a named data file. A perl (or other interpreter) source file is just a data file for the interpreter executable.

The associations mechanism is just a convenience to allow you to have the system find an appropriate executable to process a given data file. As such, it mirrors the function of the *nix shebang mechanism, but is more flexible because it works with any type of data file--graphics files; music files; video files; whatever.

You cannot go stuffing a shebang line on the front of any of those file types, hence the reason linux, OS-X, and probably others, have adopted similar mechanisms based around Mime-types.

You even misinterpreted the random page you found and linked to. In a nutshell it simply says that if you screw up configuration, things go wrong. And that's true whether that configuration is stored in Windows registry, or *nix's myriad small text files strewn about all over the file system(s). If users don't follow safe working practices (backups) when modifying configuration through either mechanism, they can break things. What's new.

Was it worth your effort?


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.

In reply to Re^2: installing strawberry and activeperl by BrowserUk
in thread installing strawberry and activeperl by targetsmart

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 pondering the Monastery: (5)
As of 2024-04-20 00:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found