FAQ

Search Discussions

77 discussions - 434 posts

  • Hi Wanted to ask a question about practical beginners guides for perl. I have found a read the baisc beginners guides here ...
    Sayth RenshawSayth Renshaw
    May 27, 2011 at 3:10 am
    Jun 5, 2011 at 6:25 pm
  • Hi; A colleague claims that he made no changes, code worked yesterday and doesn't today. He is not using OO Perl. I have asked him for a small code snippet that reproduces the error (I'm sure he is ...
    Kenneth WolcottKenneth Wolcott
    May 18, 2011 at 8:37 pm
    May 23, 2011 at 1:23 pm
  • hi all, i am using following command to build the solution file using perl perl says some error : following is the error : Bareword found where operator expected at -e line 1, near "qx/C:\\Program ...
    Irfan SayedIrfan Sayed
    May 23, 2011 at 12:02 pm
    May 24, 2011 at 9:06 pm
  • hi all, As with other releases of File::Slurp I think this list should be told about it since this module is so easy to use and makes your Perl much simpler and also faster. uri Have you ever wanted ...
    Uri GuttmanUri Guttman
    May 15, 2011 at 5:29 am
    Jun 7, 2011 at 7:40 pm
  • Hello List! I have a quick question about memory release in perl: { my @array; foreach my $n (1..1e7 ) { push @array, $n; print "$n\n"; } } print "sleeping\n"; sleep 600; after the code block, I ...
    Jim GreenJim Green
    May 19, 2011 at 12:16 am
    May 20, 2011 at 4:40 am
  • Can someone recommend a good ISP that keeps up with Perl? Right now we're with A2 Hosting and they're still stuck at version 5.8.8, and they refuse to upgrade because, and I quote, "we unfortunately ...
    Sono-ioSono-io
    May 11, 2011 at 2:35 am
    May 22, 2011 at 9:12 pm
  • HI i am given ever day a list of files which i wget within a parent folder . my team gives me a structure where theses files are located ================ cat /home/upload_files1.txt download the ...
    Agnello GeorgeAgnello George
    May 31, 2011 at 6:15 am
    Jun 1, 2011 at 6:08 am
  • Hi all: I translated a program from c to perl.but the perl program cost 15 seconds compare to the original c one cost only less than 1 second, I guess this might be the result of I literally ...
    Xi LiuXi Liu
    May 26, 2011 at 5:05 am
    May 30, 2011 at 2:44 am
  • Have a date: 2011-05-02-16:40:51 Using this to get it: $tm = gmtime; $time_stamp = sprintf "%04d-%02d-%02d-%02d:%02d:%02d", $tm- year + 1900, $tm- mon + 1, $tm- mday, $tm- hour, $tm- min, $tm- sec; ...
    MattMatt
    May 2, 2011 at 4:46 pm
    May 6, 2011 at 1:19 pm
  • hi, i have string like this "2011/05/25 07:24:58 -0700 PDT" i need to match "2011/05/25" i wrote reg ex like this: ^\d\d\d\d//\d\d/\d\d$ but it is not working code is like this $lin = "2011/05/25 ...
    Irfan SayedIrfan Sayed
    May 25, 2011 at 2:39 pm
    May 31, 2011 at 9:44 am
  • Hi I am using TT to display my data from my db , i insert the following data from a Front end using ( <textarea ) into my database the data is like this in mysql : ...
    Agnello GeorgeAgnello George
    May 27, 2011 at 10:48 am
    May 29, 2011 at 6:34 pm
  • Hi, To reset password in unix, the system will prompt 2 times for entering the new password. The first time is to enter the new password and the second time is to confirm the new password of the ...
    DolphinDolphin
    May 1, 2011 at 12:23 am
    May 3, 2011 at 9:46 am
  • Hi Members, I am a linux system admin. I want to use perl as a command line like sed and awk. For example suppose , i need to extract IP Addr from a string or file using regrex i mean str="hello ip ...
    Vishesh kumarVishesh kumar
    May 24, 2011 at 4:11 am
    May 27, 2011 at 12:26 pm
  • Hello everyone, I would like to learn an efficient way to change a single column in a file that is accessed by an external program after the column is changed each time. open write close is what I ...
    DD
    May 9, 2011 at 8:29 pm
    May 11, 2011 at 5:19 am
  • Good Morning, I could use some help figuring out where a warning is coming from. My shopping cart script has the following sub: 695 sub get_ud { 696 my ($log, $pass) = $main::global- {login} ? ...
    Sono-ioSono-io
    May 31, 2011 at 4:33 pm
    Jun 6, 2011 at 9:04 am
  • Hi I am on my way to learning perl, and am reading the beginning perl book. In chapter 2 I am following the exercises ...
    Sayth RenshawSayth Renshaw
    May 31, 2011 at 4:28 am
    May 31, 2011 at 3:41 pm
  • Hi all, I've received quite a lot of heat from people here and elsewhere, due to the fact that I sometimes referred people to resources on http://perl-begin.org/ , in part because it is my own work. ...
    Shlomi FishShlomi Fish
    May 19, 2011 at 6:53 am
    May 31, 2011 at 9:36 am
  • I have an input csv file which data looks like the following: csno,svgrp,antfc,cdmanbr_list1.ncs_c,cdmanbr_list1.nghbrantf,cdmanbr_list1.pgn_c ...
    Chris StinemetzChris Stinemetz
    May 17, 2011 at 8:31 pm
    May 17, 2011 at 9:46 pm
  • HI, I have a file with sequences each sequence is 200 pb long and I have 30K lines ATGGATAGATA\n TTCGATTCATT\n GCCTAGACAT\n TTGCATAGACTA\n I want to calculate the AT ratio of each base based on their ...
    Nathalie ConteNathalie Conte
    May 13, 2011 at 3:47 pm
    May 14, 2011 at 12:08 pm
  • HI, I have this file format chr start end strand x 12 24 1 x 24 48 1 1 100 124 -1 1 124 148 -1 Basically I would like to create a new file by grouping the start of the first line (12) with the end of ...
    Nathalie ConteNathalie Conte
    May 12, 2011 at 9:23 am
    May 13, 2011 at 8:15 am
  • I'm trying to figure out what the differences are with all of the available message queue projects. There's spread, rabbit, amq and a dozen+ others. I'm not sure how polarized this subject is so ...
    Shawn wilsonShawn wilson
    May 26, 2011 at 8:44 am
    May 26, 2011 at 9:18 pm
  • Hi All, I need to truncate last few bytes of file. these files are big in size. One idea is to write needed bytes to another file and delete the original file, but i am dealing with big files :( dont ...
    A bA b
    May 20, 2011 at 10:10 am
    May 23, 2011 at 8:33 am
  • Hi All I have a small issue in arranging data with a array ref . $arrayref = [ [ [ 'user1, 'c'], [ 'user2', 'a'], [ 'user2', 'b' ],[ 'user2', 'd' ],[ 'user3', 'a' ],[ 'user2', 'f' ] ] ]; i tried the ...
    Agnello GeorgeAgnello George
    May 13, 2011 at 10:11 am
    May 13, 2011 at 4:57 pm
  • Hi All, I need help in matching the regular expression, the file is as below. I am trying to match number followed by Number ex 587, 128 in $1 and 60:06:01:60:42:40:21:00:3A:AA:55:37:91:8A:DF:11 in ...
    Jet speedJet speed
    May 11, 2011 at 3:38 pm
    May 11, 2011 at 9:48 pm
  • Hi, Could you please tell me best Perl functions/modules for password encryption and decryption? Thanks and Regards, Amresh
    Amresh SajjanshettyAmresh Sajjanshetty
    May 6, 2011 at 12:38 pm
    May 7, 2011 at 6:03 am
  • Here's a simple example that illustrates the problem I've run into: perl -le' show(); { my @fibs = (0,1,1); my ($x, $y) = (1,2); sub show { print "x=$x\ty=$y\t\$#fibs=$#fibs\tfibs=@fibs\tscalar ...
    Mike McClainMike McClain
    May 6, 2011 at 12:22 am
    May 7, 2011 at 3:26 am
  • Hi In my script i am using template toolkit. I am trying to set the cookie in my browser but all that it does is it prints the following output on my broswer : Set-Cookie: ...
    Agnello GeorgeAgnello George
    May 4, 2011 at 1:23 pm
    May 5, 2011 at 6:44 am
  • I am try to crawl a webpage that one is redirected to another. I am using Scrappy module for crawling process. I am using version 0.94111370 (Updated version). Any one suggest me to handle the ...
    AmbuliAmbuli
    May 24, 2011 at 1:26 pm
    Jun 1, 2011 at 1:41 am
  • Hello All: My rsync options are not being recognized in the system function. I tried escaping the asterisks and single quotes to no avail. Also, I do not want to install any rsync modules. Your help ...
    Ezra TaylorEzra Taylor
    May 27, 2011 at 7:10 pm
    May 31, 2011 at 10:03 am
  • I have a requirement of generating large number ( 100 thousand ) files from a single template by replacing the placeholders with respective values Currently I use Template-Toolkit, but is there a ...
    Ramprasad PrasadRamprasad Prasad
    May 27, 2011 at 12:56 pm
    May 31, 2011 at 10:00 am
  • Hello, World! I'm an amateur programmer trying to convert some of my old BASIC programs to run in a browser so people don't have to download and install software. I'm having a problem with my current ...
    John M Rathbun MDJohn M Rathbun MD
    May 31, 2011 at 12:48 am
    May 31, 2011 at 8:15 am
  • Hello, I'm triying to do some substitutions on an pdf file. perl -p -i~ -w -e "s/A/B/;" file.pdf This works as intended, except: perl adds 0x0D (Windows \n) :-/ as a HEX diff shows. How can I work ...
    Thomas LiebezeitThomas Liebezeit
    May 26, 2011 at 1:04 pm
    May 29, 2011 at 8:38 am
  • Dear all, I try to run this script to process my radar data, the script build by someone, I have asked him, but his advice can not help. This error message : ARGV error firstradar velx vely This is ...
    IndragIndrag
    May 18, 2011 at 9:26 am
    May 18, 2011 at 5:44 pm
  • In reading in a file of space separated columns of numbers and stuffing them into an array, I used: while( my $line = <$FH ) { my @arr = split /\s+/, $line; push @primes_array, @arr; } but kept ...
    Mike McClainMike McClain
    May 15, 2011 at 4:28 pm
    May 16, 2011 at 11:45 pm
  • hi all, i need to use sendmail module of perl to send mails. i have seen much perl modules to send mails but i dont know which one is suitable for my requirement my requirement is : i need such ...
    Irfan SayedIrfan Sayed
    May 12, 2011 at 6:20 am
    May 12, 2011 at 10:37 am
  • Hi, i am running system command using following line in perl script ($stdout,$stderr) = capture_exec("$workspace\\Dev_Tools\\Nant\\bin\\nant -buildfile:abc.build $target"); print "$stdout\n"; print ...
    Irfan SayedIrfan Sayed
    May 11, 2011 at 12:12 pm
    May 11, 2011 at 2:46 pm
  • Dear list, I´m relatively new to Perl, so please be patient. I tied to get rid of whitespace characters by the following programme: my $i=" USEFUL "; if ($i =~ /\s/) { $i =~ s/\s*//; } print ...
    Irene ZweimuellerIrene Zweimueller
    May 10, 2011 at 5:25 pm
    May 10, 2011 at 8:17 pm
  • Hi List, I am trying to write a small script to parse bibliographic references like this: Morgan, M.J., Wilson, C.E., Crim, L.W., 1999. The effect of stress on reproduction in Atlantic cod. J. Fish ...
    Tiago HoriTiago Hori
    May 9, 2011 at 6:14 pm
    May 10, 2011 at 12:08 pm
  • Hi, Looking at the script below, how do I pass 2 arrays from the main script into the subroutine? Thanks #### script ###### #!/usr/bin/perl use strict; my @whatever = qw(a b c d e); my @test = qw(1 2 ...
    EventualEventual
    May 7, 2011 at 3:47 pm
    May 9, 2011 at 3:51 pm
  • Hi, I want to read the content of a hidden folder like $path = '/home/user/.gnome2/folder/folder'; in a list but with opendir(DIR, "$path") || die "folder not found" $!; I got an error message. ...
    GubaGuba
    May 8, 2011 at 1:29 pm
    May 9, 2011 at 3:00 am
  • Hi all, I´m new here and my English is not the best. However, I would like to get some help for my perl-problems. I want to write a script which is finding data´s like "0.1" or "46.7" in a string and ...
    Wolken FlugWolken Flug
    May 6, 2011 at 6:13 pm
    May 6, 2011 at 10:02 pm
  • I have old legacy code on .net 1.1 c# Byte[] clearBytes = new UnicodeEncoding().GetBytes(cleanString); Byte[] hashedBytes = ((HashAlgorithm) ...
    ApmApm
    May 5, 2011 at 3:55 pm
    May 6, 2011 at 5:16 am
  • I'm not a perl guy but I need to make something run that relies on the BSDGlob.pm module. I downloaded xzvf File-BSDGlob-0.94.tar.gz from CPAN and generated the Makefile. The make dies with bash-3.2$ ...
    RobiRobi
    May 31, 2011 at 10:08 am
    Jun 13, 2011 at 2:40 pm
  • I received three unsolicited recommendations for moderators to this list, one volunteer, and three unsolicited requests to deny moderatorship from some individuals. Some of these lists intersected ...
    Casey WestCasey West
    May 30, 2011 at 12:57 am
    Jun 1, 2011 at 4:12 am
  • Hello, I am getting the following error: bash: /var/www/html/bugzilla/email_in.pl: line 2: syntax error near unexpected token `(' bash: /var/www/html/bugzilla/email_in.pl: line 2: `use Cwd ...
    DerekDerek
    May 26, 2011 at 6:11 pm
    May 31, 2011 at 2:44 pm
  • Hi, I have an array , @datas, and each element within @datas is a string that's made up of 6 digits with spaces in between like this “1 2 3 4 5 6”, so the array look like this @datas = ('1 2 3 4 5 ...
    EventualEventual
    May 27, 2011 at 8:18 am
    May 29, 2011 at 2:17 am
  • Hi Members, I am a linux system admin. I want to use perl as a command line like sed and awk. For example suppose , i need to extract IP Addr from a string or file using regrex i mean str="hello ip ...
    Vishesh kumarVishesh kumar
    May 24, 2011 at 4:10 am
    May 25, 2011 at 12:40 pm
  • hi, I instaled my perl under the e:\r_software\perl. I wrote a hello world programme as below #! /usr/bin/perl print “Hello,word!\n”; and save it under e:\ as perl.p1 but when I run it with the ...
    Gang ChengGang Cheng
    May 23, 2011 at 7:20 am
    May 23, 2011 at 8:09 am
  • hi, i need to catch "error" word in log file i used reg exp like this : if ($_ =~ /\berror\b/) is this correct ? --irfu
    Irfan SayedIrfan Sayed
    May 18, 2011 at 7:06 am
    May 18, 2011 at 4:50 pm
  • hi I got a string like this $string = ' [a b c d]' i need to get a b c d in to a array called @all. i was was trying to so a split with delimiter '\s+' but still i get [a b c d] but i want a b c d ...
    Agnello GeorgeAgnello George
    May 14, 2011 at 7:57 am
    May 14, 2011 at 8:45 am
Group Navigation
period‹ prev | May 2011 | next ›
Group Overview
groupbeginners @
categoriesperl
discussions77
posts434
users100
websiteperl.org

100 users for May 2011

Uri Guttman: 54 posts Rob Dixon: 41 posts Jim Gibson: 20 posts Shawn H Corey: 17 posts Shlomi Fish: 17 posts Agnello George: 15 posts Shawn wilson: 15 posts Irfan Sayed: 14 posts Kenneth Wolcott: 12 posts C.DeRykus: 10 posts Brandon McCaig: 9 posts Dr.Ruud: 9 posts John W. Krahn: 9 posts Chris Nehren: 8 posts Sayth Renshaw: 8 posts Sono-io: 6 posts Jeff Pang: 6 posts Mike McClain: 6 posts Paul Johnson: 6 posts Pete Smith: 5 posts
show more
Archives