mkdir questions on unix platform
My codes is like this: ** my $new_data_dir = "/var/tmp/sct_1.61/data"; mkdir ($new_data_dir, 0744) unless (-d $new_data_dir); ** /var/tmp exists, but /sct_1.61/data does not exist under /var/tmp. It looks like mkdir function does not work well. It does not create /sct_1.61/data. Could you please let me know why? and how to solve it? Thanks Lixin __Do You Yahoo!?Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Fwd: mkdir questions on unix platform
Let me make question clear, in fact my question is how can i create directories recursively. Do you have any example? Thanks LixinNote: forwarded message attached. Do you Yahoo!? Check out the new Yahoo! Front Page. www.yahoo.com---BeginMessage--- My codes is like this: ** my $new_data_dir = "/var/tmp/sct_1.61/data"; mkdir ($new_data_dir, 0744) unless (-d $new_data_dir); ** /var/tmp exists, but /sct_1.61/data does not exist under /var/tmp. It looks like mkdir function does not work well. It does not create /sct_1.61/data. Could you please let me know why? and how to solve it? Thanks Lixin __Do You Yahoo!?Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs ---End Message--- ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
question of regular expression
I have one line like this: $command = '$ldapsearch -x -LLL -h "cds2.ford.com" -b "ou=People, o=Ford,c=US" "uid=$login" uid fordUNIXid'; If condition { $command = '$ldapsearch -LLL -h "cds2.ford.com" -b "ou=People, o=Ford,c=US" "uid=$login" uid fordUNIXid' # which -x need to remove } Could anyone let me know by using regular _expression_, how can I get rid of "-x"? Thanks in advance! Lixin Do you Yahoo!? Express yourself with Y! Messenger! Free. Download now.___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
test-please ignore
Do you Yahoo!? Yahoo! Mail Address AutoComplete - You start. We finish.___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs