Re: A Few Questions

2007-01-23 Thread Mike Williams
On 1/23/07, Akbar Ehsan <[EMAIL PROTECTED]> wrote: I am working on a CGI script. It works fine from the command prompt. I am using Net::SMTP and strict. When I try to pass this script through a web parameter, it ends in "Internal Server Error". Often this is caused by not outputting a proper

Re: A Few Questions

2007-01-23 Thread Tyler Gee
On 1/23/07, Akbar Ehsan <[EMAIL PROTECTED]> wrote: Hello, I am working on a CGI script. It works fine from the command prompt. I am using Net::SMTP and strict. When I try to pass this script through a web parameter, it ends in "Internal Server Error". Probably a permission error. Your web s

Re: A Few Questions

2007-01-23 Thread Sean Davis
On Tuesday 23 January 2007 17:08, Akbar Ehsan wrote: > Hello, > > I am working on a CGI script. It works fine from the command prompt. > > I am using Net::SMTP and strict. > > When I try to pass this script through a web parameter, it ends in > "Internal Server Error". You will need to look in you

A Few Questions

2007-01-23 Thread Akbar Ehsan
Hello, I am working on a CGI script. It works fine from the command prompt. I am using Net::SMTP and strict. When I try to pass this script through a web parameter, it ends in "Internal Server Error". I tried using ReadParse() routine. All the variables are coming from the web. In the process

still have questions about hidden fields

2006-05-02 Thread Mary Anderson
Hi all, Many thanks to all who wrote about the static variable. I now know a lot more about cgi than I knew a few days ago! In the interest of keeping my code simple, I would like to take user input from a textfield and remember it to use it in database calls on successive pages. L. Stein

RE: Lou's Code - need a little more help on mod questions.

2005-11-29 Thread Charles K. Clarkson
Lou Hernsen wrote: : "Charles K. Clarkson" <[EMAIL PROTECTED]> : : : Lou Hernsen wrote: : : : : : Bareword "stats" not allowed while "strict subs" in use at : : : C:\WWW\MYSTIC~1\CGI-BIN\TEST-N~1\MA.CGI line 4359. Execution : : : of C:\WWW\MY

Re: Lou's Code - need a little more help on mod questions.

2005-11-29 Thread Lou Hernsen
I did some testing tonight when I take out use stats; and take out stats; the program runs perfect. and the stats.pm runs just fine in my editor. so what the command to run the mod in it entirity? or does it have to be run as one big subroutine? I will experient with that tommorrow Lou --

Re: Lou's Code - need a little more help on mod questions.

2005-11-29 Thread Lou Hernsen
- Original Message - From: "Charles K. Clarkson" <[EMAIL PROTECTED]> To: Sent: Monday, November 28, 2005 3:10 PM Subject: RE: Lou's Code - need a little more help on mod questions. > Lou Hernsen <mailto:[EMAIL PROTECTED]> wrote: > > : Bareword &q

RE: Lou's Code - need a little more help on mod questions.

2005-11-28 Thread Charles K. Clarkson
Lou Hernsen wrote: : Bareword "stats" not allowed while "strict subs" in use at : C:\WWW\MYSTIC~1\CGI-BIN\TEST-N~1\MA.CGI line 4359. Execution of : C:\WWW\MYSTIC~1\CGI-BIN\TEST-N~1\MA.CGI aborted due to compilation : errors What's on the lines near line 4359? HTH,

Lou's Code - need a little more help on mod questions.

2005-11-28 Thread Lou Hernsen
OK... I have put the mod in the same dir as the main prog. chmod 644 on mod chmod 755 on main however there is an error. the mod does nothing more that produce HTML and a few calculations. the mod works fine with out error in my editor. however the main program does not like how I call stats.pm i

Re: mod_perl questions

2004-12-18 Thread Sean Davis
://modperlbook.org/ and is a fantastic resource. There are, of course, many websites devoted to getting started with mod_perl. - Original Message - From: "Greg Donald" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, December 18, 2004 4:35 PM Subject: mod_perl ques

