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 2>&1") or warn "$!\n";
BL> open IN, $filename or d
Hi ,
I have a perl script which accepts few predefined parameters and
values for them.
It is like this :
myscript.pl -param1 -param2
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 be taken as
> 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 te
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, l
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 !
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...
G
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
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 cre
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):
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 ,
: or , or , 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()
{
chomp;
if (m//)#or , <"any word"> ,
like XML
{
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 , or , or , 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 Symbo
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.
> >
> > Det
Hi, I want to filter text using regular expressions, but i don't know how to
find in a file a string like this , or , or , 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).
Anyone can help
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 SMT
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";
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";
#
17 matches
Mail list logo