-- Vamsi_Doddapaneni <[EMAIL PROTECTED]>

Hi all,

Thanks for your help.

I am facing a new problem.

Here is the code part:
 foreach $name(`ls $opt_i/*.xml`){
    chomp;
    push @f, $name;
        print "pushing elements=$name\n";
}
[EMAIL PROTECTED];

Now in the directory $opt_i if there are some 10 , 20 or even 100 its
working  well. But now I have some 305 odd xmls and the code is EXITING
WITH


sh: /usr/bin/ls: 0403-027 The parameter list is too long.


In unix prompt ls *.xml is working (giving out those 305 xmls)

Could anybody help me out?

This has nothing to do with DBI.

Try File::Find and iterate them.


--
Steven Lembark                                       85-09 90th Street
Workhorse Computing                                Woodhaven, NY 11421
[EMAIL PROTECTED]                                     1 888 359 3508

Reply via email to