worst concept in computer science [Was: to RG - Lisp lunacyand Perl psychosis] On Fri, 12 Mar 2010 05:05:49 -0800, Nick Keighley wrote: On 10 Mar, 20:39, Jürgen Exner <jurge...(a)hotmail.com> wrote: Actually C pointers are probably among the worst concepts ever invented in computer science. now there's a challenge. Who are the other competitors? - FORTRAN computed got... 12 Mar 2010 13:53
XML::LibXML: Including xml fragments in a larger document For a project I receive some XML fragments from a data base and have to include it in a larger XML document created with XML::LibXML. With version 1.66 of XML::LibXML I was able to to something like my $doc = XML::LibXML::Document->new('1.0', 'utf-8' ); my $root = $doc->createElement("X:root"); $doc... 12 Mar 2010 09:24
Writing to the end of a record Hi, I am trying to write to the end of a record once I find the data needed, but everything I have tried and the Internet is no real help. I open my data file by using 'open (LOCATE +<$filename') and the data is processed correctly when a match is found. It is when I try to write to the end is when I have tro... 11 Mar 2010 14:32
trying to extract blob as file... is corrupted I have a database which has a lot of files saved as blobs (some "fancy" CMS system). I would like to save them as files. I saved them as files using such a query (for each blob): my $sql = $db->prepare("SELECT blob_data FROM tx_drblob_content WHERE uid = (?)"); $sql->execute($uid); # $uid is I... 11 Mar 2010 13:24
FAQ 9.8 How do I fetch an HTML file? This is an excerpt from the latest version perlfaq9.pod, which comes with the standard Perl distribution. These postings aim to reduce the number of repeated questions as well as allow the community to review and update the answers. The latest version of the complete perlfaq is at http://faq.perl.org . --------... 11 Mar 2010 06:42
PDF::API2 (Creating PDF files) Hi, I'm creating PDF's on the fly, with Perl 5.8, using PDF::API2. I have no problem with most of it, albeit there's a bit of a learning curve with creating PDFs, but I can't figure out how to insert a URL with anchor text. i.e. It's easy enough to insert a URL as text, and the PDF will recognize it as a UR... 10 Mar 2010 23:06
FAQ 5.22 I still don't get locking. I just want to increment the number in the file. How can I do this? This is an excerpt from the latest version perlfaq5.pod, which comes with the standard Perl distribution. These postings aim to reduce the number of repeated questions as well as allow the community to review and update the answers. The latest version of the complete perlfaq is at http://faq.perl.org . --------... 10 Mar 2010 18:40
grep an array of hashrefs Here is the code i have to find if a hash element is present in an array of hashrefs: my @return_set = ( { 'topic' => '40604', 'id_type' => 'bill', 'topic_list' => '', 'id' => 'CA2009000A34' }, { 'topic' => '40... 10 Mar 2010 14:11
recursive perl If possible I'd like a recursive solution (Perl or C code would be great :-), or an algorithm) for the following input representing a network of nodes and links. I know recursion in general is not the fastest solution but I'd like to see a solution using this approach to help me start thinking that way. If n... 10 Mar 2010 10:47
FAQ 5.10 How can I set up a footer format to be used with write()? This is an excerpt from the latest version perlfaq5.pod, which comes with the standard Perl distribution. These postings aim to reduce the number of repeated questions as well as allow the community to review and update the answers. The latest version of the complete perlfaq is at http://faq.perl.org . --------... 10 Mar 2010 06:22 |