hi to all,
Some questions:
1) how can I write multine comments? something like /** ... **/?
2) the following script doesn't find the page requested in getstore
(baolian.local = 127.0.0.1). Why?
3) $homepage must be a real page/file or I can use it like a normal
variable or a filehandle to read
hi,
for infos on comments and over all for advices about getstore.
Now I did what I wanted (using get() instead of getstore(), and
localhost, and storing the result in a variable).
(The ovid cgi-course seems very well.)
Thank you all,
alladr
|^|_|^|_|^| |^|_|
hi to all,
I need to read a file selected by (and stored in the computer of) users.
My first idea was on uploaded files:
(all variables are sent correctly;
$_ is the name of the file
$file is a relative pathname)
s/.*[\/\\](.*)/$1/;
$file = "upnu
dear all,
I didn't understand how to use the module HTML, but I need to count how
many tags of several types appear in a web page and so I wrote this
script.
Someone can tell me why this one doesn't work?
%tags = ("paragraph" => "p",
"list_o" => "ol",
"list_no" => "ul",
well, the name of the sub is correct. I translated it and I add an
error only in my e-mail.
alladr
while(<$filename>)
{
foreach $var (keys(%tags))
{
$$var += count_it($$var, $var, $tags{$var},$_);
}
}
foreach $va
hi to all,
my server-administrator told me I cannot use ssh to install some
modules (LWP, HTML) on server.
How I can do it using only ftp?
thank a lot,
alladr
|^|_|^|_|^| |^|_|^|_|^|
|| ||
|
Hi all,
I need to delete all the scripts in a webpage read by LWP::get, but:
1) I cannot install modules on server;
2) this regexp doesn't work: s/
ha to all,
I need to use a a shell-program but I cannot pass all the arguments to
this program via system() function. In other words: the program doesn't
accept all the arguments via command line: I need to open it and write
interactively some instructions.
Is there a module which works in t
hi to all,
I want to write a very stupid script. It shuold:
- upload a file from client (works)
- extratc ascii from html (works)
- show the sentence number X (works for nr.0)
- create a button "following sentence" (does not work!)
- redirect to the same page and re-upload the same file to show t
hi to all,
I use session (CGI::Sessions) to record some data in a textual
search-engine (CQP). I have this problem: I need to destroy a session
before starting the new one, but I cannot.
actually I wrote this code:
$qualecookie = $pagina->cookie(CGIRICERCA);
if($qualecookie)
{
hi to all,
this question isn't exactly a cgi-question, but I need to solve this
problem before writing the cgi interface.
I've got a list of tagged files.
I've listed all the couple word+tag.
now, for each word+tag I want to write a file containing all the
filename in which compare the coupl
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 =
$!;
@
Hi to all,
I have a page with an option list:
and I need to catch all the values of this list but, if I write:
$legenda = $pagina->param("legenda");
the variable $legenda is equal only to the first selected item.
I read the cgi perldoc, but I cannot locate the answer to may questi
hi all,
I use use HTML::Entities; and the functions decode() and encode(), but
I'd prefer working with escape characters (è, for example) than
working with exadecimal (or what they are: for example).
Must I use a regexp to substitute each or I can use some other function?
Thank at all,
al
14 matches
Mail list logo