;.
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]
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!
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]
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
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
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]
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
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
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
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
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
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'
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
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
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
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
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:
: >
: >
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
#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
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
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
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
*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
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.
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
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
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
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
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...
]
: 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
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 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
"#cc"},
: ["Nation", "Area", "Permit"]),
:]),
:$q->Tr([
: $q->th({-bgcolor => "#ff"}),
: $q->td(["Nation", "A
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
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'
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
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
;
}
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]
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
39 matches
Mail list logo