Perl Monk, Perl Meditation | |
PerlMonks |
Re: Perl Commands for Unix/Linuxby rovf (Priest) |
on Jan 24, 2013 at 10:31 UTC ( [id://1015141]=note: print w/replies, xml ) | Need Help?? |
Well, I guess you meant and not - right? Though the usual suggestion for a Perl replacement of /bin/cp, would be to use to File::Copy, this doesn't apply in your case, since you want to create hard links. Is there a particular reason why you don't just shell out, i.e. system('cp -al DIRX DIRY')?
-- Ronald Fischer <ynnor@mm.st>
In Section
Seekers of Perl Wisdom
|
|