Search Discussions
-
22
rmdir
hi, i need to delete some directories recursively which are present at some shared location i tried file::path perl module but the issue with that module is , it is not deleting the root/parent dir ...Irfan Sayed
Jun 24, 2011 at 9:43 am
Jun 28, 2011 at 11:40 am -
Hi all, i've a question on my perl script. In my script i read a file line per line, and check if keywords are in uppercase. To do that, i've an array filled with all used keywords. On each line, i ...
Beware
Jun 9, 2011 at 8:00 am
Jun 21, 2011 at 2:48 pm -
I'd like to find a way to check if an e-mail address that is entered on a form is valid or, at the very least, just not invalid. Checking CPAN, I ran across a module called Email::Verify::SMTP. Has ...
Sono-io
Jun 27, 2011 at 6:53 pm
Jul 5, 2011 at 11:43 am -
Maybe it's too early in the morning here, but I can't seem to remember how to use a lexical $variable that is defined inside a foreach loop, outside of that loop. =:\ Here's the loop: foreach my ...
Sono-io
Jun 3, 2011 at 3:37 pm
Jun 4, 2011 at 12:08 am -
Hi, I am using windows7. Using Perl, how do I search for files in my computer, eg to search in c:\ and all its sub-directories. I only know how to use glob to search from a particular location. Thanks
Eventual
Jun 11, 2011 at 3:14 pm
Jun 12, 2011 at 10:29 pm -
HI I got the following hashref my $selet_domU_data = $DBH- selectall_hashref("select ram,ip,application,hosting,assigned_to,rdom0id from domU_info where server_name='$domU_server' ",'server_name' ); ...
Agnello George
Jun 7, 2011 at 6:48 am
Jun 7, 2011 at 9:31 pm -
Hi, I've attached a text file containing the original and required format and avoid the format being lost by just pasting it in the email body. The original format is separated by a space, but need ...
Wernher Eksteen
Jun 24, 2011 at 7:45 am
Jun 28, 2011 at 9:04 pm -
Hi, data snippet: ENTRY K00002 KO NAME E1.1.1.2, adh DEFINITION alcohol dehydrogenase (NADP+) [EC:1.1.1.2] PATHWAY ko00010 Glycolysis / Gluconeogenesis ko00561 Glycerolipid metabolism ko00930 ...
Venkates
Jun 9, 2011 at 8:48 am
Jun 11, 2011 at 9:47 am -
Hi, Looking at the script below, how do I write a range of 10 to 80 as a regular expression. I tried [10 - 80] but it wont work. Thanks ##### script ############## #!/usr/bin/perl my ...
Eventual
Jun 21, 2011 at 6:38 am
Jun 21, 2011 at 12:46 pm -
Hi I'm having a bit of trouble getting a SDL::Perl running on a debian Lenny setup. I have SDL::Perl installed from CPAN. Alien::SDL installed from cpan with the option to build all dependencies and ...
Adam Fairbrother
Jun 6, 2011 at 4:27 pm
Jun 14, 2011 at 9:34 pm -
Patrick Dupre
Jun 19, 2011 at 1:08 pm
Jun 20, 2011 at 3:35 am -
Hi, the subject is admittedly not very enlighening ... ;-; what I am trying to do is: - run a little program, that just sleeps for a given time - when it receives a signal, restarts sleeping again ...
Gator_ml
Jun 14, 2011 at 7:23 am
Jun 18, 2011 at 5:17 pm -
Hi, I want to parse a file with contents that looks as follows: ENTRY K00001 KO NAME E1.1.1.1, adh DEFINITION alcohol dehydrogenase [EC:1.1.1.1] PATHWAY ko00010 Glycolysis / Gluconeogenesis ko00071 ...
Aravind Venkatesan
Jun 2, 2011 at 9:49 am
Jun 2, 2011 at 8:03 pm -
Hi, I'm reading a program written in perl and I read this statement
Josanabr
Jun 22, 2011 at 4:52 pm
Jul 6, 2011 at 10:27 am -
I much prefer perl to python given my recent forays into that language (python's regex is awful!), however it has an excellent plotting package that is very similar to matlab but supports things like ...
Bryan R Harris
Jun 22, 2011 at 8:32 pm
Jun 28, 2011 at 7:00 pm -
Depending on whether there are one or more sets of values, XML::Simple either creates a hash or an array, either of which are stored here: $parsed_response- {Label}- {Image} My code retrieves the ...
Grant
Jun 15, 2011 at 5:02 pm
Jun 16, 2011 at 6:20 pm -
Hello I am not an expert in perl and so before I propose that a particular script be written I would likek to get an idea as to how hard the task would be. We have a large number (in my opinion) of ...
Andrewmchorney
Jun 20, 2011 at 7:57 pm
Jun 22, 2011 at 12:16 am -
O.K. I've finished my code to create a MySQL db and/or table, and I'd appreciate hearing your comments. It works well, but it needs to be cleaned up before going live. I've left some testing code in. ...
Sono-io
Jun 11, 2011 at 2:25 am
Jun 11, 2011 at 7:32 pm -
Working through the exercises in Learning Perl. Chapter 3 exercise 2. Basically have to look up a set of names and return an output list of based on the numbers selected by the user. 1 would print ...
Sayth Renshaw
Jun 8, 2011 at 12:02 pm
Jun 9, 2011 at 12:49 am -
I have a script in cgi-bin which gathers information from the user and replaces placeholders in a pre-written html page with the data collected via a different html interface. Since the script needs ...
John Delacour
Jun 1, 2011 at 3:20 pm
Jun 5, 2011 at 8:01 pm -
Hi List Is it possible to get the current time_stamp with milisecond format like HH:MI:SS:NNN DD:MM:YYYY(NNN is the milisecond) If yes then how can I achieve the same.............. Thanks & Regards ...
Anirban Adhikary
Jun 3, 2011 at 7:38 am
Jun 4, 2011 at 3:40 am -
Suppose you have a collection of books, and want to provide your users with the ability to search the book title, author or content using regular expressions. But you don't want to let them execute ...
Stanisław Findeisen
Jun 1, 2011 at 9:26 pm
Jun 2, 2011 at 1:50 pm -
Hi, is there any way or module in perl to create the virtual drive in windows lets say , i have to create M: mapped to c:\test so i can use command subst M: c:\test but still , is there any better ...
Irfan Sayed
Jun 15, 2011 at 6:49 am
Jun 15, 2011 at 4:03 pm -
Hello everyone, I just now realized that the next YAPC is in Asheville, NC, which is right in my backyard (+2 hrs of driving). I'm very tempted to attend, but I've never been to a YAPC. Any opinions ...
D
Jun 14, 2011 at 12:50 pm
Jun 14, 2011 at 1:31 pm -
Hi, I have a list of mp3 files in my computer and some of the file names consists of a bracket like this "darling I love [you.mp3" I wish to check them for duplicates using the script below, but ...
Eventual
Jun 13, 2011 at 12:05 pm
Jun 13, 2011 at 9:19 pm -
I'd like to find a way to make a Perl script "modular". What I mean is that I want to be able to distribute a script either with or without a particular module/package/lib and have the main script ...
Sono-io
Jun 9, 2011 at 9:43 pm
Jun 10, 2011 at 12:01 pm -
I ran across something interesting today. I'm getting different results for an array depending on how it's used, as follows: say @fieldnames; prints UIDGroupNamelastmodcategoryhtmlhidettsortorder ...
Sono-io
Jun 8, 2011 at 5:09 pm
Jun 8, 2011 at 8:45 pm -
This code produces the following 3 lines: foreach $twords(@topTypes) { $output.="<p ".commify_series(@$twords)."</p "; } Type 7 and Type 8 Type 9, Type 5, and Type 4 Type 2 I only want the first ...
Rodeored
Jun 1, 2011 at 10:25 pm
Jun 2, 2011 at 5:59 am -
when i use binmode in threaded program, i got a segmentation fault; i comment the binmode line, the program works well use threads; use threads::shared; use utf8; binmode(STDOUT, ':encoding(utf8)'; ...
Anders lee
Jun 9, 2011 at 12:02 am
Jul 12, 2011 at 8:17 am -
Hi, After successfully installing Tuomas J. Lukka Graphics-Simple-0.04 Graphics::Simple I do not know how to use the module. I tried the simple script below but it wont work and produce error msgs. ...
Eventual
Jun 18, 2011 at 1:49 pm
Jul 5, 2011 at 3:59 pm -
Hi, i need to sort hash in descending order. but the issue is , in hash, i have key as integer value and the value associated with that key is string so when i do sort it does not really sort the ...
Irfan Sayed
Jun 23, 2011 at 9:36 am
Jun 23, 2011 at 10:56 am -
I am trying to use a lockfile so that the script can't be run again if it is already running. The below code works fine. The problem is that if my script runs with an argument for a config file with ...
Steven Buehler
Jun 22, 2011 at 10:02 pm
Jun 22, 2011 at 11:40 pm -
I am receiving the following error on my error log I thought it was caused by Meta Tag content. The program was working fine for a long time its just few day I got this error and now it seem is ...
Khabza Mkhize
Jun 20, 2011 at 7:57 am
Jun 20, 2011 at 8:39 am -
Hi, I have a requirement where I want to wait for user to input the data. However if user doesn't input the data within certain period of time then it should timeout and move ahead. TIA ~Parag
Parag Kalra
Jun 17, 2011 at 1:39 pm
Jun 17, 2011 at 9:11 pm -
OK, it's probably not called an alias but I don't know the proper term. I've been exploring prime number generation algorithms and after putting the various routines in primes.pm I thought it would ...
Mike McClain
Jun 11, 2011 at 8:14 pm
Jun 16, 2011 at 3:24 pm -
I am trying to use PDF::FromHTML on my linux ( Fedora 12 ) machine I have just copied the man page example but I cant get it to run --------------- #!/usr/bin/perl use PDF::FromHTML; my $pdf = ...
Ramprasad Prasad
Jun 14, 2011 at 8:54 am
Jun 16, 2011 at 8:43 am -
I created a simple script to test whether the Padre output console would except input via <STDIN . After creating the script I pressed F5; no output is put to the console. I waited about 30 seconds - ...
Sayth Renshaw
Jun 12, 2011 at 1:08 pm
Jun 12, 2011 at 11:23 pm -
Hi all, I need to load a different library, depending on the platform I am running on. When running on Linux, I need "Device::SerialPort"; while running on Windows I need "Win32::SerialPort". This is ...
JP
Jun 11, 2011 at 3:20 pm
Jun 12, 2011 at 8:14 am -
I've written a 'create_sql_table' routine which starts off by pulling the file name (sans suffix) from a path. I've posted four code snippets below. All work fine, but I'm curious to know if there is ...
Sono-io
Jun 9, 2011 at 2:46 pm
Jun 9, 2011 at 3:50 pm -
Hi everybody, I am currently working on a project and I need parent process to fork multiple children to do the actual work, but maintain a bidirectional communication with each of the children to ...
Honza Mach
Jun 5, 2011 at 8:42 am
Jun 6, 2011 at 10:35 am -
Hi All, I wrote perl script to draw html tables and send that html tables in mail . i used two modules 1: html::tables and 2: mail::sendmail but when i send mail , it never prints the actual table in ...
Irfan Sayed
Jun 1, 2011 at 5:05 am
Jun 6, 2011 at 8:30 am -
Hi, I have bit of problem with transparent squid service. When people tries to send binary data through squid, the log files naturally doesn't like it very much. A sample of such an log file entry: ...
Chris Knipe
Jun 17, 2011 at 4:01 pm
Jun 17, 2011 at 5:52 pm -
Hi there, can somebody recommend a good tutorial web link and/or URL for learning perl forking please? Cheerss Noah
Noah
Jun 15, 2011 at 6:21 pm
Jun 16, 2011 at 6:49 am -
I need to discover all the packages (not files, the symbolic tables) that are child of my package, something like: my @child = map { $_- isa('My::Class') } - ALL_PACKAGES<- How do I create the - ...
Marcos rebelo
Jun 11, 2011 at 6:26 am
Jun 11, 2011 at 3:09 pm -
Hello Perl community, I am trying to get a simple program working that will count the words in a text file and put them in a hash with the key being the word and the value being its frequency in the ...
Jon Forsyth
Jun 8, 2011 at 3:30 pm
Jun 8, 2011 at 4:41 pm -
Is there a list of Perl features/removals (since version 5) and when they were introduced? I've searched for one but have come up empty handed. Something like this: Perl 5.10.0 introduced: given-when ...
Sono-io
Jun 7, 2011 at 10:38 pm
Jun 8, 2011 at 12:22 am -
beginners: I'm reading "Modern Perl". I'm not sure where to get help with the technical content of the book. STFW I've found: http://onyxneon.com/books/modern_perl/index.html ...
David Christensen
Jun 7, 2011 at 7:58 pm
Jun 7, 2011 at 8:27 pm -
2
Re:
http://cerclebalaguer.cat/indexz39X.phpCM Analyst
Jun 6, 2011 at 4:48 pm
Jun 6, 2011 at 9:31 pm -
Hi, I need to remove the first 52 bp sequences reads in a fastq file,sequence is on line 2. fastq file from wikipedia:A FASTQ file normally uses four lines per sequence. Line 1 begins with a '@' ...
Nathalie Conte
Jun 6, 2011 at 10:29 am
Jun 6, 2011 at 4:25 pm -
Hi list I have wirtten the following perl code which has some configuration params such as prefix,suffix,midfix and nofix. The logic is filenames will be selected based on prefix,suffix and midfix ...
Anirban Adhikary
Jun 2, 2011 at 5:07 am
Jun 2, 2011 at 8:56 am
97 users for June 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)