Re: checking if its a real number

2003-02-27 Thread Casey West
;. So, try this: if ( $_ == int( $_ ) ) { # do something... } Enjoy! Casey West -- I am a superhero. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: checking if its a real number

2003-02-27 Thread Casey West
print "Enter a zip code to search for: "; : $zipentered=<>; : } : } : : The only problem that i have is that if i put in >5 it breaks but works if i : put in <5. : Hope this helps. : Any fix for my problems are welcome, and needed. Enjoy!

Re: Learning Perl

2003-02-28 Thread Casey West
her option for you to obtain it without paying (if desired). Excellent work! Casey West -- Shooting yourself in the foot with AMIGA-DOS The gun works pretty well, except that few people use one and it's impossible to find bullets. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Date

2003-06-17 Thread Casey West
urrent time and date, two elements of the list are the minute and hour. >From the command line, type the following: perldoc -f localtime This will give you the information you need to do what you want. Casey West -- Shooting yourself in the foot with Unix You shoot yourself in the foo

[OT] Re: Where's the Perl jobs, baby?

2003-07-30 Thread Casey West
sitate to tell me so : (somehow, I don't think that will be a problem). However, I believe this : list is supposed to be a resource and I don't think the employment issue : is necessarily off base. Um, it's off base, but not a problem. :-) Casey West -- Shooting yourself in the f

Re: Laying Out HTML Forms

2003-10-15 Thread Casey West
the load off. I'd take a look there first. Casey West -- Shooting yourself in the foot with MS-Windows The gun blows up in your hand. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Cookie Paths

2003-11-20 Thread Casey West
It was Wednesday, November 19, 2003 when Dan Anderson took the soap box, saying: : If I create a cookie with path '/' does that mean it will be available : for all web pages on my site, or will it instead be only available to : web pages in the / directory? All, paths are hierarchical

Beta Testing a Robot

2003-12-03 Thread Casey West
I'm beta-testing a robot that searches Google when new questions are posed to the beginners' lists. I have no idea if it will be useful. :-) I'm going to watch it closely and hope it is. I'll remove it if I find that it does a bad job. Casey West -- Good Idea: Kissing a

Re: Perl script problems

2003-12-04 Thread Casey West
Hi. I'm in the employ of Casey West, a list admin, to assist you with your question. I've taken the liberty to search Google using the Subject line you provided in your email to the list. I hope one of the links below will be of service to you. Sadly Google hasn't given us a nice

Re: pass a variable from php to the perl file

2003-12-04 Thread Casey West
Hi. I'm in the employ of Casey West, a list admin, to assist you with your question. I've taken the liberty to search Google using the Subject line you provided in your email to the list. I hope one of the links below will be of service to you. Sadly Google hasn't given us a nice

Re: Beta Testing a Robot

2003-12-04 Thread Casey West
It was Wednesday, December 03, 2003 when Casey West took the soap box, saying: : I'm beta-testing a robot that searches Google when new questions are : posed to the beginners' lists. I have no idea if it will be useful. : :-) I should like to make an important note. This bot is not i

Re: Beta Testing a Robot

2003-12-04 Thread Casey West
It was Thursday, December 04, 2003 when Wiggins d Anconia took the soap box, saying: : : : > It was Wednesday, December 03, 2003 when Casey West took the soap box, : saying: : > : I'm beta-testing a robot that searches Google when new questions are : > : posed to the beginners'

Re: Beta Testing a Robot

2003-12-04 Thread Casey West
It was Wednesday, December 03, 2003 when Casey West took the soap box, saying: : I'm beta-testing a robot that searches Google when new questions are : posed to the beginners' lists. I have no idea if it will be useful. : :-) : : I'm going to watch it closely and hope it is. I&#x

[REBUILT] Re: Beta Testing a Robot

2003-12-04 Thread Casey West
oal is to be helpful, after all. :-) : -- : To unsubscribe, e-mail: [EMAIL PROTECTED] : For additional commands, e-mail: [EMAIL PROTECTED] : <http://learn.perl.org/> <http://learn.perl.org/first-response> Aah, there it is. Casey West -- Usenet is like Tetris for people who still re

Re: Webhosting with good Perl support