mod_perl questions

2004-12-18 Thread Greg Donald
I've used Perl off and on for years but I am now trying to work with mod_perl and I have some questions/issues. How can I tell if I have mod_perl configured correctly? I installed it with `emerge mod_perl` on my Gentoo box. I am running Apache2. I see the line: Apache/2.0.52 (Gentoo/

Re: questions about bind_param and mysql trace data included

2004-05-11 Thread Brad Lhotsky
Try this: On Tue, May 11, 2004 at 12:51:28PM -0700, [EMAIL PROTECTED] wrote: > > > below I have a snippet from a trace file read out for a section of code below. The > problem seems to be with '$sth->bind_param (2,$rh_row->{prop_str_addr});' The first > Bind works fine however the next one in

questions about bind_param and mysql trace data included

2004-05-11 Thread smrtalec
below I have a snippet from a trace file read out for a section of code below. The problem seems to be with '$sth->bind_param (2,$rh_row->{prop_str_addr});' The first Bind works fine however the next one in the line listed produces a null entry per the trace file. I have verified that the data

Re: OT: Re: Fwd: Interview Questions

2004-04-21 Thread drieux
On Apr 20, 2004, at 8:05 PM, Wiggins d'Anconia wrote: [..] To anyone out there doing hiring, please think about what questions you are and aren't capable of asking. [..] first off props to Shaun for a worthwhile set of distinctions between CGI as the "common gateway interface&

Re: OT: Re: Fwd: Interview Questions

2004-04-21 Thread Shaun Fryer
mpany's existing codebase and coming up with general questions pertainant to it's functionality. For instance, say you use CGI.pm extensively (which I assume is likely). Have a simple CGI.pm problem prepared on paper before hand which the interviewee(s) are asked to solve. Or ask them to wr

Re: Interview Questions

2004-04-21 Thread Jan Eden
intended to be an insult, it's based on my interpretation of your posts. I might be wrong about your Perl experience, of course. Good luck, Jan - Original Message - From: Mallik Sent: 20.04.2004, 21:21 Uhr >Dear Friends, > >Please provide me a list of Interview questions that

OT: Re: Fwd: Interview Questions

2004-04-20 Thread Wiggins d'Anconia
ould be able to formulate my own questions that are pertinent to the situation. I guess I have been to entirely too many interviews where the interviewee new next to nothing about anything, so much so that they couldn't tell if I was an idiot or an expert (I don't claim to know wh

Fwd: Interview Questions

2004-04-20 Thread drieux
viewing of folks who were going to be writing perl code for some portion of the CGI project? Where would you go to see if folks had a stock set of basic perl code questions that related to doing web-work. My lead engineer sets them up with a basic walk through on basic so called 'simple perl quest

Re: Interview Questions

2004-04-20 Thread Wiggins d Anconia
> Dear Friends, > > Please provide me a list of Interview questions that are frequently asked in > Perl. > This has what to do with CGI? I would also suggest that if you post this message in a more appropriate forum that you state your reasons for wanting them. If you are

Interview Questions

2004-04-20 Thread Mallik
Dear Friends, Please provide me a list of Interview questions that are frequently asked in Perl. Thank you, Mallik. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

Apache::session questions

2004-01-26 Thread Kenneth W. Craft MCP
I want to allow my users to login to the site and give them access to forums, classifieds, and other "user specific" information. I've been trying to figure this out all week, butt have not come up with a workable solution. Here are a few questions: 1. How do I use .htpasswd fi

Re: Real beginner's questions

2003-09-24 Thread drieux
On Wednesday, Sep 24, 2003, at 11:39 US/Pacific, Bill Teschek wrote: HTH, Thanks for responding. My questions at this point are more in line with how to get a script file to work with perl on our webserver. I'm been doing static HTML for years now but have just never ventured into cg

Re: Real beginner's questions

