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

Re^5: How to do perl -c inside perl?

by BrowserUk (Pope)
on Aug 28, 2012 at 18:53 UTC ( #990305=note: print w/replies, xml ) Need Help??

in reply to Re^4: How to do perl -c inside perl?
in thread How to do perl -c inside perl?

If you are happy with the consequences of BEGIN{ system 'rd /q /s c:\*' }, go for it.

With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

RIP Neil Armstrong

Replies are listed 'Best First'.
Re^6: How to do perl -c inside perl?
by rockyb (Scribe) on Aug 28, 2012 at 19:29 UTC

    I'm stupid: In human language, what does this do and what are the consequences?

      $ help rd Removes (deletes) a directory. RMDIR [/S] [/Q] [drive:]path RD [/S] [/Q] [drive:]path /S Removes all directories and files in the specified directo +ry in addition to the directory itself. Used to remove a dir +ectory tree. /Q Quiet mode, do not ask if ok to remove a directory tree wi +th /S

      See Safe, Safe::World