2004-02-14 Thread Casey West
om/support/knowledge_base/our_network_and_servers/installed_perl_modules.html I think we do a good job. So does netcraft, for what it's worth. http://uptime.netcraft.com/perf/reports/Hosters Casey West -- "Special today---no ice cream." --In a Swiss mountain inn -- To un

Re: Webhosting with good Perl support

2004-02-14 Thread Casey West
It was Saturday, February 14, 2004 when Robert took the soap box, saying: : Casey West wrote: : : >It was Saturday, February 14, 2004 when Jan Eden took the soap box, saying: : >: Hi all, : >: : >: Does anyone have an additional recommendation, so I can compare : >: some m

Re: Weekly list FAQ posting

2001-06-14 Thread Casey West
t; 1.6 - I don't see something in the FAQ, how can I make a suggestion? : > : >Send an email to <[EMAIL PROTECTED]> with your suggestion. : > : > 1.7 - Is there a supporting website for this list? : > : >Yes, there is. It is located at: : > : >

Re: Script troubles :) plz help

2001-06-26 Thread Casey West
tx The code that you have given us looks great. However, you have not given us the code that you have in your required files. If you show us the code in your required files, we may be able to tell you why 'use strict' is failing. Also, be sure to try and run your program from the comma

Re: Hashes and hashes of hashes

2001-06-26 Thread Casey West
#x27;); : : But I can't seem to get this to work. Is this just a syntax problem, : or is something more fundamentally wrong? This is a syntax problem. Try the following: $newdata{$TAG}{initsearch} = $co->param('initsearch'); [...] and access them with the same structure. Casey West -- Shooting yourself in the foot with Postscript foot bullets 6 locate loadgun aim gun shoot showpage

Re: Some Advice plz :))

2001-06-27 Thread Casey West
will write a CGI program that allows them to edit certain information. When they submit that form, the info is saved in the flat file database, in their record. If you start moving on this and get more specific questions, they will be easier to answer with example code or pointers t

Re: Different reply-to?

2001-06-27 Thread Casey West
please PLEASE can we now stop these threads and let the list get on : with what it's supposed to do which is help perl beginners get on with : productive stuff. Amen. It is finished. :) Casey West -- Shooting yourself in the foot with Pascal Same as Modula-2 except that the bullet is

Re: the phantom file handle

2001-06-29 Thread Casey West
alue for field two (value2) : "; chomp ($value2 = <>); : : #$dbh = DBI -> connect ("DBI:mysql:ami","fgs") || die $DBI::errstr; : #$sql = qq{SELECT * FROM testami WHERE $field1 = '$value1' and $field2 = '$value2'}; : #$sth = $dbh -> prep

Re: Required Fields Module

2001-07-10 Thread Casey West
*and* that you get only what you need, try the following: use CGI qw( params ); This ensured that you only get the params() function for handling simple form submissions and none of the extra stuff gets played with. Casey West -- "The concept is interesting and well-formed, but in order

Re: FUCK THE FUCKUNG MAILBOT!!!!!!!!! I WANT OUT OF THIS FUCKING LIST !!!!!!!!!!!!!!!!

2001-07-10 Thread Casey West
ave served a greater purpose! Discussion closed. Casey West -- The goal of Computer Science is to build something that will last at least until we've finished building it.

Re: Required Fields Module

2001-07-10 Thread Casey West
On Tue, Jul 10, 2001 at 03:44:32PM +0200, Aaron Craig wrote: : At 08:42 10.07.2001 -0400, Casey West wrote: : : >I would suggest that the most efficient approach might be to import : >just one symbol from CGI.pm, explicitly. Now, Aaron, I'm not saying : >you are wrong, however

Re: dropping off a few decimal points

2001-07-10 Thread Casey West
too, allthough the rounding isn't perfect. Please read: perldoc -q sprintf perldoc -q printf Casey West -- I'd rather listen to Newton than to Mundie. He may have been dead for almost three hundred years, but despite that he stinks up the room less. -- Linus

Re: applause for Casey!!!!! APPLAUSE DUDE! ('Turning the tide...' and a 911 plea for help)

