Hi,
I have a rather simple question that Google hasn't produced answers for.
Basically, I am installing Mason in a virtual host under mod_perl. The
libraries I need are housed in ~/my/lib
How might I make Apache aware of ~/my/lib from the httpd.conf so that the
following:
PerlModule HTML::Mason
Hi,
I hope this is the right mailing list. I have two
questions.
1. I was wondering if anyone here knows what this
command is doing, besides calling the program
"neighbor"?
system ("neighbor >/dev/null 2>&1 << ! $inpwd 2 3 Y
!")
I understand up to "2>&1", does anyone knows what
comes after that
Hi,
I hope this is the right mailing list. I have two
questions.
1. I was wondering if anyone here knows what this
command is doing, besides calling the program
"neighbor"?
system ("neighbor >/dev/null 2>&1 << ! $inpwd 2 3 Y
!")
I understand up to "2>&1", does anyone knows what
comes after that
Hi,
I hope this is the right mailing list. I have two
questions.
1. I was wondering if anyone here knows what this
command is doing, besides calling the program
"neighbor"?
system ("neighbor >/dev/null 2>&1 << ! $inpwd 2 3 Y
!")
I understand up to "2>&1", does anyone knows what
comes after that
Hi,
I hope this is the right mailing list. I have two
questions.
1. I was wondering if anyone here knows what this
command is doing, besides calling the program
"neighbor"?
system ("neighbor >/dev/null 2>&1 << ! $inpwd 2 3 Y
!")
I understand up to "2>&1", does anyone knows what
comes after that
Before going any further, you might want to tell us what operating
system you are using. As far as I know, the << operator can be used to
feed a program certain input as if it came from STDIN, but I've never
used it because it always sounded a bit kludgy to me.
-Original Message-
From:
Hi guyz,
this regex are goin' to drive me crazy!
My problem is:
I have to find URLs in a text file (so, cannot use LWP or HTML parser)
I've tried with something like
/(http.:\/\/.*\s)/
willing to find anything starting with http/https with "//:" and catching everything
up to a space
or newli
On Mon, 2004-06-07 at 21:35, Josimar Nunes de Oliveira wrote:
>
> Microsoft Windows 2000 [Versão 5.00.2195]
> (C) Copyright 1985-2000 Microsoft Corp.
>
> C:\Documents and Settings\Administrador>ppm install GD-Graph
> Error: Package 'GD-Graph' not found. Please 'search' for it first.
>
> C:\Docum
> -Original Message-
> From: Alex Newby [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 08, 2004 9:54 AM
> To: [EMAIL PROTECTED]
> Subject: use lib(''); Apache httpd.conf
>
>
> Hi,
>
> I have a rather simple question that Google hasn't produced
> answers for. Basically, I am installi
Sid,
try:
my $ty="polica.op";
if($ty =~ /\.+/)
{
print "Found a dot!\n";
}
Steve
On Tue, Jun 08, 2004 at 03:34:29AM +0530, Sidharth wrote:
> hi all,
> can anyone tel me how to look for files which conatain dotsin it.
> i.e
> file1.txt
> file2.txt
> how to check for dots in fil
June Tantoolvesm wrote:
>
> Hi,
Hello,
> I hope this is the right mailing list. I have two
> questions.
>
> 1. I was wondering if anyone here knows what this
> command is doing, besides calling the program
> "neighbor"?
>
> system ("neighbor >/dev/null 2>&1 << ! $inpwd 2 3 Y
> !")
>
> I under
Does anyone know where I can get some information on how to
access, create, modify a table and add rows to a table in Microsoft Word
from Perl?
Henri
- Original Message -
From: "Ravinder Arepally" <[EMAIL PROTECTED]>
To: "'Wiggins d'Anconia'" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>;
Hi,
I could use open(STDOUT,"| more") option to more big file.
After this, I close STDOUT as if I do not close, readline prints the
prompt even when more is not 100%.
###
open(STDOUT,"| more") || "Cannot open stdout for more $!";
$status = system("cat report.tx
Hi,
I could use open(STDOUT,"| more") option to more big file.
After this, I close STDOUT as if I do not close, readline prints the
prompt even when more is not 100%.
###
open(STDOUT,"| more") || "Cannot open stdout for more $!";
$status = system("cat report.tx
Hi,
I could use open(STDOUT,"| more") option to more big file.
After this, I close STDOUT as if, I do not close, readline prints the prompt even when
more is not 100%.
###
open(STDOUT,"| more") || "Cannot open stdout for more $!";
$status = system("cat report.tx
hi,
i have installed perl 5.8 on windows XP.but the ppm is not working,it says ,it doesn't
contain any packages or repositories,also it couldn't connect to activestate.
can i get ppm separately or i have to install perl again.
thanx in advance,
aditi
Yahoo! India Matrimony: Find your pa
hi,
i have to install bioperl modules.
i gave its full address:
ppm> install http://bioperl.org/DIST/
it said:
Error: No valid repositories
Error: 500 Can't connect to ppm.ActiveState.com:80(Bad hostname 'ppm.ActiveState.com')
Error: 500 Can't connect to ppm.ActiveState.com:80(Bad hostname
Aditi gupta wrote:
> hi,
>
> i have to install bioperl modules.
> i gave its full address:
>
> ppm> install http://bioperl.org/DIST/
>
> it said:
>
> Error: No valid repositories
> Error: 500 Can't connect to ppm.ActiveState.com:80(Bad hostname
> 'ppm.ActiveState.com') Error: 500 Can't con
I have tried all three methods if -s OUT, if -f $filename and if -s
@arrayname with no evail.
I did make a test.pl file so that I am just testing whether the file is
greater than 0 bytes. Here is the code.
autoflush is turned on. Is this the correct spot for this?
Is it this tedious t
On Jun 8, Francesco del Vecchio said:
>I have to find URLs in a text file (so, cannot use LWP or HTML parser)
I'm curious why you can't use a module to extract URLs, but I'll continue
anyway.
>/(http.:\/\/.*\s)/
That regex is broken in a few ways. First, it does NOT match 'http:', it
only matc
Hi I have a CGI/dbi script which whenever the page is reloaded the
following executes
print start_multipart_form (POST);
print "Subject", popup_menu(-name=>'Subject1',-values=>[EMAIL PROTECTED]);
print "Area", popup_menu(-name=>'area1',-values=>[EMAIL PROTECTED]),p;
print "Descri
[EMAIL PROTECTED] wrote:
> I have tried all three methods if -s OUT, if -f $filename and if
> -s @arrayname with no evail.
> I did make a test.pl file so that I am just testing whether the file
> is greater than 0 bytes. Here is the code.
> autoflush is turned on. Is this the correct spot
CHange your regex to /http(s)*:\/\/.*?\s/
To see the docs
perldoc perlre ... look for greedy
HTH
Ram
On Tue, 2004-06-08 at 16:15, Francesco del Vecchio wrote:
> Hi guyz,
>
> this regex are goin' to drive me crazy!
>
> My problem is:
>
> I have to find URLs in a text file (so, cannot use LW
ok I can take some blame! : ) I made some changes and I am still not
getting the print message.
## Set pragmas
use strict;
my $foreigntapes="/usr/local/log/foreign_tapes.log";
delete $ENV{'IFS'};
local $ENV{'PATH'} =
"/usr/epoch/bin:/usr/epoch/EB/bin:/usr/bin
> Hi,
>
> I have a rather simple question that Google hasn't produced answers for.
> Basically, I am installing Mason in a virtual host under mod_perl. The
> libraries I need are housed in ~/my/lib
>
Really, your exact subject line gave 3-4 pages that provided similar
answers at the top of the l
Please bottom post
>
> I have tried all three methods if -s OUT, if -f $filename and if -s
> @arrayname with no evail.
See Bob's e-mail too, but why did the -s all of a sudden become a -f in
the above statement? If this is not a typo, the -f will be true on the
file if it exists an
Please bottom post
>
> ok I can take some blame! : ) I made some changes and I am still not
> getting the print message.
>
You made *some* changes, but you still haven't listened to what Bob and
I have said, and made the changes we have pointed out specifically. That
is becoming tedious.
yes -f is a typo! I want to use -s
Derek B. Smith
OhioHealth IT
UNIX / TSM / EDM Teams
614-566-4145
"Wiggins d Anconia" <[EMAIL PROTECTED]>
06/08/2004 11:02 AM
To: [EMAIL PROTECTED], [EMAIL PROTECTED]
cc:
Subject:Re: if -s clause
Please bottom post.
Hi I have a CGI/dbi script which whenever the page is reloaded the
following executes
print start_multipart_form (POST);
print "Subject", popup_menu(-name=>'Subject1',-values=>[EMAIL PROTECTED]);
print "Area", popup_menu(-name=>'area1',-values=>[EMAIL PROTECTED]),p;
print "Descri
i tried this too,it is still giving the same error messages..
also,each time i open ppm window ,this warning comes:
Warning:save c:\Perl\site\lib/ppm-conf\clientlib.cfg:Permission denied
=>Configuration not saved.
what does this mean??
what should i do?do you think this ppm will work?
ok so here is what I did and it is now working.
one thing I do not fully understand is the diff between
my $svsel = select; select OUT ; $|=1;
and
select (select(OUT), $| = 1 ) [0] );
the second line works while the first does not and
from my understanding I am selecting OUT and never re-selecti
[EMAIL PROTECTED] wrote:
> ok so here is what I did and it is now working.
>
> one thing I do not fully understand is the diff between
> my $svsel = select; select OUT ; $|=1;
> and
> select (select(OUT), $| = 1 ) [0] );
>
> the second line works while the first does not and
> from my understandi
that's ok! thanks!
my goal is to run the system app command only if the file handle OUT is
greater than 0 bytes else create a runfile. You say test @ftapes but you
never said how?
is there a better way to just create a file rather than opening it and
doing nothing.
currently I am stating
m
Am trying to get Activestate Perl to run a Mail server...
been searching CPAN and found Net::Server::Mail::SMTP.
the line:
my $smtp = new Net::Server::Mail::SMTP socket => $conn;
gives me the error:
--
Can't locate object method "new" via package "Net::Server::Mail::SMTP" at
testserver3.pl line
All,
Any help regarding below problem is greatly appreciated.
My intention is to change value to true.
to
Thanks,
Ravi
-Original Message-
From: Ravinder Arepally
Sent: Monday, June 07, 2004 5:56 PM
To: [EMAIL
Folks:
I am using the Net::HTTP package in building a small http client. I am
trying to reuse an existing mechanism to talk to a db service through a
servlet rather than code a new application in perl.
Since I need to issue several http GET requests, cookies are used to
keep session state. The
Greetings,
For you professional Perl programmers: how do you approach
exception-handling in the your world? I know there are a lot of ways Perl
gives us to do this: basic 'die', eval'ing blocks of code and the
Exception.pm module but is there a standard in the real world for handling
exceptions? I
From: "Sidharth" <[EMAIL PROTECTED]>
> hi all,
> i hav a requirement wherein i hav to generate array name
> dynamically durin recursive function cal how can i do this .
>
> sid
Please read the "Why it's stupid to `use a variable as a variable
name'" - by M-J. Dominus
http://www.plo
> Greetings,
>
> For you professional Perl programmers: how do you approach
> exception-handling in the your world? I know there are a lot of ways Perl
> gives us to do this: basic 'die', eval'ing blocks of code and the
> Exception.pm module but is there a standard in the real world for handling
>
Thanks for your reply, Deane. It should work from the code, but I don't
understand why it isn't.
Annoying to me. Any pointers ?
-Ravi
_
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 08, 2004 10:28 AM
To: Ravinder Arepally
Cc: '[EMAIL PROTECTED]';
[EMAIL P
I'm in the process of learning perl (hmm - right at the beginning of this
process), and I'm having great difficulty working my way through the man
pages. I'm a Windows user and perl is the first language I'm learning, so
*everything* is new to me. I am also having to get to grips with using my
shel
Wig,
My Poor Mail client is very poor @ bottom post
Any idea why it does not print exactly like it readslook @ attribute. In
source file, it is almost on top, while in output it's nearly on bottom ??
Thanks
Mark G
- Original Message -
From: Wiggins d'Anconia <[EMAIL PROTECT
> I'm in the process of learning perl (hmm - right at the beginning of this
> process), and I'm having great difficulty working my way through the man
> pages. I'm a Windows user and perl is the first language I'm learning, so
> *everything* is new to me. I am also having to get to grips with using
> Wig,
> My Poor Mail client is very poor @ bottom post
>
Bummer, time to upgrade the mail client? ;-)
> Any idea why it does not print exactly like it readslook @
attribute. In source file, it is almost on top, while in output
it's nearly on bottom ??
>
I suspect because the struct
> "Scott" == Scott Stearns <[EMAIL PROTECTED]> writes:
Scott> For you professional Perl programmers: how do you approach
Scott> exception-handling in the your world? I know there are a lot of
Scott> ways Perl gives us to do this: basic 'die', eval'ing blocks of
Scott> code and the Exception.pm
Hello all. I am trying to log into an Oracle database, send this query {
select * from ban where row num < 100} and I am getting erros like:
can't call method 'execute' on an undefined value at (filename) line_number. Got any
suggestions?
using the following perl script:
#!/usr/bin/perl -w
Karen,
I realize I am not answering your question directly but may I suggest
that you purchase a copy of 'Learning Perl' by Randal Schwartz & Tom
Phoenix.
It is an excellent introduction to Perl. You may find it easier than
going through the man pages.
Cheers,
Levon Barker
On Tue, 2004-06-08 a
I agree. Also "Perl for Dummies" might help a bit. In the back there is a list of
major commands typically used in Perl. The book was ok. "Learning Perl 3rd Edition"
by Oreilly was better IMO.
> Karen,
>
> I realize I am not answering your question directly but may I suggest
> that you pu
I think you should turn on errors... by debault DBI will supress them.
After the DB connection, put this...
$db->{RaiseError} = 1;
Once you do this you will see that your prepare failed, your SQL syntax is
not valid.
> select * from ban where row num < 100
It should be "rownum", not "row num".
From: [EMAIL PROTECTED]:
> I agree. Also "Perl for Dummies" might help a bit. In the back there is
a list of >major commands typically used in Perl. The book was ok.
"Learning Perl 3rd >Edition" by Oreilly was better IMO.
I've already got a copy of Learning Perl, and I've made it few the first
Understood however I thought you were also lookinig for a glossary of Perl commands.
The "Perl for Dummies" book has such a list in the back. "Learning Perl" doesn't have
a list. Still... it's currently my favorite Perl book :D
> From: [EMAIL PROTECTED]:
> > I agree. Also "Perl for Dummies"
My boss wants me to write a script that will allow him to browse through the
customers in our DB alphabetically. He wants all the customer's information to
display on the page. I wrote the following as part of the script. I get the
error 'Can't coerce array into hash' at the first 'if' into the
Andrew Gaffney <[EMAIL PROTECTED]> wrote:
: My boss wants me to write a script that will allow him to browse
: through the customers in our DB alphabetically. He wants all the
: customer's information to display on the page. I wrote the following
: as part of the script. I get the error 'Can't coe
Charles K. Clarkson wrote:
Andrew Gaffney <[EMAIL PROTECTED]> wrote:
: My boss wants me to write a script that will allow him to browse
: through the customers in our DB alphabetically. He wants all the
: customer's information to display on the page. I wrote the following
: as part of the script.
Hi all.
I have a main script file, a package in a separate 'package_name.pm'
file and a file 'stuff.pl' that contains functions that both the main
script and the package need to use.
I've tried adding:
require "stuff.pl";
to both the main script and the package. I can then call functions in
'st
Daniel Kasak <[EMAIL PROTECTED]> wrote:
: I have a main script file, a package in a separate 'package_name.pm'
: file and a file 'stuff.pl' that contains functions that both the
: main script and the package need to use.
:
: I've tried adding:
:
: require "stuff.pl";
:
: to both the main script
Hello Everyone,
I have a problem is getting some data from database. I am getting the
error like this:
Storable binary image v2.6 more recent than I am (v2.4) at
blib/lib/Storable.pm (autosplit into blib/lib/auto/Storable/thaw.al)
line 342,
Can someone tell me what is the error and some sugges
Hello All,
I have read modifier /o is used to compile the regexp only
once. But I don't know how it affects regular expression practically.
Can anyone explain about /o modifier with examples?
ANy help much appreciated.
Thanks,
Durai.
---
Outgoing mail is certified Virus Free.
C
58 matches
Mail list logo