CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

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

 



aajan
New User

Mar 12, 2008, 4:47 AM

Post #1 of 3 (1886 views)
Copy and create a directory Can't Post

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

Post #2 of 3 (1881 views)
Re: [aajan] Copy and create a directory [In reply to] Can't Post

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

Post #3 of 3 (1878 views)
Re: [aajan] Copy and create a directory [In reply to] Can't Post

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

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives