Re: To write a script that reads numbers from STDIN and print on STDOUT.

2002-02-07 Thread Jeremy Webster
.snip... > > The input format is a number on a line.(press enter after every number) > > I also want to ompare the resulting two numbers with > or < and print > > the largest on STDOUT. > > Is this a homework problem perchance? heh heh heh...I thought exactly the same thing when I read it.

Re: Hexadecimal Dictionary

2002-02-05 Thread Jeremy Webster
http://www.neurophys.wisc.edu/www/comp/docs/ascii.html On Tuesday 05 February 2002 01:32 pm, Fred Sahakian wrote: > Anyone know of a good online Hexadecimal Dictionary? > > I know that %OD%OA is a carriage return, but I need to know what the code > is for a quote mark (") as well as a few others.

Re: Perl Compiler

2002-01-03 Thread Jeremy Webster
If you must use perl, one thing you might try (although it's not a perfect solution) is obfuscation. Many people (even those in the open source community!) have been trying to make it very difficult if not impossible for people to read their perl code for years. Check out the perlmonks for examp

Re: Unfriendly messages from people who should know better

2002-01-03 Thread Jeremy Webster
I agree with Graham completely. Let's try to keep responses limited to useful solutions to peoples problems. - Original Message - From: "Graham Gudgin" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 03, 2002 9:51 AM Subject: Unfriendly messages from people who should

email address checker...

2001-12-20 Thread Jeremy Webster
What is the best (standard, typical, easiest, hardest...) way to check that the information entered into a form is a valid email address? Is it just a matter of seeing if there is an @ sign and a dot in the string? or is there more to it? Thanks Jeremy -- To unsubscribe, e-mail: [EMAIL PRO

cleaning form input for display in browser...

2001-12-13 Thread Jeremy Webster
I have a form in which people can enter text, and then my perlscript spits it back out onto a web page. I know that if someone were to enter html code as text, then it could/would screw up the generated page. Is there a standard way to handle this? Or will I need to just parse through the i

printing a XML::Twig

2001-12-10 Thread Jeremy Webster
Has anyone here ever used the Twig::print method to print to a file? I'm having trouble getting it to work. Here is my code ($twig has already been parsed) $ofile = '/var/www/html/tech/xml/report.xml'; $twig->set_pretty_print('indented'); $twig->print(ofile); I get a malformed header from scri

generating an xml file

2001-12-07 Thread Jeremy Webster
I have a perl script which takes input from an html form, and appends the info to an XML file. My code works fine if I run it from the command line (substituting in values for the form values) but when I run it by calling it from a SUBMIT button, it wont alter the XML file at all. the perm

Re: Need basic commands on perl programming

2001-12-07 Thread Jeremy Webster
I personally really like this site as well http://www.cgi101.com/class/ It does a great job getting you set up and going. Have fun Jeremy [EMAIL PROTECTED] On Friday 07 December 2001 07:06 am, you wrote: > Reggy, > > The first line is "#!/usr/local/bin/perl". You can add -w = warning or > -T

why wont images in webpages created with perl show up?

2001-12-04 Thread Jeremy Webster
I have a page that I create from a perl script. My problem is that the images in the page dont load. I have the same problem when I try to use a ..css file as well. What's the deal? Everything else seems to work just fine. Here is a snippet of my code print < Tech Report