Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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?
[Discipulus]: choroba if let your company to hire Tanktalus and marioroy ... what a big fishing!
[Discipulus]: i choice prague!!
[choroba]: 1200 years is enough :-)
[marioroy]: Lady_Aleena my $ans = qx! find . -name "*.pl" -exec ls -l {} \\; !;
[Tanktalus]: My basic problem right now is that if I were willing to move, I could be back in Toronto with a pay raise. We have a number of reasons for not wanting to do that.
[marioroy]: I had to backslash the backslash inside qx.
[Tanktalus]: marioroy++ # nice catch
[Lady_Aleena]: marioroy, that makes kinda makes sense.
[Discipulus]: yes i can survive also in younger town.. but when i passed i saw many strange letters..
[Lady_Aleena]: marioroy, sorry, I am not making sense right now.

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (8)
As of 2017-04-23 20:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (432 votes). Check out past polls.