perlmeme.org Feedback
URL: | /tutorials/html_parser.html | From: | unknown |
---|---|---|---|
Feedback: | Hi guys, Thanks for that info. It just fell short of what I needed, actually. Gisle's modules are drastically short on documentation, so it's handy to have an explanation. I'm still mystified as to why it's impossible to find an inline link parser. I've found some OK solutions on the net.. but they're awfully complicated, and need 20 or 30 lines of code, instead of: use HTML::Parser::Inline; print $parser->parse_inline( $html )->[href => abs]; or something that changes links in the document (in this case, changing from absolute to relative links and prints the output. ) It's really annoying that perl is like this. It's actually easier to do this in Java - shock, horror, moan !! It's even easier in PHP. ( Groan ) | ||
Date: | 2005-09-24 04:46:44 | Comment Date: | |
Site comment: |
URL: | /faqs/file_io/fixedwidthfile.html | From: | adam.clarke@st... |
---|---|---|---|
Feedback: | Pack and unpack should be mentioned here. They have the advantage of being "2 way" in that the same template can be used for packing and unpacking the fixed length string. It could also be argued that the templates are easier to understand than printf. There is an excellent thread on perlmonks about file formats that mentions pack and unpack as well as lots of other tips that someone looking at this item might find useful. http://www.perlmonks.org/index.pl?node_id=491321 | ||
Date: | 2005-09-29 17:16:52 | Comment Date: | |
Site comment: |
URL: | /faqs/index.html | From: | unknown |
---|---|---|---|
Feedback: | http://www.perlmeme.org/howtos/perlfunc/index_function.html I believe the code in 1a and 1c may need to be swapped. Indexing for e in perlmeme should result in 3, not 1 and l should result in 1, not 3. Great site! Good information here. | ||
Date: | 2005-09-30 02:02:59 | Comment Date: | 2005-10-05 16:52:03 |
Site comment: | Examples on site are correct. The e in perlmeme is at position 1, although there are 3 of them. Similarly the l is at position 3 but there is only 1. |
URL: | /faqs/regexp/assign_in_one.html | From: | alansyoungiii@gm... |
---|---|---|---|
Feedback: | ( $var1 = $var2 ) =~ s/reg/ex/; is ok for small values, but I think a better way to do it would be ( $var1 ) = $var2 =~ /(capture)/; My reasoning is this: In the first case, you copy the contents of a string to another memory location, then shrink it (usually; it's possible the regex would actually make it larger). In the second case, you find the part of the code you want from the first string and copy it to a new location in memory. The first case causes a waste of memory, even if temporary and has to be garbage collected while the second just creates the needed memory. | ||
Date: | 2005-10-01 08:58:39 | Comment Date: | |
Site comment: |
URL: | /misc/feedback.html | From: | unknown |
---|---|---|---|
Feedback: | Why try to usurp learn.perl.org? You may make alot of people angry. | ||
Date: | 2005-10-03 04:27:39 | Comment Date: | |
Site comment: | We are the knights who say "Ni" |
URL: | /howtos/index.html | From: | holein5@ja... |
---|---|---|---|
Feedback: | Very nice site. I have it bookmarked and will be checking back often for updates. | ||
Date: | 2005-10-04 05:10:43 | Comment Date: | |
Site comment: |
URL: | /tutorials/sort_function.html | From: | lukas@jh... |
---|---|---|---|
Feedback: | Excellent!!! It helped me out sooooo much! | ||
Date: | 2005-10-25 10:22:50 | Comment Date: | |
Site comment: |
URL: | /tutorials/cgi_form.html | From: | noyler@kh... |
---|---|---|---|
Feedback: | http://perlmeme.org/tutorials/cgi_form.html, should be my $q = new CGI; not my $q = CGI; with strict on. I'm quite the newb, but that's my case. | ||
Date: | 2005-12-28 07:26:57 | Comment Date: | 2006-01-24 01:00:27 |
Site comment: | Many thanks. This is fixed now. |
URL: | /tutorials/cgi_form.html | From: | noyler@kh... |
---|---|---|---|
Feedback: | The style sheet section isn't working for me. In a previous version it comes out fine, I installed a new version of CGI and the code doesn't work anymore. Here is the source for the page with the previous version, <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en-US" xml:lang="en-US"><head><title>Nagios Administration</title> <style type="text/css"> <!--/* <![CDATA[ */ /* Stylesheet code */ body { font-family: verdana, sans-serif; } h2 { color: darkblue; border-bottom: 1pt solid; width: 100%; } div { text-align: right; color: steelblue; border-top: darkblue 1pt solid; margin-top: 4pt; } th { text-align: right; padding: 2pt; vertical-align: top; } td { padding: 2pt; verical-align: top; } /* End Stylesheet code */ /* ]]> */--> And here it is for the new version <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en-US" xml:lang="en-US"> <head> <title>Nagios Administration</title> <link rel="stylesheet" type="text/css" href=" /* Stylesheet code */ body { font-family: verdana, sans-serif; } h2 { color: darkblue; border-bottom: 1pt solid; width: 100%; } div { text-align: right; color: steelblue; border-top: darkblue 1pt solid; margin-top: 4pt; } th { text-align: right; padding: 2pt; vertical-align: top; } td { padding: 2pt; verical-align: top; } /* End Stylesheet code */ " /> Maybe there is something I'm misunderstanding, but it's weird how it works on one version, and not another, same code. | ||
Date: | 2005-12-28 11:51:52 | Comment Date: | 2006-01-22 19:41:34 |
Site comment: | This should be fixed now. |
URL: | index.html | From: | Smylers@st... |
---|---|---|---|
Feedback: | Hi there. This site looks interesting. However I think that your choice of the GNU Free Documentation License for the content is problematic. As the Debian project have discovered, it is incompatible with GNU's own GPL used for much software: http://people.debian.org/~srivasta/Position_Statement.xhtml Quote: "It's GPL-incompatible in both directions. This means that you can't legally extract text from a GFDL'ed manual and put it into integrated help strings in a GPL'ed program. And you can't extract code or comments from a GPL'ed program and put it into a GFDL'ed manual." So any example code you put on this website can't be directly pasted into programs which people wish to release with the GPL (nor with Perl's Artistic License, I'd guess), and nor can GPL programs be used as examples in content on the website. If this site was licensed like Perl itself (dual license GPL2 and Artistic) then this problem would go away. Cheers. | ||
Date: | 2006-01-03 13:04:23 | Comment Date: | 2006-01-22 19:40:48 |
Site comment: | We're looking into it |
URL: | /sitemap/index.html | From: | johndporter@ya... |
---|---|---|---|
Feedback: | Are you aware that there are two different 'sitemap' pages? One at http://perlmeme.org/sitemap/perlmeme.html and one at http://perlmeme.org/sitemap/index.html It is certainly not clear what reason, if any, there could be for having two different sitemap pages. Thanks, John D. Porter | ||
Date: | 2006-01-11 05:59:43 | Comment Date: | 2006-01-22 20:32:18 |
Site comment: | Many thanks. This bug has now been fixed. |
URL: | ARRAY(0x8c8fd64) | From: | luke@fr... |
---|---|---|---|
Feedback: | Nice site! <a href="http://ovzgfeno.com/fhmq/fxdh.html">My homepage</a> | <a href="http://oelywmkw.com/vwvx/keei.html">Please visit</a> | ||
Date: | 2006-07-19 19:35:45 | Comment Date: | |
Site comment: |
URL: | ARRAY(0x8c8fd64) | From: | felix@po... |
---|---|---|---|
Feedback: | Great work! http://ovzgfeno.com/fhmq/fxdh.html | http://qoukhdnr.com/otuq/jqas.html | ||
Date: | 2006-07-19 19:35:51 | Comment Date: | |
Site comment: |
URL: | /tutorials/cgi_upload.html | From: | mrajcok@gm... |
---|---|---|---|
Feedback: | Looks like ':' is an allowed character too (see untainting code) | ||
Date: | 2006-07-20 16:27:19 | Comment Date: | |
Site comment: |
URL: | /howtos/syntax/here_document.html | From: | simon@un... |
---|---|---|---|
Feedback: | A test 2 3 4 5 | ||
Date: | 2006-08-06 20:21:31 | Comment Date: | |
Site comment: |
URL: | /howtos/perlfunc/rand_function.html | From: | lauraparis22@ho... |
---|---|---|---|
Feedback: | Perl rand function... has this changed? Here is what the perldoc says now, on my new server with latest RedHat enterprise version... 4, I think: "Returns a random fractional number greater than or equal to 0 and >>>>>less than the value of EXPR.<<<" This is CRITICAL because if you want it to pick up that last number you have to make the rand number one digit higher, assuming you are grabbing integers. Most people don't know this. I don't remember it being this way when I put it in scripts 1000 years old and still running! I'm freaking out because I just did a test and indeed it did NOT pick up my highest number in a loop of 150 iterations, over and over, not even once. That means I have to go change all those scripts which means I have to FIND them! (Why did they change this? Why do they change anything? It's a dumb idea!) "int(rand(10)) returns a random integer between 0 and 9, inclusive. (Note: If your rand function consistently returns numbers that are too large or too small, then your version of Perl was probably compiled with the wrong number of RANDBITS.) " | ||
Date: | 2006-08-31 06:30:04 | Comment Date: | |
Site comment: |
URL: | /howtos/perlfunc/rand_function.html | From: | lauraparis22@ho... |
---|---|---|---|
Feedback: | Guess what? Perl didn't change it. I dug out a bunch of old programs and I knew this. Yeah. I'm going to get another cup of coffee (ahem) (!!!) | ||
Date: | 2006-08-31 06:47:33 | Comment Date: | |
Site comment: |
URL: | index.html | From: | unknown |
---|---|---|---|
Feedback: | Feedback | ||
Date: | 2006-09-11 00:39:06 | Comment Date: | |
Site comment: |
URL: | /index.html | From: | unknown |
---|---|---|---|
Feedback: | Test | ||
Date: | 2006-09-11 00:42:04 | Comment Date: | |
Site comment: |
URL: | /faqs/file_io/filesize.html | From: | smithvds@ho... |
---|---|---|---|
Feedback: | Nice site. Thank you. | ||
Date: | 2006-09-29 16:56:48 | Comment Date: | |
Site comment: |
URL: | /howtos/using_perl/dereferencing.html | From: | unknown |
---|---|---|---|
Feedback: | Excellent explination on a tricky topic. | ||
Date: | 2006-10-04 09:31:41 | Comment Date: | |
Site comment: |
URL: | /tutorials/parsing_csv.html | From: | greg.p.motlasz@jp... |
---|---|---|---|
Feedback: | This site saved my life (figurately, of course!) Thanks for maintaining it, if you ever put it in book form, let me know... best perl reference out there! | ||
Date: | 2006-10-07 22:04:20 | Comment Date: | |
Site comment: |
URL: | /howtos/perlfunc/split_function.html | From: | williamz1977@ho... |
---|---|---|---|
Feedback: | is there a self explanitory, super symetric version of perl with a modern IDE, perhaps bubble help or comments? | ||
Date: | 2006-11-15 12:35:55 | Comment Date: | |
Site comment: |
URL: | /faqs/file_io/edit_in_place.html | From: | tianfeng@ma... |
---|---|---|---|
Feedback: | Dear Sir, I real enjoy this LIVE perl doc. Here is something, which I think might wrong: In the section: Home » Faqs » File io » Edit in place For example: perl -pi '.orig' -e 's/abc/XYZ/' file.txt ##if there is a white space after the -ip option, it would not work for me, perl version 5.8.0 in redhat linux and active perl 5.8.8 windows will make changes to file.txt and save the original file in file.txt.orig best regards! | ||
Date: | 2006-12-10 09:14:11 | Comment Date: | |
Site comment: |
URL: | /faqs/system/rcopy.html | From: | shuntian.wang@sa... |
---|---|---|---|
Feedback: | information provided in this web site is extremly useful only for newbies but also for veterans. thank you all very much for your contributions to the perl world. | ||
Date: | 2006-12-20 20:55:12 | Comment Date: | |
Site comment: |
URL: | /faqs/datetime/comparing_dates.html | From: | austin@op... |
---|---|---|---|
Feedback: | The localtime function returns months 0..11, but DeltaDays requires months to be specified 1..12. Hence the example script following the two lines below: my @today = (localtime)[5,4,3]; $today[0] += 1900; requires another line: $today[1]++; Otherwise the number of days will be short by a month, and the script will actually fail, if run during January of any year! Austin Hook Milk River, AB, Canada austin@openbsd.org 7 Jan 2007 :-) | ||
Date: | 2007-01-07 23:33:27 | Comment Date: | |
Site comment: |
URL: | /howtos/perlfunc/qw_function.html | From: | rjkol |
---|---|---|---|
Feedback: | tklo | ||
Date: | 2007-01-22 21:08:33 | Comment Date: | |
Site comment: |
URL: | ARRAY(0x91a0f8c) | From: | rijbzoes@ma... |
---|---|---|---|
Feedback: | nratz nudvw bxkjm bqzplf zrbna wbohyxsrz mjyrzol | ||
Date: | 2007-02-04 20:27:53 | Comment Date: | |
Site comment: |
URL: | ARRAY(0x91a0f8c) | From: | rijbzoes@ma... |
---|---|---|---|
Feedback: | nratz nudvw bxkjm bqzplf zrbna wbohyxsrz mjyrzol | ||
Date: | 2007-02-04 20:27:58 | Comment Date: | |
Site comment: |
URL: | ARRAY(0x91a0f8c) | From: | home@ho... |
---|---|---|---|
Feedback: | http://fdsfggfdfg.com | ||
Date: | 2007-02-11 02:44:49 | Comment Date: | |
Site comment: |