Home: Perl Programming Help: Intermediate:
Copy and create a directory



aajan
New User

Mar 12, 2008, 4:47 AM


Views: 4201
Copy and create a directory

Hi Guys!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

This is my first post.......

can we create or copy directories in perl without using "mkdir" command?

Really urgent!!!!!!!!!



Cheers,

aajan


KevinR
Veteran


Mar 12, 2008, 10:53 AM


Views: 4196
Re: [aajan] Copy and create a directory

You can use perls mkdir function or the operating systems mkdir function, but you will have to one of them.
-------------------------------------------------


hydpm
User

Mar 12, 2008, 2:38 PM


Views: 4193
Re: [aajan] Copy and create a directory

You will find lot more file operation and directories management functions.



You can execute OS commands using `` or system() or can use directly the perl built in functions

check the list below:

#perldoc perlfunc