Thanks for the pointers.

On 3/16/06, JupiterHost.Net <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> > <end code snippet>
>
> Please try to write cleaner code, its hard to read :) (See "Perl Best
> Practices" by Damian Conway, Oreilley)
>
> > <error:>
> > undefined subroutine &main::copy
> >
> > What could be the mistake?
>
> a) FILE::copy probably doesn;t exist but rather: File::Copy
>
> b) you have not imported copy() into main::
>   solution:
>
>    1) import it into main:: -  use File::Copy qw(copy);
>    2) Call it by its full name: - File::Copy::copy($filea, $fileb) or
> warn ...
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> <http://learn.perl.org/> <http://learn.perl.org/first-response>
>
>
>

Reply via email to