From: "Sarsamkar, Paryushan" <psars...@ptc.com> > I want to write a single Perl script to copy some files from one machine > to another. Those can be windows or unix. Is that possible to have one > script to do it?
If you are sure you're only ever going to use the script in Windows and some kind of Unix, stick to forward slashes. all perl functions and prettymuch all Windows system calls accept either, you only have to use backslashes if you pass the path to some other program using system(), `` backticks or something similar. Jenda ===== je...@krynicky.cz === http://Jenda.Krynicky.cz ===== When it comes to wine, women and song, wizards are allowed to get drunk and croon as much as they like. -- Terry Pratchett in Sourcery -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/