Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

comment on

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

The first two are CORE capabilities since perl5.003_07. Sorry to sound harsh, but whining that you cannot install from CPAN is bullshit, that is repeated over and over and over again with all possible workarounds here on PM.

Nagging about startup time might be true for Config::Perl::V, which does quite a bit more than we'd love to just to be able to get the info (not true anymore on perl-5.18, where that info is available directly from CORE, as is Config::Perl::V). The extra time you see is the dumper time, which was just used to show you the content. Try again with just accessing the data required and you will see a considerable speedup. IMHO all those speeds are just noise in the complete picture, but I do not want to compare apples and pears.

Nagging about Config is just trying to find sand to throw into the engine. You have no idea how many modules use Config, so it will be loaded anyway sooner or later.

$ find 5.18.0 -name \*.pm | xargs grep -wl 'use Config' | wc -l 57 $ find site_perl/5.18.0 -name \*.pm | xargs grep -wl 'use Config' | wc + -l 107 $ corelist Config Config::Perl::V Data for 2013-08-20 Config was first released with perl 5.00307 Data for 2013-08-20 Config::Perl::V was first released with perl v5.17.9 $ time perl -V:ptrsize ptrsize='4'; 0.005u 0.003s 0:00.00 0.0% 0+0k 0+0io 0pf+0w $ time perl -MConfig -wE'say $Config{ptrsize}' 4 0.001u 0.005s 0:00.00 0.0% 0+0k 0+0io 0pf+0w $ time perl -MConfig::Perl::V -wE'say Config::Perl::V::myconfig ()->{c +onfig}{ptrsize}' 4 0.007u 0.002s 0:00.00 0.0% 0+0k 0+0io 0pf+0w

Enjoy, Have FUN! H.Merijn

In reply to Re^4: I need to know if 32-bit or 64-bit perl is running my script. by Tux
in thread I need to know if 32-bit or 64-bit perl is running my script. by Anonymous Monk

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 making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2024-03-29 01:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found