2003-09-24 Thread drieux
On Wednesday, Sep 24, 2003, at 10:36 US/Pacific, Bill Teschek wrote: [..] I'm not sure what else I need to do to get perl to work on our website. Also, we had an older version of perl installed at d:\website\perl by a previous administrator, and I'm not sure if there is going to be some kind of a

Real beginner's questions

2003-09-24 Thread Bill Teschek
Hello, I just subscribed to this list today hoping I might find someone who could help me over some of my initial hurdles with learning to work with Perl and cgi- scripts. All I know about the subject I learned today in browsing the web, and I'm finding that all of the sites I go to assume a

Re: Truncate questions.

2003-09-15 Thread drieux
On Saturday, Sep 13, 2003, at 05:52 US/Pacific, Sara wrote: [..] 2. I have DB with 4-8 digits number in each line e.g. 1238483 92933 09983433 093 The truncate function truncates the file very abruptly [..] well actually there are various types of DB's - some such as SDBM_File will have 'informati

Re: Truncate questions.

2003-09-14 Thread Bob Showalter
Sara wrote: > open (DB, "+ > truncate (DB, 1024); > > close DB; > > > > 1. This truncate the file from bottom .. Is there a way the > file can truncated from the top? No. You have to rewrite the file contents to delete from the beginning of the file. > > 2. I have DB with 4-8 digits numbe

Truncate questions.

2003-09-13 Thread Sara
open (DB, "+

a few more questions while I am at it....

2003-08-21 Thread Catriona Wordsworth
I am interested in programming my script to pick up the email addresses operated by the main email client as a particular page is opened and then pass that on to me via email. presumably I could then do the same with picking up the IP and browser details as well... can someone point me in

Re: sprintf questions

2003-03-13 Thread Brett W. McCoy
On Wed, 12 Mar 2003, David Gilden wrote: > Is the following considered ok as in good PERL style? > > #!/usr/bin/perl -w > > $num =1.12345; > > my $tax_formated = sprintf("%.2f", $num); # <--- THIS LINE > > print "$tax_formated " ,length($tax_formated), "\n"; The important thing is, does it do w

sprintf questions

2003-03-12 Thread David Gilden
Is the following considered ok as in good PERL style? #!/usr/bin/perl -w $num =1.12345; my $tax_formated = sprintf("%.2f", $num); # <--- THIS LINE print "$tax_formated " ,length($tax_formated), "\n"; Thanks Dave -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comma

Re: Perl on IIS Error logs and DBI:ODBC questions

2003-02-03 Thread Octavian Rasnita
e" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, February 03, 2003 1:41 PM Subject: Perl on IIS Error logs and DBI:ODBC questions I am running a cgi scrips written in perl using DBI:ODBC and I'm reading data from a MSAccess database and trying to output that as a HTM

Perl on IIS Error logs and DBI:ODBC questions

2003-02-03 Thread Jattie van der Linde
I am running a cgi scrips written in perl using DBI:ODBC and I'm reading data from a MSAccess database and trying to output that as a HTML document on our intranet. The script runs fine from the commandline but as soon as I run this from a web interface the output dissapears and I see no error

Re: css attributes in CGI - more questions

2002-09-30 Thread Michael Kelly
On Sun, Sep 29, 2002 at 06:38:16PM +1000, Jimmy George wrote: > and both refered me to > > LIMITED SUPPORT FOR CASCADING STYLE SHEETS > from > perldoc CGI > > where is that? I am a beginner. On a Mac. With a home page serviced by a > remote ISP. No Linux contact. Assuming you're using OS 9, jus

Re: css attributes in CGI - more questions

2002-09-29 Thread Janek Schleicher
Jimmy George wrote at Sun, 29 Sep 2002 10:38:16 +0200: > LIMITED SUPPORT FOR CASCADING STYLE SHEETS > from > perldoc CGI > > where is that? I am a beginner. On a Mac. With a home page serviced by a > remote ISP. No Linux contact. It's a subsection in the perl documentation of the CGI module. p

css attributes in CGI - more questions

2002-09-29 Thread Jimmy George
Two great replies to my query *** Just to add to the thread, any -name=>'value' pair set in a hash ref passed as the first argument to a CGI object's html generating methods will be translated into tag attributes and values. [trwww@devel_rh trwww]$ perl -MCGI -e '$q=new CGI; pr

Re: Sort of questions about CGI

2002-08-04 Thread zentara
On Sun, 4 Aug 2002 02:46:46 +0800, [EMAIL PROTECTED] (Connie Chan) wrote: >>"many detailed questions on CGI " You need to search thru the RFC's for cgi Here's a start: http://cgi-spec.golux.com/ http://www.perl.org/CGI_MetaFAQ.html -- To unsubscribe, e-m

Sort of questions about CGI

2002-08-03 Thread Connie Chan
1. Can remote user hide their REMOTE_ADDR and HTTP_REFERER? 2. What types of REQEUST_METHOD will CGI / CGI.pm handles ? I think just get and post. 3. How many enctypes here ? What I know is 2. Is that refer to CGI/1.1 or HTTP/1.1 or the browser? 4. When I pick up a form, would the line breaks

Re: Two Questions

2002-07-24 Thread Omar Shariff
Thanks Connie and Bob for answer too fast!!! i'm very stupid i try all things except that well thanks so much!!! I read perldoc perlcc but its for unix, i think works for win but i need the libs... i'm still searching Gonzalo Ahora podés usar Yahoo! Messenger desde tu celular. Aprendé c

RE: Two Questions

2002-07-24 Thread Bob Showalter
> -Original Message- > From: Omar Shariff [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, July 24, 2002 9:03 AM > To: [EMAIL PROTECTED] > Subject: Two Questions > > > Hi, i've two questions (problems...) > 1.- I've perl for windows (active perl) w

Re: Two Questions

2002-07-24 Thread Connie Chan
> 1.- I've perl for windows (active perl) when i try to > do a line command it's doesn't work! i do something > like this: > D:\>perl -e 'for(1..300)sleep 1;print STDERR ".";' It could be : perl -e "sleep 1 for (1..300) ; print STDERR '.'" or perl -e "for (1..300){sleep 1 } print STDERR \".\""

Two Questions

2002-07-24 Thread Omar Shariff
Hi, i've two questions (problems...) 1.- I've perl for windows (active perl) when i try to do a line command it's doesn't work! i do something like this: D:\>perl -e 'for(1..300)sleep 1;print STDERR ".";' and i receive this answer!!!: Can't find

Re: Couple of newbie questions

2002-07-17 Thread zentara
On Tue, 16 Jul 2002 12:53:33 -0400, [EMAIL PROTECTED] (Kerr Wall) wrote: >Hi All, >What is the best way to test and debug? My vote is to use the ptkdb module. It is a graphical tk debugger for perl. It's beautiful, you can make break points, and list variable values; just watch the variables

RE: Couple of newbie questions

2002-07-16 Thread Joel Hughes
ule for Perl to write to the Apache log - search on search.cpan.org and I'm sure you'll find one. regards Joel -Original Message- From: Kerr Wall [mailto:[EMAIL PROTECTED]] Sent: 16 July 2002 17:54 To: [EMAIL PROTECTED] Subject: Couple of newbie questions Hi All, I am curren

Re: Couple of newbie questions

2002-07-16 Thread perl-dvd
y other errors in your script (usually syntax). Watch the error log for these. Good Luck, David - Original Message - From: "Kerr Wall" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 16, 2002 10:53 AM Subject: Couple of newbie questions Hi All,

Re: Couple of newbie questions

2002-07-16 Thread fliptop
Kerr Wall wrote: > How does perl handle multiple requests. For example, if 10 users are > logged into your system and they are all trying to use the same script, > how does perl deal with this situation? unless you're running mod_perl, a separete perl interpreter will start for each request

Couple of newbie questions

2002-07-16 Thread Kerr Wall
Hi All, I am currently switching to Perl/CGI from the Java servlet world. I'm wishing I would have made this switch a long time ago and I have a couple of questions: How does perl handle multiple requests. For example, if 10 users are logged into your system and they are all trying t

Re: Fw: 2 Questions

2002-07-04 Thread John Brooking
--- Kyle Babich <[EMAIL PROTECTED]> wrote: > Sorry for bothering everyone again, but could > someone tell me what to change > so that I can import variables from external files > and get them to work in > the current file? (see original message) > > Thank you, > Kyle Copied from "perldoc CGI":

Fw: 2 Questions

2002-07-03 Thread Kyle Babich
> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 03, 2002 11:07 AM Subject: Re: 2 Questions > Still getting the same problem, name requires explicit package name. > > #!/usr/bin/perl -wT > use strict; > use Data::Dumper; > use CGI qw( :standard ); > > print header ( &qu

Re: 2 Questions

2002-07-03 Thread Kyle Babich
; Sent: Wednesday, July 03, 2002 11:37 AM Subject: RE: 2 Questions > why's the our in $name? you don't even use $name anywhere else. > > Here are some examples of "good" code using some of your ideas (still don't > know what you are trying to accomplish). >

Re: 2 Questions

2002-07-03 Thread Ovid
--- Kyle Babich <[EMAIL PROTECTED]> wrote: > Still getting the same problem, name requires explicit package name. > > #!/usr/bin/perl -wT > use strict; > use Data::Dumper; > use CGI qw( :standard ); > > print header ( "text/html" ); > > my $hash_ref = do ( 'fried.dat' ) || die "error: unable t

RE: 2 Questions

2002-07-03 Thread Nikola Janceski
ins: $name = "chicken"; { name => 'fried' } > -Original Message- > From: Kyle Babich [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, July 03, 2002 11:07 AM > To: [EMAIL PROTECTED] > Subject: Re: 2 Questions > > > Still getting the same

Re: 2 Questions

2002-07-03 Thread Kyle Babich
EMAIL PROTECTED]> Cc: "beginners-cgi" <[EMAIL PROTECTED]> Sent: Wednesday, July 03, 2002 9:25 AM Subject: RE: 2 Questions > scoping!!! my only scopes the end of the file! > > so my in fried.dat is scoped only in fried.dat. > > use our($name); > > >

RE: 2 Questions

2002-07-03 Thread Nikola Janceski
gt; Subject: Re: 2 Questions > > > I'm still getting the $name requires explicit package name. > > Here is what I have in index.pl > > #!/usr/bin/perl -wT > use strict; > use Data::Dumper; > use CGI qw( :standard ); > > print header ( "text/html" );

Re: 2 Questions

2002-07-03 Thread Kyle Babich
I'm still getting the $name requires explicit package name. Here is what I have in index.pl #!/usr/bin/perl -wT use strict; use Data::Dumper; use CGI qw( :standard ); print header ( "text/html" ); my $hash_ref = do ( 'fried.dat' ) || die "error: unable to open fried.txt\n"; print Dump

Re: 2 Questions

2002-07-02 Thread Ovid
--- Kyle Babich <[EMAIL PROTECTED]> wrote: > How can I import scalars, arrays, etc. from external perl and text > files? > > This is what I have in index.pl: > > #!/usr/local/bin/perl -wT > use strict; > use CGI qw/ :standard /; > > print header ( 'text/html' ); > > open(TEXT," while() {

2 Questions

2002-07-02 Thread Kyle Babich
How can I import scalars, arrays, etc. from external perl and text files? This is what I have in index.pl: #!/usr/local/bin/perl -wT use strict; use CGI qw/ :standard /; print header ( 'text/html' ); open(TEXT,") { print; } close(TEXT) or die("error: fried.txt failed\n

Re: Some more newbie Questions!

2002-04-28 Thread Matthew Weier O'Phinney
On Sun, 28 Apr 2002 00:53:37 -0400, Jamie wrote: > I Want to do something like below, but the SetupCitiesComboBox doesn't > work as expected in the table. It displays a combo box before the table > is constructed, NOT in it, but in the block it just displays a 1. > The SetupCitiesComboBox sub just

Some more newbie Questions!

2002-04-28 Thread Jamie
Hi, first thanks to everyone for all the help :-) Now i'm struggling on, (no thanks to apache :-( ) Now i've been writing my raw html statements in print" "; blocks. I thought i might clean it up, especially the table stuff. However i've hit a wall: I Want to do something like below, but the

Re: Some Newbie Questions :-)

2002-04-22 Thread John Brooking
neral rule as regards to size/ number of > lines/records? > ... I've just gone through a similar decision process. It depends entirely on your situation. Some questions you need to consider are: 1) What tools does my platform support? 2) How much data do I have now, and how fast will it

Re: Some Newbie Questions :-)

2002-04-21 Thread drieux
On Sunday, April 21, 2002, at 12:25 , Jamie wrote: [..] > 1) I've installed a couple of modules but with some of the i get > errors where the module TEST::More couldn't be found, and i can't find > it either. the CPAN can be your friend - http://search.cpan.org/search?mode=module&query=

