FAQ

Search Discussions

66 discussions - 392 posts

  • 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 SayedIrfan 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 ...
    BewareBeware
    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-ioSono-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-ioSono-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
    EventualEventual
    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 GeorgeAgnello 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 EksteenWernher 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 ...
    VenkatesVenkates
    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 ...
    EventualEventual
    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 FairbrotherAdam Fairbrother
    Jun 6, 2011 at 4:27 pm
    Jun 14, 2011 at 9:34 pm
  • Patrick DuprePatrick 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_mlGator_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 VenkatesanAravind 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
    JosanabrJosanabr
    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 HarrisBryan 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 ...
    GrantGrant
    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 ...
    AndrewmchorneyAndrewmchorney
    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-ioSono-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 RenshawSayth 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 DelacourJohn 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 AdhikaryAnirban 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 FindeisenStanisł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 SayedIrfan 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 ...
    DD
    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 ...
    EventualEventual
    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-ioSono-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-ioSono-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 ...
    RodeoredRodeored
    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 leeAnders 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. ...
    EventualEventual
    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 SayedIrfan 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 BuehlerSteven 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 MkhizeKhabza 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 KalraParag 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 McClainMike 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 PrasadRamprasad 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 RenshawSayth 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 ...
    JPJP
    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-ioSono-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 MachHonza 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 SayedIrfan 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 KnipeChris 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
    NoahNoah
    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 rebeloMarcos 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 ForsythJon 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-ioSono-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 ChristensenDavid Christensen
    Jun 7, 2011 at 7:58 pm
    Jun 7, 2011 at 8:27 pm
  • 2

    Re:

    http://cerclebalaguer.cat/indexz39X.php
    CM AnalystCM 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 ConteNathalie 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 AdhikaryAnirban Adhikary
    Jun 2, 2011 at 5:07 am
    Jun 2, 2011 at 8:56 am
Group Navigation
period‹ prev | Jun 2011 | next ›
Group Overview
groupbeginners @
categoriesperl
discussions66
posts392
users97
websiteperl.org

97 users for June 2011

Rob Dixon: 24 posts Uri Guttman: 24 posts Sono-io: 21 posts Rob Coops: 16 posts Jim Gibson: 15 posts Dr.Ruud: 14 posts Shawn H Corey: 14 posts Sayth Renshaw: 13 posts Irfan Sayed: 12 posts Shawn wilson: 11 posts Shlomi Fish: 11 posts C.DeRykus: 9 posts John SJ Anderson: 9 posts John W. Krahn: 9 posts Shlomi Fish: 8 posts Eventual: 7 posts John Delacour: 7 posts Mathieu Hedard: 6 posts Venkates: 6 posts Wernher Eksteen: 6 posts
show more
Archives