RE: Windows Text editor

2002-02-06 Thread Al Hospers
> Which of these editors show the number of the current line in > the status bar? OptiPerl can display line numbers. Al -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Calander / Scheduling Code

2002-02-06 Thread Frank J. Schmuck
I need to develop an application that will be a modified schedule but conceptually will look similar to what we see on the web for a TV schedule. That is time across the top (columns) with individuals as the rows. Does anyone know if there is sample code available to review as a starting point?

splitting a vector... or something like that!?

2002-02-06 Thread Terje Bremnes
Hi, I am a beginner in writing Perl-cgi scripts, and hope you can help me with the following problem. I have been writing a script that uses the Unix "grep" function to search for a word posted to the script from a web form, and return the search results to a web page. The script works well, bu

Re: splitting a vector... or something like that!?

2002-02-06 Thread Shawn
- Original Message - From: "Terje Bremnes" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, February 06, 2002 6:11 AM Subject: splitting a vector... or something like that!? > Hi, > > I am a beginner in writing Perl-cgi scripts, and hope you can help me > with the followi

CGI.pm situation

2002-02-06 Thread freiref
Hello, I have a situation here with CGI.pm. Look at this code: my @campos = qw(uno dos tres cuatro cinco) print table({-align=>'center', -width=>'800', -cellspacing=>'1', -cellpadding=>'0', -border=>'0', bgcolor=>'#ff'}, Tr( td(\@campos) ),

Re: Windows Text editor

2002-02-06 Thread Vinicius Jose Latorre
GNU Emacs for Windows NT/9x/2000: + can show line number + can show date/time + has a lot of mode editing (for almost all languages known) + has color highlight + deal with indentation + can edit via ftp + deal with different line break conventions + can open a lot of fil

Make Question

2002-02-06 Thread Stephen.Hurley
Hi, Vaguely Perl related question...after following some of the discussion about HTML::Template the other day, I decided to go and get myself a copy. I'm running on NT (...I know, I'm moving to linux soon) and I can't seem to get it installed. I'm using a copy of "make" that I got with the unxutil

RE: Make Question

2002-02-06 Thread yahoo
Steve, I use activestates Perl for NT. Why don't you just do a PPM from the command prompt and then "install HTML-Template"? joel -Original Message- From: Stephen.Hurley [mailto:[EMAIL PROTECTED]] Sent: 06 February 2002 13:40 To: '[EMAIL PROTECTED]' Subject: Make Question Hi, Vaguely

Fetching a cookie

