When you have a question such as "how to copy a file", what do you do to find a solutions ?
There's a Perl question and a meta-question being posed here. The question is about copying a file. The meta-question is how do you find out about stuff.
To assist the searcher, I'd suggest looking for information that answers these questions, in the following order:
- Can Perl do that directly (e.g. grep, file exists test (-e))?
- Is there a Perl module to do that (e.g. Net::Ping, CGI and of course File::Copy)?
- Must we shell out and run a command (e.g. installation specific commands, launching applications that communicate by pipe, commands not yet wrapped by a Perl module available on CPAN)?
Alex / talexb / Toronto
"Groklaw is the open-source mentality applied to legal research" ~ Linus Torvalds
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
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:
Outside of code tags, you may need to use entities for some characters:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, 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, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.
| & || & |
| < || < |
| > || > |
| [ || [ |
| ] || ] ||