perl
How do you dereference return values?
I keep running into problems with dereferencing, especially when returning values from functions. The issue seems to be that whenever you return anything other than a scalar you are actually returni[详细]
2023-04-12 11:41 分类:问答How can sort timestamps in dd:mm:yyyy hh24:mi:ss format in descending order in Perl?
I have to sort my hash keys which is a timestamp (dd:mm:yyyy hh24:mi:ss) in descending order. sort { $b <=> $a } keys %time_spercent[详细]
2023-04-12 11:29 分类:问答Should I use Parse::RecDescent or Regexp::Grammars to extract tables from documents?
I have lots of large plain text documents I wish to parse with perl. Each document has mostly English paragraphs in it, with a couple of plain text marked up tables in each document.[详细]
2023-04-12 10:55 分类:问答perl how to remove last '_'?
In perl, how to write this regex ? my $line = \"job_name_1_\" ; #end with \'_\' $pattern = \"_$\"; # tried \"\\_$\", still doesn\'t w开发者_开发知识库ork[详细]
2023-04-12 10:34 分类:问答removing a matched line using csv module in perl
So far, I figured out how to match a line from a csv file using this perl module, Text::CSV_XS. What I need help is removing that line in the file. Is there an easy way to do this? Is there a way to d[详细]
2023-04-12 10:26 分类:问答How can I iterate through all checked values of a checkbox group in a Perl CGI script?
I have an xampp test system setup running on a Windows machine. I have a small command line application I would like to trigger using a[详细]
2023-04-12 10:26 分类:问答displaying original args after localizing $0
When run with arguments a b c d e f g, this script: system(\"ps ww$$\"); { local $0 = \"foo\"; system(\"ps ww$$\");[详细]
2023-04-12 09:14 分类:问答module creation using perl script [duplicate]
This question开发者_C百科 already has answers here: Closed 11 years ago. Possible Duplicate: How do you create a Perl module?[详细]
2023-04-12 07:41 分类:问答On Linux, What is the most efficient way to parse XML into MYSQL?
I wou开发者_开发技巧ld like to parse XML files into a MYSQL DB. What is the most efficient and fastest way to do this on a LINUX system (Ubuntu) and the least resource intensive.[详细]
2023-04-12 07:21 分类:问答Using Unix tools to process text: search and replace all text that are not between some lines
I\'m looking to do some text processing on a bunch of *.org files.I would like to change the following in each file:[详细]
2023-04-12 07:19 分类:问答
加载中,请稍侯......