Thank you
I have just uploaded a beta version of new G.pm to http://jenda.krynicky.cz/Beta/ and would like to ask people to try it out.
Changes from last version:
- The module no longer uses Win32::API. Under Windows it uses an XS part to get to the raw command line, on other systems it is just plain Perl using no modules except core ones.
- The module now not only tweaks @ARGV if asked to, but also exports the functions containing its functionality. These functions work fine on non-Windows systems as well, except for GetCommandLine() with is replaced by a stub.
- If the module is loaded due to "use G" statement it only does anything under Windows. If it's loaded by -MG in perl parameters or PERL5OPT it globs the params even under Unix. This may be handy if you need to start another script, need to glob the parameters and do not want to include shell in the process for security reasons.
Please let me know if you have any problems or if something works unlike you expect.
Thanks, Jenda
P.S.: If you use Windows & ActivePerl 6xx you may install the module by
ppm install --location=http://jenda.krynicky.cz/Beta G
Update: May I ask why did people downvote this node? I really wish I could see the list of people who downvoted a node so that I could ask them why.
P.P.S.: It's no longer beta. Install by
ppm install --location=http://jenda.krynicky.cz/perl G
-
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.
|