Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

command line tools

by manishrathi (Beadle)
on Dec 29, 2009 at 07:04 UTC ( [id://814706]=perlquestion: print w/replies, xml ) Need Help??

manishrathi has asked for the wisdom of the Perl Monks concerning the following question:

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re: command line tools
by JadeNB (Chaplain) on Dec 29, 2009 at 07:59 UTC

    This really doesn't seem like a Perl question.

    An .exe file is a file in a format that Windows knows how to execute by itself. The original source may have been written in any language, but that source has to be compiled, and the .exe is the result of the compilation. It is not intended to be human-readable.

    On the other hand, a .pl file is human-readable (well, opinions differ :-) ), and Windows has no idea how to execute it directly. To run it, you have to call perl as a middle-man (or maybe it's done automatically by Windows on the basis of extensions?) to interpret it.

      maybe it's done automatically by Windows on the basis of extensions?

      It is a common mis-understanding that Windows (the operating system) does this, but it does not. File extension association has to be looked-up in the registry by whatever is launching the executable, i.e. the shell or application - Windows does not do it for us. See Win32::FetchCommand.
      In theory the .exe extension is not fixed and can be changed, as can all the other file extensions. It would confuse the hell out of everyone though.
Re: command line tools
by Anonymous Monk on Dec 29, 2009 at 07:23 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://814706]
Approved by planetscape
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2024-04-19 15:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found