Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
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 examining the Monastery: (5)
As of 2015-07-05 07:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls