hi i'm a newbie scripting perl i'm trying to learn looking your tips and
tricks. i want to know some things. i will develop a database
application working with postgresql with perl cgi as front end. can
somebody tellme where to find documentation about the db connection and
about how to work with
--On Freitag, 05. Oktober 2001 15:05 -0700 "AMORE,JUAN (HP-Roseville,ex1)"
<[EMAIL PROTECTED]> wrote:
>
> Hello Anyone!
> I have the below script but it doesn't match just the words containing the
> letter p.
> Enstead I get "And then Joppy had a puppy named soapy"
>
> Is there a way to modify t
[EMAIL PROTECTED] [[EMAIL PROTECTED]] quoth:
*>On Fri, 5 Oct 2001, TS wrote:
*>
*>> I use perl 5.005_03.
*>> how do I find out what modules are installed ?
*>
*>$perl -MCPAN -e autobundle
*>This will first search for all installed module. Then it will search the
*>cpan archive for updates...
*>Per
On Fri, 5 Oct 2001, birgit kellner wrote:
> Until now, the site was not officially online, which meant that all editing
> could be done directly on the original files on the server.
> Now it's public, which of course means I should perform all editing
> operations offline - I'm pondering over wha
Hi,
I'm trying to write a program that will delete old mail off the server. Here
is what I have so far:
#!/usr/bin/perl -w
sub readdata {
open (MAIL, "/home/test17/test17-mail/test17") || die "Cannot open ssh17:
$!";
my(@ML)=;
chomp @ML;
close(MAIL);
return(@ML);
}
sub writedata {
my (@ML)=@
Dear People,
I am studying some topics on Bioinformatics and since I read
a lot about Perl being employed in the area, I tried
programming a very basic algorithm with it, the pair-wise
sequence alignment algorithm.
The problem is that while the ve
Hello Anyone!
I have the below script but it doesn't match just the words containing the
letter p.
Enstead I get "And then Joppy had a puppy named soapy"
Is there a way to modify this script a bit for out put to say;
"Joppy puppy soapy"
Many Thanks!
while (<>){
print if (m/p/);
}
Juan Amor
I have a website on a UNIX server which includes static pages and pages
generated dynamically, with perl scripts pulling content from flatfile
databases.
Until now, the site was not officially online, which meant that all editing
could be done directly on the original files on the server.
Now
I wrote a script a few months ago that did what you are trying...
system("rm", "$imagepath/$filename");
... but this is not the best solution, I was just faking it because I did
not know better - I would use follow Bret's advice instead - it's the "Real
McCoy".
;) - sorry
-Original Messag
I have a peculiar problem coming up with a command i am issueing through
net::snmp
When I issue the following command using snmpset from a unix shell, the
remote host responds correctly:
snmpset -c private router .1.3.6.1.4.1.9.9.96.1.1.1.1.14.667 i 4
however, the same command issued through a
Hi,
can someone give me an example on how to use 'if exists' to compare 2 hashes.
Thanks
I.S
__
Your favorite stores, helpful shopping tools and great gift ideas. Experience the
convenience of buying online with Shop@Netscape! ht
Hi All,
I have essentially 2 questions.
I am looking for a more efficient way to match a
particular string starting at the bottom of an application
log file.
According to the Perl Cookbook "Reading a File
Backwards by Line or Paragraph", (8.4), you need to read all
the lines into an array in
Michael Fowler wrote:
> On Tue, Oct 02, 2001 at 10:10:35PM -0400, R Talbot wrote:
> > When I ran ./configure on PostgreSQL 7.1.2 I did so --with-perl but make
> > reported It could not install because Perl libraries were not shared.. I
> > assume it wanted me to have the Perl static installed and
He wants to affect the environment of the process he's calling.
Try this:
$frazzle = 'exported string';
$ENV{'FRAZZLE'} = $frazzle;
$output = `ksh -c \'print \$FRAZZLE\'`;
print $output;
On Thu, 4 Oct 2001, Brett W. McCoy wrote:
> On Thu, 4 Oct 2001, Kingsbury, Michael wrote:
>
> > Is there
I have a rather simple use of GD::Graph plotting weather variables.
Take a look at the code for examples.
http://vista.riven.net/~moose/fumblings/weather/wfetch_query.pl
Regards,
Jade
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 05, 2001 11
Use GD module
GD::Graph, GD::Graph3d modules are available at CPAN and Activestate.
-Original Message-
From: James Ferree [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 05, 2001 2:35 PM
To: [EMAIL PROTECTED]
Subject: Graphs
Hi,
Any good books on how to create graphs using Perl?
Whi
Hi,
Any good books on how to create graphs using Perl?
Which perl modules should I consider for this?
TIA,
Jim
__
Do You Yahoo!?
NEW from Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1
To my knowledge there is no binding in Net8-DBD::Oracle-DBI that would allow
you to pass Array Values to the Stored Procedure.
You have to pass it as one large text stream and do your parsing in the
Database. Else, do your own parsing logic in Perl
and call the Proc accordingly.
-- Rex
-Or
Hi Gang,
Does any body know that "How to pass an array from perl to PL/SQL
Procedure?" ?
I will really appreciate if I can get any immediate suggestion or help.
regards,
mrinal
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
On Fri, 5 Oct 2001, Bill Jones wrote:
> Not in this *example test* world I created for students (at least I didn't
> want them too.) Recently I started teaching Perl as an Internet Programming
> class (CGS2557) here at FCCJ and one of my students asked if it was possible
> to get at it somehow -
On 10/5/01 12:50 PM, "Michael Fowler" <[EMAIL PROTECTED]> wrote:
>> Also, you're not allowed to set it to 100 outside of the anonymous sub
>> either.
>
> Sure you are, you just have to declare the variable outside of the anonymous
> sub.
>
Not in this *example test* world I created for studen
On Fri, 5 Oct 2001, Tyler Cruickshank wrote:
> Hi. Im running perl via cygwin on NT. I want to remove all files *.1.txt.
>
> I have tried:
>
> 1) system("rm *.t.txt");
>
> 2) $file = '*.1.txt';
> system("rm $file");
>
> 3) system('rm *.1.txt');
You don't need to use the system call for tha
On Fri, 5 Oct 2001, Bill Jones wrote:
> Given -
>
> {
> my $var = 100;
> print "\$var is $var\n";
>
> }
>
> print "But here \$var is $var\n";
>
>
> How can I or is there a way to get outer $var to be equal to 100 without
> making $var global? Also, you're not allowed to set it to 100
Hi. Im running perl via cygwin on NT. I want to remove all files *.1.txt.
I have tried:
1) system("rm *.t.txt");
2) $file = '*.1.txt';
system("rm $file");
3) system('rm *.1.txt');
...but, I cant get any of them to work. Any ideas? Thanks for your time.
-tyler
--
To unsubscribe, e-
On Fri, Oct 05, 2001 at 10:56:53AM +0200, walter valenti wrote:
> i want make more connection HTTP "symoultaneus" (using LWP or SOCKET, is
> the same).
It's "simultaneous". :)
> If i make a cicle with the request, the new request has made only where the
> old request is closed
> (close the so
On Fri, Oct 05, 2001 at 11:58:50AM -0400, Bill Jones wrote:
> {
> my $var = 100;
> print "\$var is $var\n";
>
> }
>
> print "But here \$var is $var\n";
>
>
> How can I or is there a way to get outer $var to be equal to 100 without
> making $var global?
It depends on what you mean
Another Stew-pid question :]
Given -
{
my $var = 100;
print "\$var is $var\n";
}
print "But here \$var is $var\n";
How can I or is there a way to get outer $var to be equal to 100 without
making $var global? Also, you're not allowed to set it to 100 outside of
the anonymous sub
Hi Andrew,
On Fri, Oct 05, 2001 at 04:26:40PM +0100, Mason, Andrew ([EMAIL PROTECTED])
said something similar to:
> I just felt I had to reply to this...
>
> First of all my apologies. I would have read the FAQ if I'd known where
> to find it. So perhaps my first posts out to have been where
Answered thesemy self, but in case it helps any one else
>
> Folks,
>
> I am using XML::Simple to let me parse a config file. I
> include copies of
> the code and the XML file in question.
>
> My question is how to get at the Project name values, in a
> list or as the
> keys to a hash.
>
I think the 'Scheduled tasks' referred to is what I would call the
Scheduler service.
AT jobs can be created from the command line (probably fine if you are a
Unix/Perl type person) or from the GUI using WINAT (if you are a dumb NT
person like me).
To use AT jobs the Scheduler service needs to
Folks,
I am using XML::Simple to let me parse a config file. I include copies of
the code and the XML file in question.
My question is how to get at the Project name values, in a list or as the
keys to a hash.
I have tried perldoc perlref, which has not helped me.
Can anyone:
a) show me how
On Fri, 5 Oct 2001, Daniel Falkenberg wrote:
> List,
>
> I have an IP address within this regular expression that I need
> extracting and stored in a variable. Could some one offer some help on
> this? The line is as follows...
>
> inet addr:144.137.215.25 P-t-P:172.31.28.24
> Mask:2
I'm using Win32::ODBC and trying to insert a record into an access
database.
This is the error I'm getting.
SQL failed. Error: [-3035] [1] [0] "[Microsoft][ODBC Microsoft Access
Driver] Operation must use an updateable query."
and this is the code I'm using
#Opening database
if (!($db = new
> -Original Message-
> From: Timothy Lorenc [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, October 03, 2001 9:35 PM
> To: [EMAIL PROTECTED]
> Subject: Help, callback subroutine is not getting
>
>
> Hello;
>
> I am programming using the following module created for Qmail to
> perform mass
> -Original Message-
> From: Michael Fowler [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, October 04, 2001 9:37 PM
> To: Curtis Poe
> Cc: '[EMAIL PROTECTED]'
> Subject: Re: how to tell if hash value is null vs missing
>
>
> On Thu, Oct 04, 2001 at 04:34:17PM -0700, Curtis Poe wrote:
> > -
> -Original Message-
> From: AMORE,JUAN (HP-Roseville,ex1) [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, October 04, 2001 7:20 PM
> To: Beginners@Perl. Org (E-mail)
> Cc: Juan Amore (E-mail); AMORE,JUAN (HP-Roseville,ex1)
> Subject: Do's anyone know of a perl script which prints only senten
> -Original Message-
> From: AMORE,JUAN (HP-Roseville,ex1) [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, October 04, 2001 5:13 PM
> To: Beginners@Perl. Org (E-mail)
> Cc: AMORE,JUAN (HP-Roseville,ex1)
> Subject: Trying to search for a file and display its contents
> to screen!
>
>
> Hell
Try Archive::Zip (to zip it into Zip format) or Compress:Zlib (GZip or
deflate/inflate compression schemes).
They are available from http://www.activestate.com and please use your PPM
to download the same.
- Original Message -
From: "Zhe Hong" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Hi to all the perl gurus and wonderful people in this list.
I am on a very slow internet connection. (56kbps) My problem is I have to routinely
upload a 20meg text file to my webhost. It usually takes 1 and a half hours to do so.
Is there a perl module that can compress the text file to say aro
On Fri, 5 Oct 2001, TS wrote:
> I use perl 5.005_03.
> how do I find out what modules are installed ?
$perl -MCPAN -e autobundle
This will first search for all installed module. Then it will search the
cpan archive for updates...
Perhaps you need answere a few question if this is the very first
I use perl 5.005_03.
how do I find out what modules are installed ?
and how do I add new modules ?(where are they
available?).
thanks.
__
Do You Yahoo!?
NEW from Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities
Hi,
the example can be this:
i want make more connection HTTP "symoultaneus" (using LWP or SOCKET, is the
same).
If i make a cicle with the request, the new request has made only where the
old request is closed
(close the socket)
I.E
for(;;){
&http;
}
sub http{
#sub that make the re
42 matches
Mail list logo