2001-07-12 Thread Casey West
ame =~ m!([^/|\\]+)$!; : : $fout = $ENV{DOCUMENT_ROOT} . '/photos/ptmp/' . $fn; : : open (OUTFILE,"> $fout") or die "Can't open $fout: $!"; : print OUTFILE $buffer while ($bytesread = read($filename, $buffer, 1024)); : close OUTFILE; : } This is a

Re: applause for Casey!!!!! APPLAUSE DUDE! ('Turning the tide...' and a911 plea for help)

2001-07-12 Thread Casey West
you do the same. This discussion is closed. Thank you. Casey West -- If the automobile had followed the same development as the computer, a Rolls-Royce would today cost $100, get a million miles per gallon, and explode once a year killing everyone inside. -- Robert Cringely/InfoWorld

Re: Using modules

2001-07-31 Thread Casey West
you mean: use YourModule; but, still good info. Casey West -- Shooting yourself in the foot with Lisp You shoot yourself in the appendage which holds the gun with which you shoot yourself in the appendage which holds the gun with which you shoot yourself in the appendage which holds...

Re: -= For the LOVE OF GOD!!!! =-

2001-07-31 Thread Casey West
] : For additional commands, e-mail: [EMAIL PROTECTED] Oh, wait, I almost forgot that we now include the instructions in every message sent to the list, the above come from your email. Have you tried them? Casey West -- Shooting yourself in the foot with 370 JCL You send your foot down to MIS

Re: -= For the LOVE OF GOD!!!! =-

2001-07-31 Thread Casey West
e list owner. Of course, that's me so, if you are still having problems after you check my suggestion, please email me privatley and I'll help you get this taken care of. : so dont tell me to read the fuckin faq I know you are trying to unsubscribe from this mailing list but please don't d

Re: need help in getting background images to show up in a cgi script

2001-10-18 Thread Casey West
re OK. : # START HTML DOCUMENT : print header, start_html(-title=>"$TITLE", -background=>"$WALL"), : h2($TITLE), ($HOME); Casey West -- Shooting yourself in the foot with Smalltalk You send the message shoot to gun, with selectors bullet and myFoot. A window pops up

Re: Table OO

2001-10-29 Thread Casey West
"#cc"}, : ["Nation", "Area", "Permit"]), :]), :$q->Tr([ : $q->th({-bgcolor => "#ff"}), : $q->td(["Nation", "A

Re: [OT] Call for Top 10 reasons your form is broken

2001-11-21 Thread Casey West
refreshes. - I push the submit button and my file upload field doesn't upload the file. - I push the submit button and I get an 'Internal Server Error'. - I push the submit button and the browser just sits there. I would imagine you're doing this to build some sort of

Re: Base 64 encryption Routines

2001-11-21 Thread Casey West
odule Digest::MD5. There is a function called md5_base64(). use Digest::MD5 qw(md5_base64); my $encrypted = md5_base64( $password ); Read about it here: http://search.cpan.org/doc/MSERGEANT/AxKit-1.4/Digest-MD5-2.12/MD5.pm Casey West -- Shooting yourself in the foot with HURD You'

Re: produce questions

2001-10-17 Thread Casey West
ort, I would go with the following format: The users file is an XML file. Use Perls XML tools (XML::Parser and XML::Writer would be fine). That file would store questions and answers together. Casey West -- Shooting yourself in the foot with AIX You can shoot yourself in the foot with e

Re: Printf ?

2001-12-20 Thread Casey West
int." Use printf(), like this: printf "%.2f", $t; This says, I have a floating point number that should only display 2 digits after the decimal point. Read more in perldoc printf (and perldoc sprintf, for the formatting options). Casey West -- "Louis Pasteur's th

Re: email address checker...

2001-12-20 Thread Casey West
; } Read about the module here: http://search.cpan.org/doc/MAURICE/Email-Valid-0.13/Valid.pm Casey West -- The last good thing written in C++ was the Pachelbel Canon. -- Jerry Olson -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[ADMIN] Re: Unfriendly messages from people who should know better

2002-01-03 Thread Casey West
at does not work, email [EMAIL PROTECTED] and explain your situation there. If, even after that, there is still a problem, I asure you that beginners-workers folks will take care of it. Please trust the system, potential flame bait (whether intentional or not) is not a good thing either. Casey West