If you are looking at copying files to the . dir, have a look at File::Copy.
If you are trying to run system commands try ``, or system().use File::Copy; copy("file1","file2");
OR`cp file1 file2`;
-----system(cp file1 file2);
In reply to Re: Line Commands In Perl
by AcidHawk
in thread Line Commands In Perl
by tux242
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |