Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: Files copying from source to dest

by Ma (Novice)
on Nov 04, 2013 at 19:45 UTC ( #1061189=note: print w/replies, xml ) Need Help??


in reply to Re: Files copying from source to dest
in thread Files copying from source to dest

I would like the cvs file to be copied to destination But the following error messages are coming when I run the program, the following error messages show up:
Global symbol "$source" requires explicit package name at tt.txt line +8. Global symbol "$dest" requires explicit package name at tt.txt line 9. Global symbol "$date" requires explicit package name at tt.txt line 14 +. Global symbol "$date" requires explicit package name at tt.txt line 16 +. Execution of tt.txt aborted due to compilation errors.
One thing I noticed that perl does not accept d:\Perl\Daily path but instead d:/Perl/Daily

Replies are listed 'Best First'.
Re^3: Files copying from source to dest
by keszler (Priest) on Nov 04, 2013 at 20:28 UTC
    1. unless $source executes before my $source, thus the error
    2. $dest ditto
    3. no my $date anywhere
    4. ditto
      perfect, you have just saved my day. Thank you.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1061189]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2016-10-01 10:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (575 votes). Check out past polls.