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
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.