This is what I see in Installer.bat, if (Win32::IsWinNT() && Win32::IsAdminUser()) {
# XXX This could be done on Win9X by direct registry hacking
print "\n";
$create_file_association = yes("Create Perl file extension associa
+tion?", 1);
print "\n";
$create_perl_mapping = yes("Create IIS script mapping for Perl?",
+1);
print "\n";
$create_isapi_mapping = yes("Create IIS script mapping for Perl IS
+API?", 1);
}
Then later
create_file_association() if $create_file_association;
sub create_file_association
{
# Don't leave a space between 'Perl' and '>nul'.
# See http://bugs.activestate.com/show_bug.cgi?id=68656
system("assoc .pl=Perl>nul") == 0
or warn "Could not create .pl file type association\n";
system(qq(ftype Perl="$perl" "%1" %* >nul)) == 0
or warn "Could not define command to run .pl files\n";
}
-
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.
|