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
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 21 ! $inpwd 2 3 Y
!)
I understand up to 21, does anyone knows what
comes after that. I am
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 21 ! $inpwd 2 3 Y
!)
I understand up to 21, does anyone knows what
comes after that. I am
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 21 ! $inpwd 2 3 Y
!)
I understand up to 21, does anyone knows what
comes after that. I am
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
On Mon, 2004-06-07 at 21:35, Josimar Nunes de Oliveira wrote:
screen-copy
Microsoft Windows 2000 [Versão 5.00.2195]
(C) Copyright 1985-2000 Microsoft Corp.
C:\Documents and Settings\Administradorppm install GD-Graph
Error: Package 'GD-Graph' not found. Please 'search' for it first.
-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 installing Mason
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 filename
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 21 ! $inpwd 2 3 Y
!)
I understand up to 21, does
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]; [EMAIL
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.txt);
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.txt);
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.txt);
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
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 connect to
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
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
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
[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 for
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 LWP or
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'} =
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
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 and
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.
I
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
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
[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 understanding I am
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
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 11.
All,
Any help regarding below problem is greatly appreciated.
My intention is to change value to true.
javaTask className = tool.update.languagepack.MergeConfig
arg name=sample value=false/
to
javaTask className =
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?
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
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
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
Wig,
My Poor Mail client is very poor @ bottom post
Any idea why it does not print exactly like it readslook @ tittle 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
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
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 @
tittle attribute. In source file, it is almost on top, while in output
it's nearly on bottom ??
I suspect because the
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 module but
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
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 purchase
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.
Rob
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
couple
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 might
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
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. I
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
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
POD - Plain Old Documentation
You'll find this in the perl doc as perlpod
basically you use the = in column one with a keyword.
Perl parser ignores anything betweeen a beginning =
and the final marker =cut.
Typically its:
=pod
=head1 DESCRIPTION
blah, blah, blah...
=cut
code..
Other
Hi all,
Please tell me how can I create a multipart html file that includes html
text and images.
I know that Mime::Lite can create such a thing for sending an email with
attachments, but I don't know if it is possible to use it for creating
common HTML pages with multipart content.
Thank you.
Hi all,
Please tell me how can I create a multipart html file that includes html
text and images.
I know that Mime::Lite can create such a thing for sending an email with
attachments, but I don't know if it is possible to use it for creating
common HTML pages with multipart content.
I
Hi,
Thanks for responding.
I need to create that multipart page because I am trying to create a single html file
with a financial analysis which includes pictures and I don't want to be necessary to
send more files to the clients.
But I was sure that if Outlook Express can read such a page,
Greetings,
While reading some of the Perl newsgroups, I've seen a few examples of
people getting CGI parameters by either parsing the query-string (for
GETs)
or reading in some of the content (for POSTs). I've been working with CGI
(using Perl) for a little while now and I've always used
Hi guys,
Needing a little help with adjusting the data a log file reads to.
It goes like this currently
@env_vars = keys(%ENV);
foreach $variable (@env_vars)
{
$log_entry .=$ENV{$variable}\|;
}
I am wanting to change this to include $http_referrer
So,I am presuming that I should be doing
Catriona Pure Scents [EMAIL PROTECTED] wrote:
: Hi guys,
:
: Needing a little help with adjusting the data a log file reads to.
:
: It goes like this currently
: @env_vars = keys(%ENV);
:
: foreach $variable (@env_vars)
: {
: $log_entry .=$ENV{$variable}\|;
: }
There is no need to
63 matches
Mail list logo