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
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
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
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
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
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
} }
@senddata;
--
Keith C. Ivey [EMAIL PROTECTED]
Washington, DC
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
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
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
. 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
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
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
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
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
);
--
Keith C. Ivey [EMAIL PROTECTED]
Washington, DC
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
C. Ivey [EMAIL PROTECTED]
Washington, DC
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
]? 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
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
+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
') 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
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
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
22 matches
Mail list logo