Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^3: Blessing with unknown classnames

by Discipulus (Canon)
on Apr 02, 2021 at 07:45 UTC ( [id://11130709]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    perl -we "sub mem{system qq(tasklist /FI \"PID eq $$\"|findstr perl)};
    + mem();bless {}, qq(A$_) for 1 .. 1000000;mem()"
    
    perl.exe                     29356 Console                    1      6
    +.616 K
    perl.exe                     29356 Console                    1  1.353
    +.656 K
    
  2. or download this
    perl -we 'sub mem{system qq(cat /proc/$$/status | grep ^VmSize)}; mem(
    +);bless {}, qq(A$_) for 1 .. 1000000;mem()'
    
    VmSize:       23768 kB
    VmSize:     1234168 kB
    
  3. or download this
    
    perl -MDevel::Symdump -e "bless {},'notexisting';print Devel::Symdump-
    +>new('noexisting')->as_string"
    ...
    
    unknowns
    
  4. or download this
    use strict;
    use warnings;
    ...
    
    HASH %nonexistent:: = ( AUTOLOAD=>'*nonexistent::AUTOLOAD', )
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2024-03-28 17:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found