Hi all,

I need to obtain some values (passed with a form) without knowing their names (but I know these variable names correspond to names of some files.

So, I tried to write  something like this:

opendir(QUERY, "/Users/adrianoallora/Sites/corpora/VALICO/indici_testa/") or $errtex = $!;
@interrogabili = readdir(QUERY);
foreach $elem (@interrogabili)
        {
        next if $elem =~ /^\..*/;
        $elem = $home->param($elem);
        }

Why the $home->param($elem) line doesn't work? All the rest of the code works very well (It open effectively the directory, store all the entries in the array, read each array item...)

Any help is soo much appreciated.

alladr



|^|_|^|_|^|                              |^|_|^|_|^|    
 |            |                                 |            |
 |            |                                 |            |
 |            |*\_/*\_/*\_/*\_/*\_/* |            |
 |                                                           |
 |                                                           |
 |                                                           |
 |         http://www.e-allora.net        |
 |                                                           |
 |                                                           |
**************************************


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to