in reply to Module object seen as empty variable?
You simply forgot to put a pair of '(' and ')' in your '->copy' call.#!/usr/bin/perl -w use strict; use File::NCopy; my $copy_file = File::NCopy->new ( 'recursive' => 1, 'preserve' => 1, 'force-write' => 1, ); # WAS: $copy_file->copy "/ref/webmail","/www/$domain"; $copy_file->copy("/ref/webmail","/www/$domain");
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Module object seen as empty variable?
by c (Hermit) on Jun 13, 2002 at 15:07 UTC |