Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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


Comment on Re^2: Files copying from source to dest
Download Code
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 drinking their drinks and smoking their pipes about the Monastery: (14)
As of 2014-09-17 14:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (85 votes), past polls