perl
read input file, match and remove data and write remaining lines to a new file
I am stuck trying to get this to write out the contents of the file. What I am trying to do is open an input file, filter out/remove the matched line and write to a new file. Can someone show me how t[详细]
2023-04-13 10:02 分类:问答How to check Space between Two images
Consider there are two images in a webpage. I want know if they have any space rendere开发者_如何学运维d between them.[详细]
2023-04-13 09:26 分类:问答What does the qw(:everything) do on a use line in perl?
This is an embarrassing question to ask but why does this line work while the other doesn\'t? Working line:[详细]
2023-04-13 08:44 分类:问答croaking from a Moose BUILD method
I want my class to blow up if the BUILD method fails. However, if I use croak to handle the error, the error gets reported from Class/MOP/Method.pm, rather than the caller\'s code. (That is to say, th[详细]
2023-04-13 08:04 分类:问答Perl XML:Simple read xml pairs and execute something on each of them
I have a XML file which contains the below section: <cptasks> <copy file=\"file1.txt\" to=\"folder1/folder21\" />[详细]
2023-04-13 07:46 分类:问答How do I do my Perl homework assignment?
Given a perl hash structure { \'A\' => { \'B\' => \'C\', \'D\' => \'E\' }, \'F\' => { \'B\' => \'G\',[详细]
2023-04-13 07:14 分类:问答Perl: Reading from a database table line by line
Is there someway to read from 开发者_如何学Pythona database table line by line using the DBI module? The table is huge and I keep running out of memory if I try to do a select. I\'m working with an or[详细]
2023-04-13 06:02 分类:问答Curses::UI::Dialog does not respond to enter key
I 开发者_高级运维am trying to create a Curses::UI application. So far everything is working but my dialog does not seem want to respond to the enter key for closing. I have tried the samples and they[详细]
2023-04-13 05:41 分类:问答Proccessing 2 million records with perl
I have 2 million records on the database is it possible to bring them all and store them on perl h开发者_开发百科ash reference without any problem of reaching out of memory ?What is your reason to rea[详细]
2023-04-13 04:45 分类:问答processing data with perl - selecting for update usage with mysql
I have a table that is storing data that needs to be processed. I have id, status, data in the table. I\'m currently going through and selecting id, data where status = #. I\'m then doing an update im[详细]
2023-04-13 04:25 分类:问答