Search Discussions
-
hello, following is obtained by concatenating 3 values using an underscore to produce a list: abc_12_4567 xy4z_xtr4_sdf PQRSDR_xcvf_scc234 i want them to look neat, something like this: where they ...
Rajeev Prasad
Sep 28, 2013 at 5:59 am
Oct 2, 2013 at 3:30 pm -
Hello! Is there a shorter way to write $a = ! $a, please? Something analogous to ++ and -- operators like $a !! or !! $a would negate the variable $a and return its previous or new value ...
Hans Ginzel
Sep 9, 2013 at 9:00 am
Sep 13, 2013 at 2:36 am -
beginners: I'm looking for a hash function and a related function or operator such that: H(string1 . string2) = f(H(string1), H(string2)) H(string1 . string2) = H(string1) op H(string2) where: H() is ...
David Christensen
Sep 23, 2013 at 10:17 pm
Sep 27, 2013 at 4:32 pm -
Dear Perlers, I am saving the data structure to a file and retrieving it back again, but, when I 'use strict' it is giving the following error message Global symbol "%game" requires explicit package ...
*Shaji Kalidasan*
Sep 13, 2013 at 11:11 am
Sep 14, 2013 at 4:43 pm -
Hi all, I'm having a look at Perl 6 syntax and I don't get the rationale in having different sigils for scalars, hashes and arrays while having a scalar access being with the same type sigil. In ...
Luca Ferrari
Sep 23, 2013 at 3:19 pm
Sep 29, 2013 at 1:35 pm -
Hi, all. I am a very begginer in PERL starting today in this mailing list! :-) I will try to work especially with Bioinformatics. I am trying to verify the existence of a file in PERL; however, is ...
RENATO AUGUSTO CORREA DOS SANTOS
Sep 25, 2013 at 7:38 pm
Sep 27, 2013 at 1:30 pm -
I have this: while (<IN ) { chomp; next if /^#/; # do stuff } It skips to the next item in the while loop of the string begins with # and works fine. I would also like to skip to the next item in the ...
Matt
Sep 3, 2013 at 5:09 pm
Sep 4, 2013 at 9:29 am -
Hi, In the example below, how do I pass @pets and @numbers into the subroutine so that @animals = @pets and @digits = @numbers. Thanks my @pets = ('dogs' , 'cats' , 'horses'); my @numbers = (1..10) ...
Eventual
Sep 7, 2013 at 11:14 am
Sep 7, 2013 at 1:24 pm -
5
Sleep
If my perl script has a sleep for say 300 seconds, when the sleep is being run is there any way i can find the time remaining in the sleep say by sending a signal? Thanks,Unknown User
Sep 15, 2013 at 8:00 pm
Sep 16, 2013 at 4:47 pm -
Hello all, I am writing a script to rename files. The script prompts the user to enter tokens which will comprise part of the file name. These are made of letters and numbers separated by a dot, ie ...
John Aten
Sep 3, 2013 at 1:23 am
Sep 4, 2013 at 12:25 pm -
Hi! While I'm not a beginner with Perl it seems that I'm somewhat a beginner if it comes to compilation: I try to compile 5.18.0 on my RHEL 6.4 system. Primarily in order to be able to use Padre ...
Alexander Karner
Sep 18, 2013 at 1:02 pm
Sep 19, 2013 at 12:51 pm -
Does perl have a way to raise a error in module/class then from caller use Try::Tiny etc to catch them? Thanks.
Ken Peng
Sep 26, 2013 at 1:45 am
Sep 26, 2013 at 6:49 am -
Posted below is a shortened down version of a larger script that tries to show the phenomena I'm seeing and don't understand. I'm running rsync from a perl script so I first thought the output was ...
Harry Putnam
Sep 11, 2013 at 10:08 pm
Sep 11, 2013 at 10:27 pm -
Hi, i have implemented 50 shell program to test. now i want to run all these shell program one by one(in short test automation) (once first program getting executed then next will start). please let ...
Lalit Deshmukh
Sep 10, 2013 at 8:25 am
Sep 10, 2013 at 3:17 pm -
Dear Perlers, I need some resources (tutorials/documents) with some basic examples on Multi threading for my understanding as I need to write a task which makes use of threads. Any pointers to ...
*Shaji Kalidasan*
Sep 4, 2013 at 3:57 pm
Sep 5, 2013 at 2:06 pm -
In my web-app there is a HTML screen which provides the facility to select and download documents. If user selects some documents (using checkbox) and submits the form then then all of his selected ...
Chankey Pathak
Sep 4, 2013 at 9:50 am
Sep 5, 2013 at 4:25 am -
Somehow I had it my mind that perl would recognize an incoming variable to a sub routine like: sub test($var) As $_ if there was only one element to @_, But I see from testing that, no, not true ...
Harry Putnam
Sep 24, 2013 at 1:23 pm
Sep 24, 2013 at 3:33 pm -
Hi, in my applications often I end up with an hash ref that contains array refs, and each time I have to insert a new element in the array for a specific key I write something like: if ( ! exists ...
Luca Ferrari
Sep 23, 2013 at 12:12 pm
Sep 23, 2013 at 1:22 pm -
Hi, I am reading a set of regex, separated by comma, from database, which is in string format and using eval to convert them in the array. For e.g., String from database is 'qr/^abc .* $/,qr/xxx/' ...
Rajesh kumar
Sep 19, 2013 at 6:10 pm
Sep 19, 2013 at 6:36 pm -
Hi everyone.. I am running a perl program which uses Math::Vector. But i am getting the following error Can't locate object method "UnitVecPoints" via package "Math::Vector" at ...
Gurunath Katagi
Sep 12, 2013 at 10:54 am
Sep 15, 2013 at 2:31 pm -
Hi All, I'm looking for some good documentation on how to handle multiple tcp connections at the same time. Already have the book Network Programming with Perl (Lincoln D. Stein) Having a client / ...
Marco van Kammen
Sep 4, 2013 at 9:40 am
Sep 4, 2013 at 10:57 am -
I use emacs/gnus as my newsreader. In gnus you can select msgs and then run shell cmds on that selected content. I want to know how to take user input during that action. That is, I run a perl script ...
Harry Putnam
Sep 29, 2013 at 10:47 pm
Sep 29, 2013 at 11:09 pm -
I have an array of numbers, and i want to find the percentage difference between all the elements. Say my @a = ($a,$b,$c); I need to calculate the percentage difference of element a with b, b with c ...
Unknown User
Sep 15, 2013 at 10:48 pm
Sep 16, 2013 at 2:50 pm -
I have this simple script to automatically print HTML selection option. #!/usr/bin/env perl use strict; for (reverse(1943 .. 1991)){ print "\<option value=\"$_\" $_\<\/option\ \n"; } I need to print ...
Mimicafe
Sep 16, 2013 at 1:36 pm
Sep 16, 2013 at 1:51 pm -
<http://stackoverflow.com/questions/18809731/mysql-perl-and-latex-trying-to-loop-through-results-by-day-as-a-latex-sectio# I have written a Perl script (shown below) to loop through my MySQL database ...
J M
Sep 15, 2013 at 7:16 am
Sep 15, 2013 at 8:15 am -
Hi! I'm writing a simple script to output data from a MySQL database... Eventually I'd like to pipe it all into a .tex file and make a custom pdf out of it. However, I'm running into a problem: the ...
J M
Sep 5, 2013 at 12:28 am
Sep 5, 2013 at 12:45 am
54 users for September 2013
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)