Hi..
I am facing one strange problem. I cant split and rejoin this on a winNt platform. The example follows:
$input=c:\final\test\test1.txt
I want to get rid of the last part and check whether the path is valid or not.
my desired output should be
$output= c:\final\test
but i cant split the...
Hi
Is there any data type validation in perl?. I mean, like in C, I can define any perticular variable to to a certain type .eg. integer,char, real . Is there anyting such in Perl. I have a program where i like to check the user input before further processing. Almost like Data validation. Can...
Hi
How can I make my perl program to wait for some time before executing next line?.. e.g
$input=chomp(<STDIN<);
# I want to wait or delay here for 5 sec before executing next line "print"your inout is $input\n";"
print"your inout is $input\n";
...
Itz a very silly...
Hi
I am recently facing a strange problem while trying to execute a dos command in my perl script. For example
if I want to copy a file from a soure to a desitnation, it cant find that file. Eg.
$test=`copy C:\project\test\saves\output.txt D:\project\test\`;
print "$test\n"...
Hi
I am recently facing a strange problem while trying to execute a dos command in my perl script. For example
if I want to copy a file from a soure to a desitnation, it cant find that file. Eg.
$test=`copy C:\project\test\saves\output.txt D:\project\test\`;
print "$test\n"...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.