On Nov 15, EternalLifeThereAfter said:
>Whilst playing with filehandles, I noted that if the
>unquoted-open-filehandles is in lower case it produces the following
>warnings => "Unquoted string "justaname" may clash with future reserved
>word at misc.pl line 3."
>(Q1) I just wonder what's the re
Whilst playing with filehandles, I noted that if the unquoted-open-filehandles is in
lower case it produces the following warnings => "Unquoted string "justaname" may
clash with future reserved word at misc.pl line 3."
(Q1) I just wonder what's the reasons for having warnings on lower-case
Is there a size limitation as to how big a scalar containing an integer
can be?
I've noticed some strange behavior and wonder if this could be the
cause.
What I've got is a perl program that parses a tcpdump file. Every
minute it starts a new entry in the hash of the total traffic observed
duri
On Wed, 14 Nov 2001, frank crowley wrote:
> i need help in making a perl cgi scripted auction.
How much are you willing to pay? :-)
-- Brett
http://www.chapelperilous.net/
No good
On Wed, 14 Nov 2001, Miles Sapp wrote:
> Doh! I'm sorry to waste your time with my previous question. I meant
> to say 'FormMail.pl', not 'Sendmail'. Well, this is a beginner's list
> after all. OK, the question I meant to ask is, does anyone know of
> a good alternative to FormMail? Tha
At 04:58 PM 11/14/01 -0500, Thomas Lewis wrote:
>Hello all. I have a weird problem. When I run this PERL one-liner by
>hand it prints everything within the appropriate range...
>
>perl -ne 'print if /NTHOST\) Total/ .. /ANR0403I/'
>/tmp/TIVOLI.OUT-activity-report
>
>This prints up the summary
I'm from Atlanta, Georgia.
--
p a t r i c k d u n i g a ng r a p h i c a r t i s tw e b d e v e
l o p e r
email : [EMAIL PROTECTED]
aol IM : theclutchbuster
--
"Etienne Marcotte" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> By reading the messa
to whom it may concern:
yesterday, i asked about which perl mod to use
to handle uploads from
in forms.
a couple of you guys and gals suggested CGI library.
that did the trick, piece of cake.
wow, perl is really, really, really cool.
i'm going to study this thing.
Thanx so much for your timel
i need help in making a perl cgi scripted auction.
=
frank crowley
__
Do You Yahoo!?
Find the one for you at Yahoo! Personals
http://personals.yahoo.com
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROT
to whom it may concern:
yesterday, i asked about which perl mod to use
to handle uploads from
in forms.
a couple of you guys and gals suggested CGI library.
that did the trick, piece of cake.
wow, perl is really, really, really cool.
i'm going to study this thing.
Thanx so much for your timel
Doh! I'm sorry to waste your time with my previous question. I meant
to say 'FormMail.pl', not 'Sendmail'. Well, this is a beginner's list
after all. OK, the question I meant to ask is, does anyone know of
a good alternative to FormMail? Thanks so much for your help,
Miles
--
To unsubs
I like postfix (postfix.org). It is pretty secure, easy to install and
maintain. It's only drawback (IMO) is that it can use a lot of inodes. Other
than that I am happier with it than I was when I used to have to configure
sendmail :)
Cheers,
Kevin
On Wed, Nov 14, 2001 at 02:22:11PM -0800, Mile
I've become fond of postfix. It's reputed to be highly secure and is
reasonably fast. And it's much, much easier to configure (to my mind
anyway).
See postfix.org
-John
Seattle,WA
--ah.
--i haven't been on this list for very long.
coming from a unix background, there *are* things
that are quirky, thus, you should at least keep
up within a few versions of sendmail.
--i should read the bad things that were said about
sendmail. i mean, you can pretty much customize
it (t
I'm not referring to anything specific. I don't know that much about
it, I've just seen people say bad things about Sendmail on this mailing
list in the past and wondered if there is something better that is in
common use.
Original Message
Subject: RE: Sendmail alternatives
Dat
Hello all. I have a weird problem. When I run this PERL one-liner by
hand it prints everything within the appropriate range...
perl -ne 'print if /NTHOST\) Total/ .. /ANR0403I/' /tmp/TIVOLI.OUT-activity-report
This prints up the summary of a Tivoli backup for a Windows client
pruned from the
--howdy
--just a question: what version of sendmail are you
referring to? there are a slew of items that
has security measures (some of it is due in part of
your system security), but sendmail is getting
pretty good at telling people what they are and how
to fix it. as a rule of thumb, never g
I've heard Sendmail isn't a very good mail program because of security
holes, etc. Can anyone recommend a good alternative script for sending
mail from an HTML form? Thanks!
Miles
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Etienne Marcotte [[EMAIL PROTECTED]] quoth:
*>Well
*>
*>My computer here doesn't have perl on it (work computer), my laptop
*>doesn't have internet. So I'm stuck. I'll try to install it from my home
*>desktop then and look at the pm and save the .pm on a floppy. I never
*>used CPAN yet... nor ppm
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, November 14, 2001 2:21 PM
> To: [EMAIL PROTECTED]
> Subject: Array References - Concatenation
>
>
> Friends,
>
> I have two, two-dimensional array references, and I need to
> join the rows of
>
I dont know, Beans and Pilgrims are pretty exciting too. Overall Bo-Town is great!
>>> "murphy, daniel (BMC Eng)" <[EMAIL PROTECTED]> 11/14/01 12:38PM >>>
OK, what's one more?
Boston, MA, USA
That souds pretty boring after hearing from the Netherlands, Austrailia,
Romania, etc. ;-)
--
To un
I guess you could do
for (0..$#{ $array1 }) {
push( @{ $array1->[$_] }, @{ $array2->[$_] } );
}
I'm not sure if that is any clearer or not.
-Original Message-
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: 11/14/2001 1:21 PM
Subject: Array References - Concatenation
Friends,
I
OK, what's one more?
Boston, MA, USA
That souds pretty boring after hearing from the Netherlands, Austrailia,
Romania, etc. ;-)
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hello,
This forum is a really good way to learn a new language.
Can anyone suggest a mailing list like this for C, C++, Java programming?
Thanks.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Friends,
I have two, two-dimensional array references, and I need to join the rows of
each array.
$array1 = [
[11,12],
[21,22],
[31,32]
];
and
$array2 = [
[18,19],
chomp $character;
You need to get rid of the newline character at the end of every string
from
On Wed, 14 Nov 2001, samuel wrote:
> Hi there!
> i'm seeking for help on something which should b easy, but has
> turned into my personal hell.
> i'm trying to compare character (but i guess it appl
Hi,
This stuff is pretty new to me , but you could try this :
use DBI;
my $database = "mydatabase" ;
my $servername = "localhost" ;
my $username = "username" ;
my $password = "password" ;
$dbh = DBI->connect("DBI:mysql:database=$database;host=$servername ,
$username , $password) ;
It's all the
How about
chomp($character=);
?
At 11:13 AM 11/14/2001, samuel wrote:
>print"\nCharacter?:";
>$character= ;
Sliante,
Richard S. Crawford
http://www.mossroot.com
mailto:[EMAIL PROTECTED]
AIM: Buffalo2K ICQ: 11646404 Y!: rscrawford
"It is only with the heart that we see rightly;
Hi there!
i'm seeking for help on something which should b easy, but has
turned into my personal hell.
i'm trying to compare character (but i guess it applies the same to
strings) for my database entry markers, but i simpled the problem
out to this:
#Here starts my nightmare
print"\nCharacter
Your question is related how to do CGI programming in perl. There are two
ways in which, we can pass values to a Perl web page.
POST & GET, passing the values in the address bar like
www.mysite.com/show?name=peter is get and passing thru a web form
page normally uses post.
Both of these variables
Etienne Marcotte <[EMAIL PROTECTED]> writes:
> Ok, after 5 days running,
> 101 different persons replyed within 5 days.
> Pretty good:-)
I think that was interesting, but rather than continue this thread,
I'd like to recommend that people include their location in postings
to this list. I certai
Hello,
I am not sure how to pass arguments when working on web? Is there some
online tutorial about this?
Surfing on web, and peeking my address bar, I noticed that it lokes
somenthing script.pl?t=text&o=orange.
How to work with those arguments in the script?
--
To unsubscribe, e-mail: [EMAIL
-BEGIN PGP SIGNED MESSAGE-
Moin,
sorry for respondint so late, I don't read that list.
>Gibbs Tanton writes:
>> You might want to try Math::BigFloat instead.
>
>I originally wrote:
>> I'm trying to perform the following calculation:
>> $value = ($float + $integer) * 10;
>> $string
On Nov 14, Jorge Goncalvez said:
>if($buf=~ qw(/bootp/linux/alize/tel/dhs3linux/fr/cpiofile/){
> $_Globals{PROGRESS_VALUE}=100;
> }
qw() is not the right operator to use, and you're missing a closing ).
if ($buf =~ m(/bootp/linux/alize/...)) {
# your code here
On Wed, Nov 14, 2001 at 10:04:40AM -, Crowder, Rod wrote:
> So where are you ?
I mentioned it further up in the thread. Anchorage, Alaska. :)
Michael
--
Administrator www.shoebox.net
Programmer, System Administrator www.gallanttech.com
--
--
To unsubscribe, e-mail
So given your new data, I am unsure what data would be placed in the hash.
From your example, what is expected?
Wags ;)
-Original Message-
From: birgit kellner [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 14, 2001 02:25
To: [EMAIL PROTECTED]
Cc: Wagner-David
Subject: RE:
Well
My computer here doesn't have perl on it (work computer), my laptop
doesn't have internet. So I'm stuck. I'll try to install it from my home
desktop then and look at the pm and save the .pm on a floppy. I never
used CPAN yet... nor ppm thingy. I am running win2k, I hope it won't be
a pain in
> -Original Message-
> From: Etienne Marcotte [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, November 14, 2001 11:34 AM
> To: [EMAIL PROTECTED]
> Subject: reading a module's code
>
>
> Is there somewhere on internet we can read a module's code, without
> installing on the computer.
>
> M
> -Original Message-
> From: Dermot Paikkos [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, November 14, 2001 6:22 AM
> To: [EMAIL PROTECTED]
> Subject: REGEX or Parse a text file
>
>
> Hi Perlgurus,
> I am having trouble getting the data I want out of a text
> file: The file has
> this s
I'm from da UP, eh...
Michigans' Upper Peninsula - The sun vacations here... sometimes. ;)
Tuesday, November 13, 2001, 12:58:27 PM, you wrote:
>From Alicante - SPAIN ( Mediterranean Coast ) The sun lives here...
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [E
> -Original Message-
> From: Gomez [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, November 14, 2001 4:55 AM
> To: [EMAIL PROTECTED]
> Subject: Search Problems
>
>
> I am having a few problems with a search on a DAT file using
> perl with some
> embedded HTML. I want to search for a keyw
> -Original Message-
> From: Jorge Goncalvez [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, November 14, 2001 3:10 AM
> To: [EMAIL PROTECTED]
> Subject: RE:Perl & rename File
>
>
> Hi,I have a perl tk application that create a file
> c:/cygwin_syslog.txt.
> I have this file c:/cygwin_sy
I have this:
if($buf=~ qw(/bootp/linux/alize/tel/dhs3linux/fr/cpiofile/){
$_Globals{PROGRESS_VALUE}=100;
}
but it didn't work? why?
Thanks
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Is there somewhere on internet we can read a module's code, without
installing on the computer.
My laptop isn't on internet and I'd like to read some code from
Image::size
Etienne
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Ok, after 5 days running,
101 different persons replyed within 5 days.
Pretty good:-)
Etienne
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
> -Original Message-
> From: AMORE,JUAN (HP-Roseville,ex1) [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, November 13, 2001 11:21 PM
> To: Beginners@Perl. Org (E-mail)
> Subject: Learning Packages:
>
>
> Learning Packages:
> Do's anyone know how to create a package in a filename called
> St
> -Original Message-
> From: AMORE,JUAN (HP-Roseville,ex1) [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, November 13, 2001 11:07 PM
> To: Beginners@Perl. Org (E-mail)
> Subject: Dereference question:
>
>
> Hello
> Do's anyone know how to create an array slice containing 2
> elements and
Hi,
> How can I get the size of a image by perl?
If you are looking for size (as in filesize) then the
quickest way is to "stat" the file. For details:
perldoc -f stat
I think more likely you are after the image dimensions, and
you should use the "Image::Size" module from CPAN.
Download (or
Mine was:
print "Hello World\n";
:-)
... and a script to update a postgres DB with billing values...
Greetz,
Wim
Dave Storrs wrote:
>Mine was to write a document-management system for Paine Webber.
>
>Of course, I had the advantage of working with two or three other Perl
>programm
On Tue, 13 Nov 2001, AMORE,JUAN (HP-Roseville,ex1) wrote:
> How do I update the value pointed to by key "PAGER" from more to pg.
> when using a reference only to the hash element for key "PAGER".
>
>
> %Unix= ("SHELL" => "/bin/csh",
>"PAGER" => "more",
>"DB" => "mysql");
>
> print "Val
Hello, I've been trying to update a former coworkers perl code.
But, I am new to perl. I am having trouble understanding the Getopt::Std
module.
I would like to add a fourth option to the code below, but I not sure how
to add it and get it to work.
Also I would like to know where I can find good
Mine was to write a document-management system for Paine Webber.
Of course, I had the advantage of working with two or three other Perl
programmers, all of whom were substantially skilled. Still, that was how
I first got exposed to the language. (AFAIK, PW is still using that
system; they hire
> -Original Message-
> From: AMORE,JUAN (HP-Roseville,ex1) [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, November 13, 2001 10:58 PM
> To: Beginners@Perl. Org (E-mail)
> Subject: Trying to use the => notation to print the values from this
> hash
>
>
> Hello Perl Gurus,
> I'm trying to print
i had the same problem, go to your httpd.conf and you'll see
AllowOverride all
Options Includes FollowSymlinks ExecCGI Allow from all
or similar but the execcgi is the option that allows you to exec cgi scpits on
the directory you are. i hope this helps you. cheers
"." wrote:
> I'm currentl
Hello Dermot,
Wednesday, November 14, 2001, Dermot Paikkos <[EMAIL PROTECTED]> wrote:
DP> I am having trouble getting the data I want out of a text file: The file has
DP> this sturcture:
DP> File Name: m:\a\a084099.jpg
DP> Width x Height: 2480 x 2062
DP> Number of Colours: True Colour (24 b
And if you want a good start, there are loads of sample scripts on the
web 9free)
They have number of files settings, types of files, can create in
separate folders, rename, etc etc..
http://www.cgi-resources.com/ or others
Etienne
[EMAIL PROTECTED] wrote:
>
> Check out CGI.pm, and one more t
Hello A,
Wednesday, November 14, 2001, A Taylor <[EMAIL PROTECTED]> wrote:
AT> I am tring to connect to a MySql database and I have been told that I have
AT> to include the 'HOSTNAME' (localhost). Can anyone see anything wrong with
AT> this code ??
AT> use DBI;
AT> my $database= 'myd
I never include localhost as part of my destination, I include a trailing
":" after the database name and I always encapsulate each argument in double
quotes, as below:
our $dbh = DBI->connect("dbi:mysql:asi:","web_isur","web_update") || die
"Can't connect to asi: $!";
Even with variables as arg
I am tring to connect to a MySql database and I have been told that I have
to include the 'HOSTNAME' (localhost). Can anyone see anything wrong with
this code ??
use DBI;
my $database= 'mydatabase@localhost';
my $data_source = "DBI:mysql:$database";
my $username= "username";
my $pa
How can I get the size of a image by perl?
Thanks for help
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] (Daniel Kidger) wrote on 13 Nov 2001:
>
> I have a pattern like
>$hosts = "fred[1,3-7,9-22]"
>
> Is there a simple way to generate an expanded list like:
>fred1 fred3 fred4 fred5 ...
*If* you can trust your input, here's a quick way:
use strict;
use warnings;
my $st
Hi Perlgurus,
I am having trouble getting the data I want out of a text file: The file has
this sturcture:
File Name: m:\a\a084099.jpg
Width x Height: 2480 x 2062
Number of Colours: True Colour (24 bits)
Dots per inch: 300 x 300
Image size (inches): 8.27 x 6.87
Raw size: 15341280 Actua
Many thanks to "Wagner-David" for the code. I've slightly changed it, as
below, but have still further questions.
use strict;
my $counter = 1;
my %Headinghash;
my %Texthash;
while () {
chomp;
if ( /^(\d+)\.\s+(.*)/ ) {
$counter = $1;
$Headinghash{$counter} = $2;
}elsif
I am having a few problems with a search on a DAT file using perl with some
embedded HTML. I want to search for a keyword and display the results in a
certain format which I have done OK in perl, but I have to manually put the
search keyword into the code, the only problem is that I cannot get p
Ploiesti, Romania, Europe.
Adrian Ichim
Network administrator, Timken Romania
**
This message and any attachments are intended for the
individual or entity named above. If you are not the intended
recipient, please do not read
> -Original Message-
> From: Michael Fowler [mailto:[EMAIL PROTECTED]]
> Sent: 13 November 2001 21:15
> To: Elliott, Don (Police)
> Cc: '[EMAIL PROTECTED]'
> Subject: Re: Off-Topic (200%) - Where are you from?
>
>
> On Tue, Nov 13, 2001 at 02:51:01PM -0600, Elliott, Don (Police) wrote:
If this is pasted from your script, then you're defining %Unix (with a
capital U) and trying to access %unix (with a lowercase u). That won't help
;-)
Cheers
Mark C
> -Original Message-
> From: AMORE,JUAN (HP-Roseville,ex1) [mailto:[EMAIL PROTECTED]]
> Sent: 14 November 2001 03:58
> To:
Amsterdam, The Netherlands (but I'm not dutch).
Apologies for the late posting, but I enjoyed this thread so much I just wanted
to add my bit :-)
Andy
On Fri, 9 Nov 2001, G. Stephen Gannon wrote:
> Date: Fri, 9 Nov 2001 11:16:10 -0500
> From: G. Stephen Gannon <[EMAIL PROTECTED]>
> To: dan rad
Paris France. Cold but not cloudy :)
-Message d'origine-
De : Gibbs Tanton - tgibbs [mailto:[EMAIL PROTECTED]]
Envoyé : vendredi 9 novembre 2001 20:13
À : 'perl '
Objet : RE: [Fwd: Off-Topic (200%) - Where are you from?]
I'm in Clemson, SC. It is nice weather here as well.
-Orig
Hi,I have a perl tk application that create a file c:/cygwin_syslog.txt.
I have this file c:/cygwin_syslog.txt, How I can do to verify if this file
exists at the init of my application, if it exists I would rename it in
c:/cygwin_syslog.bck0, and recreate one with the same name ie cygwin_syslog.
70 matches
Mail list logo