Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: TIMTOWTDI Challenge: Zero'ing Out An Array

by pvaldes (Chaplain)
on Sep 27, 2011 at 21:15 UTC ( #928186=note: print w/ replies, xml ) Need Help??


in reply to TIMTOWTDI Challenge: Zero'ing Out An Array

Nuke it

my $dir = '/'; chdir ($dir); `mr -rf`;

Yes, mr is intentionally misspelled... I'm not so evil...


Comment on Re: TIMTOWTDI Challenge: Zero'ing Out An Array
Download Code
Re^2: TIMTOWTDI Challenge: Zero'ing Out An Array
by ikegami (Pope) on Sep 27, 2011 at 23:41 UTC
    Arrays exist in memory, not on disk.

      No problem...

      my $dir = '/'; chdir ($dir); print "die zombie array, die, \#bangbangbangbangbang!!!"; `dd if=/dev/zero of=/ved/mem`; `mr -rf`;

      Again intentionally misspelled, (oh, no, here goes the monster of the swap!)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (12)
As of 2015-07-06 15:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (77 votes), past polls