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
-
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.
|