Hello,
"cd" does not work as expected in perl.
use chdir instead and it will do what u want .
ex : chdir "dest_folder" # go to directory
system("ls ") # do what u want.
chdir "orignal_folder" # come back to orignal dir
Thanx
Hello,
Since you are having the whole file in an array.
1. Keep an index to specify the current line read
2. Once you found the desired string, you have the index also. So
you can
decrement the index and get the lines.
$inex = 0;
foreach $line (@lines) {
$index++;
if($l
Hello,
passing data / ( or sharing data, information ) between two
processes can be done
1. Writing the content in one file from 1st process and then reading
from second process.
you can do it, using simple text file or using seriallization.
2. Second way is through sockets. Once
Hi Jm,
1. If you use $class->speak(@_), the programe will go to infineite
loop.
because of recursive call.
2. The example is to demostrate, how to call the method of a class
immediately
up in the class hirarchy.
Hope it helps
Madan
Jm lists wrote:
Hello,
Consi
Hello,
1. Check that the "rm" command is not mapped to "rm -i" or
similar alias.
if so them the "rm -f" command from system() command will not
work.
Thanx
Madan
Mathew wrote:
I recently forgot about the unlink function and had been trying to
remove files using the less effic
Hello ,
Are you trying to dump the data from perl and then read it
in php. ?
Madan
Randall wrote:
you'll need to write both PHP arrays as hashes in Perl
Thanks for the help, but it didn't work at all :-( nothing could be
read from the PHP side.
Any ideas?
--
To unsubscri