Search Discussions
-
Hello, I'm trying to come up with a function to send out X number of message per day(24hr day) but we need to randomize the time factore each day. For example if 50 messages are scheduled to be sent ...
Mike Blezien
Feb 7, 2011 at 9:30 pm
Feb 10, 2011 at 12:55 am -
Looking for a renaming tool with certain capabilities, but when googling or searching cpan its quite hard to tell if the tool can or not satisfy them. So, I hope someone can tell me right off the top ...
Harry Putnam
Feb 1, 2011 at 2:41 am
Feb 4, 2011 at 8:17 pm -
What's the suggested module for perl's threads? I have been using Perl 5.12 under linux. Thanks.
Terry peng
Feb 6, 2011 at 11:12 am
Feb 12, 2011 at 1:08 pm -
Hi All, I'm running into a problem with a pretty old freeware perl script called "readnews" it is in an archive named "readnews-1.85.tar.gz" that is available here: ...
Ted Mittelstaedt
Feb 24, 2011 at 2:16 am
Feb 28, 2011 at 9:54 am -
Hi Perl users, Quick question, I have a one long string with tab delimited values separated by a newline character (in rows) Here is a snippet of the the string: chr1 ucsc exon 226488874 226488906 ...
Richard Green
Feb 26, 2011 at 8:06 pm
Feb 27, 2011 at 7:26 am -
Hello, for the following program, what is the function of lines 12 and 14 ??? 1 #!/usr/bin/perl 2 3 use strict; 4 use warnings; 5 use 5.010; 6 use Spreadsheet::XLSX; 7 8 my $excel = Spreadsheet::XLSX ...
Mailing lists
Feb 11, 2011 at 10:10 am
Feb 14, 2011 at 5:16 am -
11
about return
hello, when in the case "return undef" I prefer just "return" coz in list context it will return an empty list. my $exist = ... if ($exist) { return 1; } else { return; } the code above can work, but ...Terry peng
Feb 10, 2011 at 6:07 am
Feb 11, 2011 at 2:47 am -
Hi, I am trying to modify a LaTex file which is plain text. The file contains lines similar to the following, but each line is followed by text, so that: Article 1 Cats Article 2 Dogs Article 3 Fish ...
Zavierz
Feb 5, 2011 at 3:13 pm
Feb 7, 2011 at 3:39 pm -
Greetings. I'm looking for a way to run a query against a SQL database, save the result into a file, and then attach the file to an email. The DBD::mysql and MIME::Lite modules handle the SQL query ...
David Newman
Feb 6, 2011 at 11:38 pm
Feb 24, 2011 at 10:16 pm -
Robin Kenyon
Feb 1, 2011 at 10:52 pm
Feb 2, 2011 at 7:16 am -
I have a below program and I am not doing it right. Currently, only last ip pool is going in since I am putting them w/ key to values(so only last one shows up when I print). How can I aggregate and ...
Steve park
Feb 28, 2011 at 7:47 pm
Feb 28, 2011 at 11:44 pm -
Hello, I want to get the value of a key of a Hash that is part of an Array of Hashes, whereas the correct hash to work with is being determined by the value of another key which is passed as an ...
HACKER Nora
Feb 21, 2011 at 8:46 am
Feb 21, 2011 at 9:33 am -
Hi All, i am using Perl :net:ssh module to connect remotely to server and execute the remote command following is the code : my %opt = ( 'options' = [ 'ForwardAgent yes','RSAuAuthentication ...
Irfan Sayed
Feb 10, 2011 at 7:09 pm
Feb 19, 2011 at 4:21 am -
Hi, I want to work with data from my database. The following select and dereferencing for display is fine: my $sql = "select secondname || ' ' || firstname from supp_verantw_v"; my $sth = $dbh- ...
HACKER Nora
Feb 23, 2011 at 12:53 pm
Feb 24, 2011 at 7:10 am -
I am interested in creating a cgi perl script that I can publish on the web that will tie into a mysql database and create a x,y axis graph based on data selection. Any suggestions are greatly ...
Chris Stinemetz
Feb 16, 2011 at 2:35 am
Feb 16, 2011 at 8:28 pm -
The program: -- #use strict; use warnings; my $field = shift @ARGV; my $regex = '(\w+)\s*' x $field; while (<STDIN ) { if (/$regex/) { print "$$field\n"; # refers to a match variable } } -- Example ...
Téssio Fechine
Feb 3, 2011 at 1:05 pm
Feb 3, 2011 at 8:23 pm -
I'm having problem getting multiple values returned from a subroutine. Thanks in advance for pointers. My codes: #!/usr/bin/perl use strict; use warnings; ...
Loan tran
Feb 1, 2011 at 6:51 pm
Feb 2, 2011 at 4:50 pm -
[[v5.8.8 built for x86_64-linux-thread-multi] #!/usr/bin/perl -W use Getopt::Long; my $dml = 0; my $iterations = 10; my %options = ("dml!" = \$dml, "iterations=i" = \$iterations); ...
Gry
Feb 9, 2011 at 9:52 pm
Feb 11, 2011 at 6:19 am -
does "return ()" mean return an empty list, or just mean "return" since "()" is optional in Perl? thanks!
Terry peng
Feb 11, 2011 at 1:21 am
Feb 11, 2011 at 4:46 am -
I would like to sort my final report in the following order: $data[31],$data[32],$data[38] How would I add this into my following program to get the report sorted this way? Thanks in advance. Chris ...
Chris Stinemetz
Feb 1, 2011 at 4:43 am
Feb 1, 2011 at 6:45 pm -
Hi, I am writing a script that executes external command that may hang. I want to capture all output produced by the external command and continue with my perl code after a certain execution timeout ...
Filip Sneppe
Feb 3, 2011 at 3:36 pm
Mar 11, 2011 at 6:30 am -
Hi, when I put this line in a script say a.pl: #!/usr/bin/perl -wl ... And later I run it from the command line: perl a.pl so, does this make perl ignore the "wl" switch in the script? Thanks. -- ...
Terry peng
Feb 22, 2011 at 2:57 pm
Mar 7, 2011 at 8:31 am -
Pal, I have to files that I am trying to match: Generated from rpm -qa file1 file1 libstdc++-4.1.2-48.el5 info-4.8-14.el5 libICE-1.0.1-2.1 libacl-2.2.39-6.el5 lcms-1.18-0.1.beta1.el5_3.2 ...
William Muriithi
Feb 15, 2011 at 12:09 am
Feb 16, 2011 at 2:54 pm -
Hello, I have a script that has been generating a strange error that I can't seem to find the source. In the script, at the top, we have the following to help trouble shoot it if any errors: ...
Mike Blezien
Feb 14, 2011 at 4:11 pm
Feb 15, 2011 at 8:57 am -
Hello I searched cpan and was overwhelmed by the number of modules available. I want a config module that can do updates well, preserving formats of original file, preserving blank lines, comments, ...
Jim Green
Feb 8, 2011 at 2:11 am
Feb 8, 2011 at 9:13 am -
Hello, I wrote simple cgi scripts before but want to go further, I want to learn a little bit systematic web programming, I found catalyst and ORMs, do you guys think with those I don't need to learn ...
Jim Green
Feb 4, 2011 at 10:16 pm
Feb 5, 2011 at 8:00 am -
Hello, I tried to convert html special characters to their real character. For example, converting ” to " . I had the string $str = "“ test ” ניסיון "; The string contain also ...
Shlomit Afgin
Feb 2, 2011 at 9:25 am
Feb 3, 2011 at 2:56 pm -
#!/usr/bin/perl use strict; use warnings; $_ = "[][12/21/10 18:39:22] [oasetup] [oasetup] [INFO] Installing the HPOvXpl package..."; for my $re (qw{ ^\[(.+?)\] ^\[(.*?)\] }) { my ($dt) = /$re/ or die ...
Chris Charley
Feb 1, 2011 at 9:45 pm
Feb 2, 2011 at 4:35 pm -
I apologize if this appears multiple times. When I did not see it appear, I posted again. Does perl have a feature like C# and Java where memory is reclaimed and defragmented? I just inherited 25K ...
Siegfried
Feb 23, 2011 at 4:52 pm
Feb 24, 2011 at 3:15 am -
Hi i am able to run a command on the remote machine but i am not able to completely login to the remote machine ============================= use Net::SSH::Expect; my $ssh = Net::SSH::Expect- new ( ...
Agnello George
Feb 23, 2011 at 7:51 am
Feb 23, 2011 at 5:56 pm -
Hi, I've tried to fiure this out on my own but hit a road block. I'm reading in an external file, then doind a search and replace. I am also using the following to break lines at 256 characters use ...
Kill Switch
Feb 22, 2011 at 1:25 pm
Feb 22, 2011 at 5:27 pm -
Hello, this is kinda of a crossover to PHP which I'm not that fimilar with. I have a Perl script that needs to call up a specific function from a PHP script, Entry.php calls "Social_preformPost()" ...
Mike Blezien
Feb 18, 2011 at 5:53 pm
Feb 19, 2011 at 3:12 am -
Hello, I made a program that traverses a directory listing all the files in it and in it's sub directories.. [email protected]:/home# cat list_dir #!/usr/bin/perl -w use 5.010; use strict; sub list_dir { ...
Téssio Fechine
Feb 17, 2011 at 4:56 pm
Feb 18, 2011 at 4:37 pm -
Hi; how do make certain that no input (keyboard + mouse paste) is outside of 7-bit ASCII in a perl script? Since I have no intention of correctly or completely handling input that is outside of 7-bit ...
Kenneth Wolcott
Feb 2, 2011 at 1:08 am
Feb 2, 2011 at 5:50 pm -
Hi chromatic, again, thanks for all your work on the Modern Perl book (and the blog), which came out very nicely, and I hope it sells well and all. I did not buy a copy (because I already have read ...
Shlomi Fish
Feb 28, 2011 at 8:34 pm
Mar 3, 2011 at 7:22 pm -
I ran into something that I need help understanding. In the attached script, subroutine file_proc1 converts all elements of @molec to undef, while file_proc2 does not. adjusting file_proc1 to first ...
D
Feb 22, 2011 at 5:08 pm
Feb 24, 2011 at 9:52 am -
file 1 2010-11-21,2 2010-12-01,1 file 2 2010-11-22,12 2010-12-01,11 this is for GD graph and the file file should be like this 2010-11-21,2 2010-11-22,12 2010-12-01,1,11
Muzammil
Feb 14, 2011 at 10:46 am
Feb 14, 2011 at 4:25 pm -
i'm getting this error: DBD::mysql::st execute failed: Column count doesn't match value count at row 1 at ./test-get.pl line 91, <FILE line 1. DBD::mysql::st execute failed: Column count doesn't ...
Shawn wilson
Feb 12, 2011 at 10:56 pm
Feb 14, 2011 at 1:05 pm -
RD Perl has no proper boolean values. Instead, the boolean operators RD treat zero, undef, and the null string '' all as false. Anything else RD is true. to be pedantic, '0' is also false. it isn't ...
Shawn wilson
Feb 12, 2011 at 3:59 am
Feb 12, 2011 at 5:37 am -
Hi, I have the following html page which simply colects information, then a second page send the data to a third page to show the results from previous two pages. What I am tryinng to do is showing ...
Iinfer
Feb 11, 2011 at 2:08 am
Feb 11, 2011 at 4:19 pm -
Hello: I have some static data I want to wrap in a Data.pm, what is the best way of doing this. package data; use strict; use warnings; my $data=1; 1; I tried use data; print $data; but it doesn't ...
Jim Green
Feb 10, 2011 at 1:57 am
Feb 10, 2011 at 1:53 pm -
Hello, How to know that the given text is with which encoding method? for example, is it ISO-8859-1, UTF-8, KOI8-U, or others? Thanks.
Terry peng
Feb 8, 2011 at 2:40 pm
Feb 8, 2011 at 3:12 pm -
Hello all, I need to include CPAN modules as part of our custom "application stack" installation. I was thinking that I would just include the tar gz files as part of the application stack, then have ...
Mark Meyer
Feb 3, 2011 at 7:16 pm
Feb 4, 2011 at 10:55 am -
Hello: I am confronted with a task of creating a package to manipulate a set of configuration files. for example I need to setup up a server and need to change lots of configuration files and create ...
Jim Green
Feb 4, 2011 at 1:15 am
Feb 4, 2011 at 6:14 am -
Hi, I have 2 versions of a zip file(same archive, but with updates.). I need to compare the 2 versions. I adopted the following approach. The files are v1.zip and v2.zip. 1) extract to /tmp/v1 and ...
Balachandran Sivakumar
Feb 1, 2011 at 7:15 am
Feb 1, 2011 at 7:29 am -
Hi, I've got a program that wants to broadcast a packet and accept a unicast reply. I can see with wireshark that the broadcast is made and a node on the network does respond with it's source set to ...
Brian J. Murrell
Feb 18, 2011 at 11:45 pm
Feb 18, 2011 at 11:45 pm -
Hi, I am trying to use a script called VelvetOptmizer for optimizing assembly of genome sequencing reads, which is part of the velvet assembler freeware. This script uses modules 'threads' and ...
Galeb abu-ali
Feb 17, 2011 at 3:54 pm
Feb 17, 2011 at 3:54 pm -
I am trying to write a script that takes the extend name as an arg and retrieves the output for further processing. I am not sure how to do this, get_request() needs a numeric oid, is there a way ...
Joseph L. Casale
Feb 9, 2011 at 7:04 pm
Feb 9, 2011 at 7:04 pm
79 users for February 2011
Archives
- May 2016 (29)
- March 2016 (38)
- February 2016 (66)
- January 2016 (62)
- December 2015 (36)
- November 2015 (59)
- October 2015 (35)
- September 2015 (32)
- April 2015 (18)
- March 2015 (101)
- February 2015 (74)
- January 2015 (99)
- December 2014 (74)
- November 2014 (65)
- October 2014 (47)
- September 2014 (66)
- August 2014 (68)
- July 2014 (171)
- June 2014 (85)
- May 2014 (126)
- April 2014 (36)
- March 2014 (162)
- February 2014 (154)
- January 2014 (94)
- December 2013 (42)
- November 2013 (71)
- October 2013 (192)
- September 2013 (143)
- August 2013 (114)
- July 2013 (141)
- June 2013 (201)
- May 2013 (163)
- April 2013 (90)
- March 2013 (125)
- February 2013 (150)
- January 2013 (185)
- December 2012 (120)
- November 2012 (101)
- October 2012 (117)
- September 2012 (180)
- August 2012 (319)
- July 2012 (170)
- June 2012 (223)
- May 2012 (249)
- April 2012 (298)
- March 2012 (311)
- February 2012 (261)
- January 2012 (155)
- December 2011 (282)
- November 2011 (266)
- October 2011 (316)
- September 2011 (369)
- August 2011 (371)
- July 2011 (310)
- June 2011 (392)
- May 2011 (434)
- April 2011 (630)
- March 2011 (440)
- February 2011 (282)
- January 2011 (419)
- December 2010 (319)
- November 2010 (314)
- October 2010 (360)
- September 2010 (256)
- August 2010 (223)
- July 2010 (340)
- June 2010 (298)
- May 2010 (483)
- April 2010 (683)
- March 2010 (480)
- February 2010 (339)
- January 2010 (322)
- December 2009 (531)
- November 2009 (558)
- October 2009 (375)
- September 2009 (449)
- August 2009 (497)
- July 2009 (428)
- June 2009 (306)
- May 2009 (293)
- April 2009 (362)
- March 2009 (477)
- February 2009 (467)
- January 2009 (408)
- December 2008 (405)
- November 2008 (545)
- October 2008 (770)
- September 2008 (662)
- August 2008 (663)
- July 2008 (773)
- June 2008 (730)
- May 2008 (650)
- April 2008 (791)
- March 2008 (692)
- February 2008 (399)
- January 2008 (694)
- December 2007 (581)
- November 2007 (688)
- October 2007 (882)
- September 2007 (709)
- August 2007 (1,243)
- July 2007 (849)
- June 2007 (898)
- May 2007 (796)
- April 2007 (587)
- March 2007 (705)
- February 2007 (521)
- January 2007 (578)
- December 2006 (565)
- November 2006 (555)
- October 2006 (704)
- September 2006 (734)
- August 2006 (725)
- July 2006 (884)
- June 2006 (681)
- May 2006 (703)
- April 2006 (889)
- March 2006 (724)
- February 2006 (607)
- January 2006 (588)
- December 2005 (684)
- November 2005 (664)
- October 2005 (682)
- September 2005 (616)
- August 2005 (743)
- July 2005 (716)
- June 2005 (670)
- May 2005 (809)
- April 2005 (830)
- March 2005 (1,020)
- February 2005 (740)
- January 2005 (784)
- December 2004 (873)
- November 2004 (910)
- October 2004 (1,242)
- September 2004 (936)
- August 2004 (911)
- July 2004 (1,101)
- June 2004 (1,026)
- May 2004 (945)
- April 2004 (1,161)
- March 2004 (1,485)
- February 2004 (1,608)
- January 2004 (1,512)
- December 2003 (1,607)
- November 2003 (1,437)
- October 2003 (1,314)
- September 2003 (1,382)
- August 2003 (1,351)
- July 2003 (1,559)
- June 2003 (1,576)
- May 2003 (1,586)
- April 2003 (1,600)
- March 2003 (1,731)
- February 2003 (1,641)
- January 2003 (2,020)
- December 2002 (1,360)
- November 2002 (1,198)
- October 2002 (1,677)
- September 2002 (1,905)
- August 2002 (1,685)
- July 2002 (1,975)
- June 2002 (1,900)
- May 2002 (2,332)
- April 2002 (2,098)
- March 2002 (1,658)
- February 2002 (2,237)
- January 2002 (2,304)
- December 2001 (1,568)
- November 2001 (1,823)
- October 2001 (1,712)
- September 2001 (1,289)
- August 2001 (1,993)
- July 2001 (2,424)
- June 2001 (3,399)
- May 2001 (1,797)
- April 2001 (650)