2002-02-06 Thread webmaster
Hello all, For some reason, the simple art of setting and retrieving a cookie is giving me a problem. I am using Perl 5.005_03 (using 5.6 is not something I can enforce, unfortunately). I have one CGI script that sets a cookie using the following code: $cookie = new CGI::Cookie(-name

printing an email address

2002-02-06 Thread Octavian Rasnita
I tried to print my email address when it is enclosed in < and > signs but it didn't print anything. The code: my $line; $line= ""; # I also tried with $line = \"; print "$line"; Nothing is printed. It prints only if I don't use the < and > signs. Thank you! Teddy, My dear email address is [EM

Re: printing an email address

2002-02-06 Thread Richard Crawford
Try this: $line = "<[EMAIL PROTECTED]>"; Alternatively, $line=htmlspecialchars("<[EMAIL PROTECTED]>"); On Wed, 2002-02-06 at 19:11, Octavian Rasnita wrote: > I tried to print my email address when it is enclosed in < and > signs but > it didn't print anything. > The code: > > my $line; > $lin

Re: printing an email address

2002-02-06 Thread Richard Crawford
D'oh! This won't work in Perl. For some reason I thought I was answering a PHP question. Damn flu. My apologies if I confused anyone. Richard On Wed, 2002-02-06 at 09:34, Richard Crawford wrote: > Try this: > > $line = "<[EMAIL PROTECTED]>"; > > Alternatively, > > $line=htmlspecialchars(

RE: printing an email address

2002-02-06 Thread Hanson, Robert
It looks like that is the answer though, in a roundabout way. Teddy, if this is for output into an HTML page, no, it won't show up because < and > are special chars. You need to HTML encode them, manually or otherwise. This should work: $line = ""; print $line; Rob -

Re: printing an email address

2002-02-06 Thread Brett W. McCoy
On Wed, 6 Feb 2002, Octavian Rasnita wrote: > I tried to print my email address when it is enclosed in < and > signs but > it didn't print anything. > The code: > > my $line; > $line= ""; > # I also tried with $line = \"; > print "$line"; No need for the double quotes (it will try to interpolate

Re: printing an email address

2002-02-06 Thread Brett W. McCoy
On Wed, 6 Feb 2002, Brett W. McCoy wrote: > On Wed, 6 Feb 2002, Octavian Rasnita wrote: > > > I tried to print my email address when it is enclosed in < and > signs but > > it didn't print anything. > > The code: > > > > my $line; > > $line= ""; > > # I also tried with $line = \"; > > print "$lin

Re: splitting a vector... or something like that!?

2002-02-06 Thread Michael Kelly
On 2/6/02 4:11 AM, Terje Bremnes <[EMAIL PROTECTED]> wrote: > Hi, Hey Terje, > I am a beginner in writing Perl-cgi scripts, and hope you can help me > with the following problem. I have been writing a script that uses > the Unix "grep" function to search for a word posted to the script from > a

Uploading an entire folder using CGI

2002-02-06 Thread Jason Moore
Hello, I hope someone can help me with this problem I need to write a script that allows users to upload an entire folder from their computer to a website. I know how to upload files one by one, or even multiple files at a time, but all of these ways require the user to click "browse" and lo

RE: Make Question

2002-02-06 Thread Michael Dreksler
> > From: Stephen.Hurley [mailto:[EMAIL PROTECTED]] > > > > Vaguely Perl related question...after following some of the discussion about > > HTML::Template the other day, I decided to go and get myself a copy. I'm > > running on NT (...I know, I'm moving to linux soon) and I can't seem to get >

CGI Form Submit Buttons

2002-02-06 Thread Patrick
Is there any way to change the way a submit button looks on forms and CGI generated forms. I want to try to have them looking like the other buttons on my site instead of the standard grey buttons that come as default. PAT By the way thanks for all the tips on text editors Check out www.my-pcdoct

RE: CGI Form Submit Buttons

2002-02-06 Thread Troy May
Then just make a submit.gif for what you want to use as the submit image. -Original Message- From: Patrick [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 06, 2002 5:47 PM To: [EMAIL PROTECTED] Subject: CGI Form Submit Buttons Is there any way to change the way a submit button

Re: CGI Form Submit Buttons

2002-02-06 Thread Andre` Niel Cameron
> > I personaly have had trouble with this. what exactly tells it that it is the submit button and not just a button? Andre -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: CGI Form Submit Buttons

2002-02-06 Thread Troy May
The type attribute itself takes care of this. Other than standard form "types" you can only use the "image" attribute. This allows it to act as a submit button since there is no way to use an image for the Clear button. The default is submit for type="image" within a form. -Original Messa

RE: CGI Form Submit Buttons

2002-02-06 Thread perl.org
Doesn't this button need a javascript onclick that does a form.submit? Or should the type be submit? -Original Message- From: Troy May [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 06, 2002 6:15 PM To: Patrick; [EMAIL PROTECTED] Subject: RE: CGI Form Submit Buttons Then just m

RE: CGI Form Submit Buttons

2002-02-06 Thread Troy May
type="image" defaults to submit within a form. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 06, 2002 6:34 PM To: [EMAIL PROTECTED] Subject: RE: CGI Form Submit Buttons Doesn't this button need a javascript onclick that does a form.sub

Re: CGI Form Submit Buttons

2002-02-06 Thread Andre` Niel Cameron
But what about cases of having two image buttons? Does the one that is clicked default as submit or does this require java script? Regards, André C. Technical Support Ô¿Ô¬ - Visit our support manual at http://supportman

RE: CGI Form Submit Buttons

2002-02-06 Thread Troy May
I've never done a form with 2 image buttons meaning submit. But, there is NO way to make an image act like a true clear button of a form. If you want to do this, just link that clear image back to the current URL of the form. It acts like a simple refresh. In what other cases would you have 2 i

Re: CGI Form Submit Buttons

2002-02-06 Thread Brett W. McCoy
On Wed, 6 Feb 2002, Andre` Niel Cameron wrote: > But what about cases of having two image buttons? Does the one that is > clicked default as submit or does this require java script? You give them differnet names and have your script do different things based on the name that was clicked. -- Br

making a dns record on the fly

2002-02-06 Thread Nate Brunson
Hi i need to make a perl script that will make DNS 'A' records on the fly, like i pass is the nameand it will make and A record according to the name, ie: i pass it "dumbsub" from and html file and it creates "dumbsub" A record in a specified zone, like cool.com, and points it to a specified i