Re: Binary characters in my URL

2004-07-22 Thread Keith C. Ivey
experiment with 'sect'? The bottom line is, to save a lot of headaches and avoid creating invalid HTML, simply escape all ampersands in HTML. -- Keith C. Ivey [EMAIL PROTECTED] Washington, DC ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe

Re: Binary characters in my URL

2004-07-21 Thread Keith C. Ivey
text after the ampersand that matches an entity, and it'll bite you. Worse, the document may work for a long time and then suddenly stop working when a new set of entities (like part;) starts being supported in browsers. -- Keith C. Ivey [EMAIL PROTECTED] Washington, DC

Re: perl to monitor other perl apps...

2004-07-03 Thread Keith C. Ivey
the process is reported. Unfortunately that doesn't seem to work on Windows. -- Keith C. Ivey [EMAIL PROTECTED] Washington, DC ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Re: comparing srtings

2004-06-30 Thread Keith C. Ivey
the intent. If not, the failure should at least indicate there may be a problem with the regex. -- Keith C. Ivey [EMAIL PROTECTED] Washington, DC ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com

Re: weird stuff in incrementing for loop with Perl

2004-05-23 Thread Keith C. Ivey
using the whole question for anchor text, but scroll down if you have trouble). Try using this instead of the print: printf %.1f GHz\n, $speed; -- Keith C. Ivey [EMAIL PROTECTED] Washington, DC ___ Perl-Win32-Users mailing list [EMAIL PROTECTED

Re: qx// broken on Win98

2004-02-10 Thread Keith C. Ivey
it is, remember that it's orders of magnitude more likely that what's broken is your program or your understanding of the situation. -- Keith C. Ivey [EMAIL PROTECTED] Washington, DC ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http

Re: array of anon. hashes sorting

2003-09-26 Thread Keith C. Ivey
} } @senddata; -- Keith C. Ivey [EMAIL PROTECTED] Washington, DC ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Re: Use of uninitialized value in concatenation (.) or string at...

2003-09-07 Thread Keith C. Ivey
no assignment or reference. -- Keith C. Ivey [EMAIL PROTECTED] Washington, DC ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

RE: Perl eval wierdness

2003-09-04 Thread Keith C. Ivey
have to parse the eval() block to figure out where it ends. There was some discussion of a related issue on perl5-porters recently: http://xrl.us/nis -- Keith C. Ivey [EMAIL PROTECTED] Washington, DC ___ Perl-Win32-Users mailing list [EMAIL

Re: system ('time', $time) driving me nuts

2003-08-14 Thread Keith C. Ivey
. The quotes around $time, however, are pointless and confusing. -- Keith C. Ivey [EMAIL PROTECTED] Washington, DC ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Re: CSV munging and uninitialized values

2003-08-11 Thread Keith C. Ivey
the third, you have to specify the second): @line = split /,/, $_, -1; Also note that commas are not special in regular expressions, to there's no need to escape them. -- Keith C. Ivey [EMAIL PROTECTED] Washington, DC ___ Perl-Win32-Users mailing list

Re: Random Numbers

2003-06-25 Thread Keith C. Ivey
on the setting of randbits in the configuration. Try this: perl -MConfig -le print $Config{randbits} (use single quotes on non-Windows platforms, of course). The perls that give lots of 0's will have randbits set to 15. -- Keith C. Ivey [EMAIL PROTECTED] Washington, DC

Re: DIY Web Servers Re: HTML forms to a file

2003-04-12 Thread Keith C. Ivey
of Death). Most people still aren't using Apache 2.0, because it doesn't really offer many useful new features. I use Apache 1.3 with ZoneAlarm and have no problems. -- Keith C. Ivey [EMAIL PROTECTED] Washington, DC ___ Perl-Win32-Users mailing list

Re: Regular Expression matching problem

2003-03-09 Thread Keith C. Ivey
be, wilma was mentioned \n, 7 times? My output file only mentions it once. What am I doing wrong? What do you think the '\s+' means in that regular expression? After you've chomped them, only one line has whitespace after 'wilma', so only one matches. -- Keith C. Ivey [EMAIL PROTECTED] Washington

RE: Case insensitive search help

2003-02-20 Thread Keith C. Ivey
); -- Keith C. Ivey [EMAIL PROTECTED] Washington, DC ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Re: deterministic regexps

2002-03-27 Thread Keith C. Ivey
C. Ivey [EMAIL PROTECTED] Washington, DC ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Re: Idiomatic way to substitute one set of strings for another?

2002-02-23 Thread Keith C. Ivey
]? If you're only handling ASCII, then it should be [0-7]. If you want to handle ISO-8859-1 (Latin 1), then if should be [0-9a-fA-F], same as the second digit. -- Keith C. Ivey [EMAIL PROTECTED] Washington, DC ___ Perl-Win32-Users mailing list [EMAIL

Re: Repost: problems with elsif and $self

2002-02-22 Thread Keith C. Ivey
the compiler to produce similar code for both. -- Keith C. Ivey [EMAIL PROTECTED] Washington, DC ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Re: Regular expression help

2001-12-01 Thread Keith C. Ivey
+016, which is what Perl does when asked to convert the number 35968322963568389 to a string. Regex matching works on strings, so the '\d*' stops matching at the '.'. -- Keith C. Ivey [EMAIL PROTECTED] Washington, DC ___ Perl-Win32-Users mailing list

RE: sprintf question

2001-11-28 Thread Keith C. Ivey
') but the second doesn't. Remember that the regex matcher backtracks if necessary to get the match. In addition, the second matches 234\n\n but the first doesn't, because '.' doesn't match a newline unless you use the /s modifier. -- Keith C. Ivey [EMAIL PROTECTED] Washington, DC

RE: sprintf question

2001-11-28 Thread Keith C. Ivey
of Larry Rosler's mini-rants on the subject here: http://groups.google.com/groups?q=group%3Acomp.lang.perl.misc+author%3Arosler+sprintf+octal -- Keith C. Ivey [EMAIL PROTECTED] Washington, DC ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] http

Re: not match regex for XML schema validation

2001-10-08 Thread Keith C. Ivey
ng that starts with "cid:" or "file:" or something that consists entirely of characters that aren't colons: /^(?:cid|file):|^[^:]*$/ -- Keith C. Ivey <[EMAIL PROTECTED]> Washington, DC ___ Perl-Win32-Users mailing list [EMAI