Hi,
which perl editors/IDEs on unix/linux does the group use?
regards
Joel
-Original Message-
From: Richard Hulse [mailto:[EMAIL PROTECTED]]
Sent: 09 August 2001 07:36
To: [EMAIL PROTECTED]
Subject: RE: Perl Editors
Al,
Try OptiPerl www.xarka.com
It is very fast (compared with Komodo
Al,
Try OptiPerl www.xarka.com
It is very fast (compared with Komodo) and cheaper (than Perl Builder).
IMHO, OptiPerl is more intuitive to use than PB.
regards,
Richard
At 13:55 8/08/01 -0400, Al Hospers wrote:
> > While a little pricey, I use Perl Builder 2.
>
>I evaluated thisone as well bu
"Brett W. McCoy" wrote:
>
> On Wed, 8 Aug 2001, Fernando wrote:
>
> > If there in perl any function that round a number for example:
> >
> > 13.96 to 14.00 or 14
> >
> > I don't want to use any module, just a simple function. Thanks for the help
> > I alwys receive.
>
> perldoc -q round
>
>
I've got this working nicely now. The data was being called by
ENV('QUERY_STRING'), which was causing most of the troubles.
Thank you very much to Michael and Bradley for their help
Cheers
Di
>
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
> From your example, it appears that you simply need to parse a
> URL-encoded
> string. For that, you could use this regex, which uses the chr and hex
> functions to translate URL-encoded characters:
>
> $string =~ s/%([0-9A-Fa-f]{2})/chr(hex($1))/eg;
Is this better than
$string =~ s/%(..
On 8/8/01 7:08 PM, Dianne Van Dulken wrote:
> Hi All,
>
> I am having a little trouble with a regexp and I was hoping I might get a
> hint towards a module or something like that.
>
> I get a query string passed to me, that I need to record in a database. A
> typical one might look like this:
You're absolutely correct. I responded too hastily without
processing...thanx!
- Dwalu
.peace
--
I am an important person in this world -
Now is the most important time in my life -
My mistakes are my best teachers -
So I will be fearless.
Hi All,
I am having a little trouble with a regexp and I was hoping I might get a
hint towards a module or something like that.
I get a query string passed to me, that I need to record in a database. A
typical one might look like this:
%3Cdel_phone%3E%28020%200202%2000202%3C/del_phone%3E
On Wed, 8 Aug 2001, Dwalu Z. Khasu wrote:
> You want int(). See below
>
> % perl -e 'print int(13.96)'
Actually, no, that only gives 13. If you wanted that to round to 14,
you'd want
printf("%2.f", 13.96)
-- Brett
http://www.chapelperilous.net/btfwk/
--
On Wed, 8 Aug 2001, Fernando wrote:
> If there in perl any function that round a number for example:
>
> 13.96 to 14.00 or 14
>
> I don't want to use any module, just a simple function. Thanks for the help
> I alwys receive.
perldoc -q round
Does Perl have a round() function?
Rem
You want int(). See below
% perl -e 'print int(13.96)'
- Dwalu
.peace
--
I am an important person in this world -
Now is the most important time in my life -
My mistakes are my best teachers -
So I will be fearless.
- Student Creed
If there in perl any function that round a number for example:
13.96 to 14.00 or 14
I don't want to use any module, just a simple function. Thanks for the help
I alwys receive.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I like ActiveState's Komodo product. It's free for non-commercial use
(tinkering at home, etc) and has a lot of great features, including a
built-in debugger.
Have fun!
Jason
"Dale Pellerin" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Anyone have any sug
Hi, I am trying to create a database program. I want to search and
return a value from a table. How do I do that?
eg.
Name ID Age
zzz 2389 28
yyy 7653 40
how do I use zzz to search zzz's age?
please email me at [EMAIL PROTECTE
At 02:59 PM 08/08/2001 -0700, Lynn Glessner wrote:
>Ultra-Edit has a perl-specific mode (color coding, automatic indenting, the
>normal) and has a killer "save to FTP" feature for doing your work on a
>windows station and automatically saving to a Unix box.
Ultra-Edit has almost everything to rec
Ultra-Edit has a perl-specific mode (color coding, automatic indenting, the
normal) and has a killer "save to FTP" feature for doing your work on a
windows station and automatically saving to a Unix box.
Lynn
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
Nice tool. Veeey sloowww load times. Oh well.
-Original Message-
From: "Joel Hughes"<[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Date: Wed Aug 08 11:35:56 PDT 2001
Subject: Re: Perl Editors
>I've used ActiveStates Komodo editor which is nice & free
>
>joel
>
>-Original Message-
Are you teaching or learning? Well, there ya' go!
-Original Message-
From: "Kuchler, David"<[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Date: Wed Aug 08 11:40:19 PDT 2001
Subject: Re: Perl Editors
>When I saw Komodo, there were three licensing options for Windows
>environments: Commercial
This is true. I have only used an older version of UltraEdit, but I am
pretty impressed with Komodo as far as debugging/editing features go
(especially auto-completion for PHP). I too would like to see ActiveState
optimize it more, but it *is* based on Mozilla, so .
Seriously, though. For ligh
I do not know Perl, but I am trying to modify an existing cgi script on my
webserver. I want to execute "sudo squid -k reconfigure", using this
syntax:
system ("sudo -k reconfigure);
and it works fine as long as I have a default shell for Apache in
/etc/passwd. How can I accomplish the same th
I would echo Mel's comments on UltraEdit. I really love the ability to
write code on a Win2000 box and FTP it to my test machine directly from the
editor. I actually use UltraEdit over CodeWright which was great when I
lived only in the Winz world.
Frank
-Original Message-
From: Mel Ma
--- Ryan Davis <[EMAIL PROTECTED]> wrote:
> OK, I know this is getting a little off-topic, but I think security is a big
> issue, especially with newbies like myself, and deserves some good
> discussion. Also, there's probably not a perl-cgi-beginners-security list,
> nor should there be.
>
> I l
I can attest to that. I'm running Win98, and I have 256M of RAM and P3 800.
The stinking program hangs about 75% of the time after just clicking inside
the text window.
Brad Handy
--www.jack-of-all-trades.net
[EMAIL PROTECTED]
> -Original Message-
> From: Mel Matsuoka [mailto:[EMAIL PR
At 07:35 PM 08/08/2001 +0100, Joel Hughes wrote:
>I've used ActiveStates Komodo editor which is nice & free
>
Not to start another editor religious-war, but Komodo, while being a great
idea on paper, just doesn't execute very well in real life (at least on
Windows2000). First off, the damn thing
OK, I know this is getting a little off-topic, but I think security is a big
issue, especially with newbies like myself, and deserves some good
discussion. Also, there's probably not a perl-cgi-beginners-security list,
nor should there be.
I looked at the perlmonks article, and had some trouble m
On Wed, 8 Aug 2001, Bradley M. Handy wrote:
> Is there are URL where I can get the version for Windows?
Start with http://www.gnu.org/software/emacs/windows/ntemacs.html
-- Brett
http://www.chapelperilous.net/btfwk/
Is there are URL where I can get the version for Windows?
Brad Handy
--www.jack-of-all-trades.net
[EMAIL PROTECTED]
> -Original Message-
> From: Brett W. McCoy [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 08, 2001 3:02 PM
> To: Bradley M. Handy
> Cc: Kuchler, David; [EMAIL PROTEC
On Wed, 8 Aug 2001, Bradley M. Handy wrote:
> I just downloaded Komodo and subscribed for a non-commercial license (I work
> for a non-profit organization). The non-commercial license is free.
Just to make this an official 'editor religious war', I will also
recommend emacs/xemacs -- it support
Thanks, Brad and Joel. Am downloading as I type. :)
David T. Kuchler
Technical Configurator
Pioneer Standard Electronics
[EMAIL PROTECTED]
-Original Message-
From: Joel Hughes [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 08, 2001 3:02 PM
To: [EMAIL PROTECTED]
Subject: RE: Pe
further info:
here is the download URL
http://aspn.activestate.com/ASPN/Downloads/Komodo/
there is an option to get license where you can request a non-commercial one
joel
-Original Message-
From: Kuchler, David [mailto:[EMAIL PROTECTED]]
Sent: 08 August 2001 19:40
To: [EMAIL PROTECTE
hi,
yeah, there is a non-commerical license for windows as well. I think you
need to register but you can find it.
joel
-Original Message-
From: Kuchler, David [mailto:[EMAIL PROTECTED]]
Sent: 08 August 2001 19:40
To: [EMAIL PROTECTED]
Subject: RE: Perl Editors
When I saw Komodo, the
I just downloaded Komodo and subscribed for a non-commercial license (I work
for a non-profit organization). The non-commercial license is free.
Brad Handy
--www.jack-of-all-trades.net
[EMAIL PROTECTED]
> -Original Message-
> From: Kuchler, David [mailto:[EMAIL PROTECTED]]
> Sent: Wedn
When I saw Komodo, there were three licensing options for Windows
environments: Commercial (needed for any real use), Evaluation (free for 21
days, but must purchase afterwards), and Non-Commercial (limited to teaching
or learning). Now, I know that to use Komodo on Linux is free, but I don't
kn
I've used ActiveStates Komodo editor which is nice & free
joel
-Original Message-
From: Al Hospers [mailto:[EMAIL PROTECTED]]
Sent: 08 August 2001 18:49
To: [EMAIL PROTECTED]
Subject: RE: Perl Editors
I'm assuming that what is meant by /compiling/ is really syntax
checking...
Al Hospe
> While a little pricey, I use Perl Builder 2.
I evaluated thisone as well but simply couldn't afford it. I think it
is probably the best of the Windows visual editors.
Al Hospers
CamberSoft, Inc.
alcambersoftcom
http://www.cambersoft.com
A famous linguist once said:
"There is no language where
While a little pricey, I use Perl Builder 2. It has good functionality, but its best
feature is the ability to execute and debug multiple page cgi forms. It does this by
feeding the form output back to the original script, just as the script would do on
the real server.
Bob
-Original Me
I'm assuming that what is meant by /compiling/ is really syntax
checking...
Al Hospers
CamberSoft, Inc.
alcambersoftcom
http://www.cambersoft.com
A famous linguist once said:
"There is no language wherein a double
positive can form a negative."
YEAH, RIGHT
--
To unsubscribe, e-mail: [EMAIL
Instead of notepad and command line, try the "Programmer's File Editor"
http://www.lancs.ac.uk/people/cpaap/pfe
or on download.com
It has line numbering and a host of other handy features, and is freeware.
Also, UltraEdit is good, but it's not free. It has syntax highlighting, but
I'm too che
On Wednesday 08 August 2001 19:28, Pellerin, Dale wrote:
> Anyone have any suggestions for a Windows based perl editor with compiling
> functionality?
> Dale
not sure what you mean by compiler functionality?
perl builder is bit heavyweight but works
editplus has nice syntax and autocompletion
--- Joel Hughes <[EMAIL PROTECTED]> wrote:
> Curtis,
> are you sure that sending the digest back to the client in cookie form is a
> good idea?
>
> I mean, if I were a hacker, could I not register and then retrieve the
> digest - you then have the plain text and the cipher text. (admittedly you
>
> Anyone have any suggestions for a Windows based perl editor
> with compiling functionality?
if you really want an editor I have used the Opti Perl 3 editor. it
seems to work well & is fairly cheap.
hth
Al Hospers
CamberSoft, Inc.
alcambersoftcom
http://www.cambersoft.com
A famous linguist on
Try notepad and the perl interpreter.
from the command line you can run scripts:
c:\>perl myscript.pl
You might also need the path to your perl bin, i.e:
c:\>c:\perl\bin\perl myscript.pl
HTH
Adam Carson
MIS Department
Anyone have any suggestions for a Windows based perl editor with compiling
functionality?
Dale
Curtis,
are you sure that sending the digest back to the client in cookie form is a
good idea?
I mean, if I were a hacker, could I not register and then retrieve the
digest - you then have the plain text and the cipher text. (admittedly you
would have to know that whats in your cookie is a digest
--- Ryan Davis <[EMAIL PROTECTED]> wrote:
> First of all, thanks for the quick response. This application isn't in use
> yet, so now is the time to make security changes
>
> A few questions/let me see if I'm following you:
>
> A user enters their password, I create the digest, and store the dig
Ryan Davis wrote:
>
> First of all, thanks for the quick response. This application isn't in use
> yet, so now is the time to make security changes
>
> A few questions/let me see if I'm following you:
>
> A user enters their password, I create the digest, and store the digest as a
> cookie.
--- Lee Hoffner <[EMAIL PROTECTED]> wrote:
> Thanks, Curtis! Below is the script. (I hope it's clear!)
>
>
>
> #!/usr/local/bin/perl
[snip]
> use strict;
> use CGI qw/:standard/;
> my $dir = param('dir');
[snip]
> @filearray = opendir(D
First of all, thanks for the quick response. This application isn't in use
yet, so now is the time to make security changes
A few questions/let me see if I'm following you:
A user enters their password, I create the digest, and store the digest as a
cookie. This is secure since you can't recre
--- Ryan Davis <[EMAIL PROTECTED]> wrote:
> Hey all,
>
> I have a password protected area, and after the user puts in their password, I store
>it in a
> cookie, and the CGI reads that cookie every time to determine if the user is logged
>in or not.
> I figured this was safer than passing a 'lo
While on the topic of good/bad questions, notice the response the MySQL
question recieved. It was a very specific, well worded question, and got an
overwhelming response.
As far as tension, I think the culture of Perl goes against that, and most
subscribers to this list also have at least a litt
--- Gael PEGLIASCO <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I'm looking for a way to open a http url, in order to retrieve parts of its
> content and display it in a cgi script.
>
> I'd like to do things like :
>
> open (FILE, 'http://www.myurl.com'); or
> open (FILE, 'https://www.myurl.com');
>
On Wed, 8 Aug 2001, Lynn Glessner wrote:
> As a newbie myself, I found that page hysterical. Of course I also spent a
> while working on a service desk, so I understand about how to ask questions
> :) "It doesn't work" is my pet peeve too.
>
> I can't imagine anyone being offended, and I really d
As a newbie myself, I found that page hysterical. Of course I also spent a
while working on a service desk, so I understand about how to ask questions
:) "It doesn't work" is my pet peeve too.
I can't imagine anyone being offended, and I really don't think there is any
tension on this group. The
Hello Morgan,
Wednesday, August 08, 2001, Morgan Norell <[EMAIL PROTECTED]> wrote:
MN> in the mailform
MN> require log.pl
MN> and in the log.pl
MN> #!/usr/bin/perl -wT
MN> $location = "unknown";
MN> if ($ENV{'REMOTE_ADDR'}) {
MN> $location = $ENV{REMOTE_ADDR};
$location = $ENV{'
Can someone help me with a problem I have.
I use a default mailform script wich my customers can use.
Recently I noticed that someone have used it to spam. That maks me
angry.
I now have to try to find out who that is and prevent futher spamuse of
my form.
I good ide how to prevent pepole to ob
Gael PEGLIASCO <[EMAIL PROTECTED]> said something to this effect on
08/08/2001:
> Hello,
>
> I'm looking for a way to open a http url, in order to retrieve
> parts of its content and display it in a cgi script.
>
> I'd like to do things like :
>
> open (FILE, 'http://www.myurl.com'); or
> open
On Wed, 8 Aug 2001, David Draley wrote:
> -
> my $sth = $dbh->prepare( "SELECT * FROM survey WHERE facil =
> '$species'" );
>
> $sth->execute();
>
> @rows = $sth->fetchrow_array();
>
>
> .
>
> @rows
>
You need to loop through your result set unti
Hi,
On Wed, 8 Aug 2001, David Draley wrote:
> I am writing a search script that will retrieve records from an MYSQL db. I
> have used an array to store the returned records, but I am having problems
> pushing the array into a hash table. So far, my search script only returns
> the first rec
fetchrow_array() will just get you one row of results at a time (as you're
finding). What you want to do is loop through all the lines of results that
you get, along the lines of:
while (my @rows = $sth->fetchrow_array()) { # Gets each row of the
#
At 01:27 PM 08/08/2001 +, David Draley wrote:
>hello -
>
>I am writing a search script that will retrieve records from an MYSQL db. I
>have used an array to store the returned records, but I am having problems
>pushing the array into a hash table. So far, my search script only returns
>th
David Draley <[EMAIL PROTECTED]> said something to this effect on 08/08/2001:
> hello -
>
> I am writing a search script that will retrieve records from an
> MYSQL db. I have used an array to store the returned records,
> but I am having problems pushing the array into a hash table.
> So far, my
Mel Matsuoka wrote:
> Use the LWP::Simple module.
Thanks, I'm going to try this module.
Do you know WebFs::FileCopy ?
http://search.cpan.org/doc/BZAJAC/WebFS-FileCopy-1.04/lib/WebFS/FileCopy.pm
With kind regards,
Gael,
[EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addit
Camilo Gonzalez wrote:
>
> Why not open the file itself? In other words, try:
> open (FILE, 'somefile.html') or die "Can't open HTML document $!";
This is not possible because the file I want to open is located on another web
server.
For example, opening a file located by an url can be usefull t
At 08:22 AM 08/08/2001 -0500, Camilo Gonzalez wrote:
>Why not open the file itself? In other words, try:
>
>open (FILE, 'somefile.html') or die "Can't open HTML document $!";
>
>I don't think you can open and search an entire site.
I'm sure the O.P. wants to "include" the content of external we
hello -
I am writing a search script that will retrieve records from an MYSQL db. I
have used an array to store the returned records, but I am having problems
pushing the array into a hash table. So far, my search script only returns
the first record that matches the search criteria.
thanks
Why not open the file itself? In other words, try:
open (FILE, 'somefile.html') or die "Can't open HTML document $!";
I don't think you can open and search an entire site.
-Original Message-
From: Gael PEGLIASCO [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 08, 2001 8:15 AM
To: [
At 03:14 PM 08/08/2001 +0200, Gael PEGLIASCO wrote:
>Hello,
>
>I'm looking for a way to open a http url, in order to retrieve parts of its
>content and display it in a cgi script.
>
>I'd like to do things like :
>
>open (FILE, 'http://www.myurl.com'); or
>open (FILE, 'https://www.myurl.com');
>
>D
Hello,
I'm looking for a way to open a http url, in order to retrieve parts of its
content and display it in a cgi script.
I'd like to do things like :
open (FILE, 'http://www.myurl.com'); or
open (FILE, 'https://www.myurl.com');
Do you know how I could do that ?
Thanks for your reply,
With
At 01:25 PM 08/08/2001 +0100, Francesco Scaglioni wrote:
>I am beginning to wish I had not posted the question about parsing the
>info tacked on to the url, because of all the contention it seems to
>have caused. I apologise.
Why do you think that all the "contention" in this thread was becaus
I am beginning to wish I had not posted the question about parsing the
info tacked on to the url, because of all the contention it seems to
have caused. I apologise. I am working my way through the rat book
and am implementing the news example but without using embperl (as an
exercise). My erro
Brett:
Freshmeat.net has a few options.
This one does Abiword documents to HTML. Abiword can work with MS Word
documents, maybe it can help:
http://freshmeat.net/projects/abi2html/
The best option is wv from:
http://www.wvWare.com
Does a great job, works on many operating systems.
Good luck!
Your script will be multiply concurrent, will it not? That is, several users
may be executing the same [instance of the] script. How are you going to
tell them apart?
I know CGI.pm retains values from a previous invocation, but have never
understood how to differentiate between the separate users
At 11:03 AM 08/08/2001 +0100, [EMAIL PROTECTED] wrote:
>Hey guys'n'gals,
>I sense a lot of tension in the group, just chill out man,
>take it easy.
>
>There's no need for all this agression goto alt.domination.fetish
>for that sort of release. (I just made that group up so don't...
>just don't
Hey guys'n'gals,
I sense a lot of tension in the group, just chill out man, take it easy.
There's no need for all this agression goto alt.domination.fetish for that sort of
release. (I just made that group up so don't... just don't ;o)
As for MJD's little page of disgrace, I thought better of h
Hey all,
I have a password protected area, and after the user puts in their password, I store
it in a cookie, and the CGI reads that cookie every time to determine if the user is
logged in or not. I figured this was safer than passing a 'loggedin' param as a
hidden field, but I'm not sure if
A masterful statement!
Can we guide the beginners into classifying their problem before posting it?
This might filter some of their confusion, and lead them to ask a more
pertinent question.
eg
1I don't know how to do this in any language
2I could do this in APL, BCPL, C, Delphi, ..., bu
76 matches
Mail list logo