Siegfried Heintze wrote:
When I try to employ subdirectories my perl cgi programs stop working. This
is because the use statements cannot find their files.
I could convert the use evidence_db; statements to require
'../evidence_db.pm'; and that works. But this is painful.
Surely there is an easier
NAME
beginners-faq - FAQ for the beginners-cgi mailing list
1 - Administriva
1.1 - I'm not subscribed - how do I subscribe?
Send mail to [EMAIL PROTECTED]
You can also specify your subscription email address by sending email to
(assuming [EMAIL PROTECTED] is your email
Keep in mind two things: 1) you may need to build the module locally on a
similar box (linux, same basic version of Perl), and 2) since the module is
Time::HiRes, there needs to be a Time directory in your modules directory,
and the HiRes.pm file need to be in that directory.
EG:
I have the following to kick off an HTML page:-
?xml version=1.0 encoding=iso-8859-1?
!DOCTYPE html
PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd [
!ENTITY help Help
]
html
Hi,
I am getting a strange problem with two cookie scripts I've written.
The first, cookie_maker.cgi, creates two cookies containing a user id
and a security key:
#!/usr/bin/perl -w
use strict;
# creates cookies
print Set-Cookie:user=cbfb\n;
print Set-Cookie:secid=1234\n;
#
I am getting a strange problem with two cookie scripts I've written.
The first, cookie_maker.cgi, creates two cookies containing a user id
and a security key:
#!/usr/bin/perl -w
use strict;
# creates cookies
print Set-Cookie:user=cbfb\n;
print Set-Cookie:secid=1234\n;
Douglas Lentz wrote:
Hello friends,
I'm trying to get Mark Overmeer's Mail::Internet module to work on my
system.
Problem: I can't send mail using Mail::Internet's smtpsend method.
Details: This is a Red Hat Linux box connecting to the internet over
plain old dial-up PPP. I am using my ISP's
Hi, I want to filter text using regular expressions, but i don't know how to
find in a file a string like this NONE , or NONE/ , or /bsvgId , Etc. I
try to use the little script bellow with a count for the word but this scrit
doesn't work if i put symbols like / , \ , , (Reserved Symbols).
On Mon, 07 Feb 2005 10:24:14 -0500, Wiggins d'Anconia
[EMAIL PROTECTED] wrote:
Douglas Lentz wrote:
Hello friends,
I'm trying to get Mark Overmeer's Mail::Internet module to work on my
system.
Problem: I can't send mail using Mail::Internet's smtpsend method.
Details: This is a
Gomez, Gonzalo wrote:
Hi, I want to filter text using regular expressions, but i don't know how to find in a file a string
like this NONE , or NONE/ , or /bsvgId , Etc. I try to use the little script
bellow with a count for the word but this scrit doesn't work if i put symbols like / , \ , ,
Ezra, thanks beforehands for your help.
but i'm searching that type of word :
#!/usr/bin/perl -w
open(FILE, altoc1.res) or die Can't open : $!\n;
$count=0;
while(FILE)
{
chomp;
if (m/NONE/)#or NONE/ , any word , /any Word
like XML
Gomez, Gonzalo [EMAIL PROTECTED] wrote:
: Hi, I want to filter text using regular expressions, but i
: don't know how to find in a file a string like this NONE ,
: or NONE/ , or /bsvgId , Etc. I try to use the little
: script bellow with a count for the word but this scrit
: doesn't work if i put
NAME
beginners-faq - FAQ for the beginners mailing list
1 - Administriva
1.1 - I'm not subscribed - how do I subscribe?
Send mail to [EMAIL PROTECTED]
You can also specify your subscription email address by sending email to
(assuming [EMAIL PROTECTED] is your email address):
This is my script
open(OUTFILE, , survey.txt) or die $!;
I am runing this script through the webserver using a browswer,
(action=http://localhost/pathtothecgiscript/cgiscript.cgi;) and the
file, survey.txt, does NOT get created. When running from the command
line the file DOES get created.
If
Elliot Holden wrote:
This is my script
open(OUTFILE, , survey.txt) or die $!;
I am runing this script through the webserver using a browswer,
(action=http://localhost/pathtothecgiscript/cgiscript.cgi;) and the
file, survey.txt, does NOT get created. When running from the command
Charles, I am still working with a siemmens platform, HLRi and the output from
the HLRi machine is an XML document with the tags and subscriber data inside; i
try to look into the significance tags and extract some information about
mobile cellular fraud.
Thanks beforehands for your help...
Gomez, Gonzalo [EMAIL PROTECTED] wrote:
: How could i get or use this XML parser module ?
There are many XML parser modules. They are kept on a network
named CPAN. Follow this link to the CPAN FAQ.
http://www.cpan.org/misc/cpan-faq.html#Where_find_Perl_modules
: Thanks for your answer
Hi all,
I have tricky question, and I await answer will be not so simple, here
is snippet:
open (PIPE, |-, convert -negate -modulate 200,0 -negate - pbm:- | gocr -)
or warn $!\n;
print PIPE $file; #file is image content
close PIPE;
prints to STDOUT everything I need (it is one line, lets
open (PIPE, |-, convert -negate -modulate 200,0 -negate -
pbm:- | gocr -) or warn $!\n;
print PIPE $file; #file is image content
close PIPE;
prints to STDOUT everything I need (it is one line, lets say This is
test). How I can grab this, so I have in
$var = This is test ?
ofcourse
Hi ,
I have a perl script which accepts few predefined parameters and
values for them.
It is like this :
myscript.pl -param1 value1 -param2 value2
Now my requirement is , if value is also has and hyphen - then
script should accept it and what ever i give after the -param option
should
Bakken, Luke [BL], on Monday, February 7, 2005 at 15:38 (-0800) thinks
about:
BL Redirect to a file and read the file:
BL my $filename = '/tmp/output';
BL open (PIPE, |-, convert -negate -modulate 200,0 -negate - pbm:- |
gocr - $filename 21) or warn $!\n;
BL open IN, $filename or die ..
21 matches
Mail list logo