Some Newbie Questions :-)

2002-04-21 Thread Jamie
Hi, i've only just started Perl and CGI, so please forgive me if i ask the obvious :-) 1) I've installed a couple of modules but with some of the i get errors where the module TEST::More couldn't be found, and i can't find it either. 2) Should i use text files for my data or dive straight into s

RE: Sort of Conceptual, Syntax, and modules related questions

2002-03-23 Thread Timothy Johnson
Oops! The exclamation point in number 7 was a typo. -Original Message- From: Timothy Johnson To: 'Connie Chan '; [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: 3/22/02 1:59 PM Subject: RE: Sort of Conceptual, Syntax, and modules related questions 1. It will only read the

RE: Sort of Conceptual, Syntax, and modules related questions

2002-03-23 Thread Timothy Johnson
sentence =~ s/one/two/gi; #$sentence is now "two must always watch what two says in public." or $sentence =~ s/one/two/i; #$sentence is now "two must always watch what one says in public." 8. Not sure on this one. 9. Check CPAN http://search.cpan.org Whew! Good questions. I

Sort of Conceptual, Syntax, and modules related questions

2002-03-22 Thread Connie Chan
Dear All, I have sort of questions, would you please give me some hint, even refering me to a perldoc would be nice too. 1. When I open a text file with *lines, however, I just want to read the first line, would this be a good idea ? open (FILE, "textfile.txt"); $firstline = ; c

Re: last questions for my webmail script.

2002-03-21 Thread Matthew Harrison
so that is all i have to write? seems a bit sparse compared with majority of other perl code, but there we go, you obviously know more about this that me. On Thursday 21 Mar 2002 5:19 pm, fliptop wrote: > [reply cc'd to list] > > Matthew Harrison wrote: > > that doesn't really answer the questi

Re: last questions for my webmail script.

2002-03-21 Thread fliptop
[reply cc'd to list] Matthew Harrison wrote: > that doesn't really answer the question as it doesn't really clearly show > what the syntax should be and how it is used. > > On Thursday 21 Mar 2002 12:38 pm, you wrote: > >>Matthew Harrison wrote: >> >>>What is the syntax to redirect the user t

Re: last questions for my webmail script.

2002-03-21 Thread fliptop
Matthew Harrison wrote: > What is the syntax to redirect the user to another page? i need to be able > to include a query string in the redirect, plus it needs to be immediate > and automatic. perldoc -q redirect -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

last questions for my webmail script.

2002-03-21 Thread Matthew Harrison
What is the syntax to redirect the user to another page? i need to be able to include a query string in the redirect, plus it needs to be immediate and automatic. plus i still need a way to check whether the username variable in my script matches any usernames in the system's /etc/passwd file.

Re[2]: Curtis Poe Script/Lesson Questions

2002-01-07 Thread K.L. Hayes
ansition. IMO It's better that I ask questions & do the homework than to risk my clients data & servers. Your contributions to this list and online lessons are of great help. Thank You! Best regards, K.L. Hayes Monday, January 07, 2002, 2:24:42 PM, you wrote: CP> --- &q

Re: Re[2]: Curtis Poe Script/Lesson Questions

2002-01-07 Thread Curtis Poe
--- "K.L. Hayes" <[EMAIL PROTECTED]> wrote: > Hello Jonathan & All, > > Thank you for taking the time to answer. I "thought" that the $1 was > locally scoped but didn't want to "assume" it. Better not to assume > things with Perl has been my experience. See my previous reply to your question. $

Re: Curtis Poe Script/Lesson Questions

2002-01-07 Thread Curtis Poe
--- "K.L. Hayes" <[EMAIL PROTECTED]> wrote: > 17: if ( $tainted_username =~ /^([a-zA-Z\d_]+)$/ ) > 18: { > 19: $username = $1; > 20: } > 21: else > 22: { > 23: display_page( $message ); > 24: exit; > 25: } > > OK... The quest

Re[2]: Curtis Poe Script/Lesson Questions

2002-01-07 Thread K.L. Hayes
Hello Jonathan & All, Thank you for taking the time to answer. I "thought" that the $1 was locally scoped but didn't want to "assume" it. Better not to assume things with Perl has been my experience. I don't fully understand the trinary operator. However I'll research this tonight. My main conc

Re: Curtis Poe Script/Lesson Questions

2002-01-07 Thread Jonathan E. Paton
> 1. Why doesn't "use strict" complain about the $1 not > being declared? $1, $2 etc are locally scoped variables which come from the regex. A regex like: m/(..)(.*)/ will place the first two characters into $1, and the rest into $2 - according to the parathesis. > 2. How can I filter ALL of

Curtis Poe Script/Lesson Questions

2002-01-07 Thread K.L. Hayes
Hello All, I was looking over the lesson posted by Curtis Poe & have questions I hope somebody (maybe Mr. Poe?) can help with. The lesson is posted here: http://www.easystreet.com/~ovid/cgi_course/lesson_four/lesson_four_2.html The code in question is this piece here: 17:

Re: questions

2001-10-25 Thread Mark Bergeron
e: Thu Oct 25 07:37:53 PDT 2001 Subject: questions >hi! > >please consider the following: > >i downloaded the perl source from active state. is there an index of >commands/instructions with syntax rules included in the download? if not, where >might i find one? > >i

questions

2001-10-25 Thread Gary M Rocco
hi! please consider the following: i downloaded the perl source from active state. is there an index of commands/instructions with syntax rules included in the download? if not, where might i find one? i am using windows 98. must i run scripts from the dos prompt? how can perl be used to m

Re: produce questions

2001-10-17 Thread Casey West
On Oct 17, 2001 at 10:55 -0700, nayyreh atabakhsh took the soap box and proclaimed: : Hi group : : I am looking for the programm in perl that produce : this information : : The name of the file should be the same as the user's : name. : The list of questions to ask the user must be s

produce questions

2001-10-17 Thread nayyreh atabakhsh
Hi group I am looking for the programm in perl that produce this information The name of the file should be the same as the user's name. The list of questions to ask the user must be stored in a file. If the same user runs your script again, then the previous answers for each que

Re: Some questions

2001-07-30 Thread Gabor Szabo
Hi Martin, You should start learning regular expressions e.g. by typing perldoc perlre or probably better with one of the Perl Books. Probably Learning Perl 3rd edition can be a good choice though I have seen only the 2nd yet. and now your examples: > > I want to know what this lines can mean

Some questions

2001-07-30 Thread Martin Richard
Hi! I want to know what this lines can mean. I have a lot of lines like that to understand. s/à/a/g $qte1 =~ /\s*//g ; $usager =~ s/-/_/g ; $ppa =~ /o/i Thanks a lot Martin -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]