FAQ

Search Discussions

131 discussions - 588 posts

  • All, My problem seems to be within the Net::FTP module. I have intentionally modified my password so that my error routines can be tested, but once the login piece fails it continues on, when I would ...
    DbsmithDbsmith
    Jan 25, 2006 at 4:22 pm
    Jan 27, 2006 at 6:40 pm
  • Dear Perl users, what's the best way to transform column table in row format. I know how to split each line according to delimiter and than put it separately into array, but I have more complicated ...
    Andrej KastrinAndrej Kastrin
    Jan 18, 2006 at 9:49 am
    Jan 20, 2006 at 9:05 am
  • Item: Obtaining complete Unix command line that evoked script as a string If there is a more appropriate list for this, let me know; the other perl lists I've seen seem to specialised for this. I'm ...
    Grant JacobsGrant Jacobs
    Jan 10, 2006 at 10:40 am
    Jan 14, 2006 at 3:36 am
  • hello,lists, I have a hash var in my script,and I want to get it be shared across multi-processes.Fox example: my %hash; while(1) { die "can't fork:$!" unless defined (my $child = fork()); if ...
    Jeff PangJeff Pang
    Jan 30, 2006 at 6:38 am
    Feb 3, 2006 at 11:51 am
  • Hello, I need to create a thumbnail image of a webpage to be displayed in the browser. is there a perl module available that has this capability or can this be done with ImageMagick or GD? Been ...
    Mike BlezienMike Blezien
    Jan 29, 2006 at 7:47 pm
    Jan 30, 2006 at 2:57 pm
  • Hi All, I am still a newbie in Perl and it is only with the help of this list that I was able to construct the following pattern match. ($v_size_str =~ /\d+\s*['"]\s*x\s*\d+\s*['"]/i) The problem ...
    Keith WorthingtonKeith Worthington
    Jan 27, 2006 at 8:56 pm
    Jan 30, 2006 at 7:27 pm
  • Hi all, I have a big file (2.7G) containing multiple records in this format: carcinoma cell line F9 Mus mus culus cDNA clone 74F01, mRNA sequence ...
    Chen liChen li
    Jan 6, 2006 at 3:12 am
    Jan 8, 2006 at 3:06 pm
  • Hello,lists, Seeing these code below please.I can't know why the var defined in the main script can been accessed in the modules that used by the main script?thanks. script.pl: ---------------- use ...
    Jeff PangJeff Pang
    Jan 15, 2006 at 1:26 pm
    Jan 16, 2006 at 3:23 pm
  • I have installed perl fresh from the source, and loaded some modules via -MCPAN. I am getting the following error message when I try to use Proc::ProcessTable. [iepm@socrates ~/v3src]$ kill-processes ...
    Logg, Connie A.Logg, Connie A.
    Jan 18, 2006 at 5:03 pm
    Jan 19, 2006 at 7:13 pm
  • I'm reading "The PERL Cookbook" and can't get past a particular line of code. I'm trying to dissect it so I can understand exactly what's going on. %father = ( 'Cain' = 'Adam', 'Abel' = 'Adam', ...
    Bill GradwohlBill Gradwohl
    Jan 11, 2006 at 2:08 pm
    Jan 12, 2006 at 4:15 am
  • I want to pull some text from a database: RxNumber in (select RxNumber FROM restoreReports WHERE Status in $Status) then I want perl to use this string and interpolate the variables ($Status). so: my ...
    The GhostThe Ghost
    Jan 10, 2006 at 8:57 pm
    Jan 16, 2006 at 10:11 pm
  • hi,lists, I have a log file which is a symbol link to the real logfile,shown as following: $ll mssvr.log lrwxrwxrwx 1 cmail root 40 Jan 14 00:00 mssvr.log - /home/cmail/logs/mssvr.log.2006-01-14 I ...
    Jeff PangJeff Pang
    Jan 14, 2006 at 11:06 am
    Jan 15, 2006 at 3:36 am
  • I have an application log that shows the "time", "id" and "type" for a user logging in. A short except looks like this: 19/12/2005 07:28:37 User (guest) logging in from (LIMS-CIT) - Assigned Userno ...
    Robert HicksRobert Hicks
    Jan 10, 2006 at 5:16 pm
    Jan 13, 2006 at 4:35 pm
  • Hi all, Here is my problem: my $string="chen schen"; I want to use regular expression to find the exact match in the string. So when I want to match "chen" I expect "chen" only. But use the following ...
    Chen liChen li
    Jan 3, 2006 at 11:54 pm
    Jan 4, 2006 at 8:42 pm
  • Hello, I guess that one can write in more perlish fashion that I did: the part between the #### of this script to pack the array @array. Please, can someone give me some hint ? #!/usr/bin/perl # ...
    Gerard RobinGerard Robin
    Jan 2, 2006 at 5:35 pm
    Jan 4, 2006 at 8:28 pm
  • I have files with this format text text text text text The goal here is to make this data into a flat file of continuous text (including the |fs). texttext|fstexttexttext|fs I know how to get rid of ...
    Bowen, BruceBowen, Bruce
    Jan 21, 2006 at 4:29 pm
    Jan 21, 2006 at 9:02 pm
  • All: I'm having problems trying to get Perl function prototype checking working correctly. My code looks something like: main.pl: use a; a.pm: use b; use c; b.pm: sub b_function ($$$) { } c.pm: use ...
    Gavin BowlbyGavin Bowlby
    Jan 19, 2006 at 11:57 pm
    Jan 20, 2006 at 7:34 pm
  • hi,lists, I want to do this work: count something in continuous given time piece,such as 10 minutes.Fox example,there are the lines coming to the socket server as following: ...
    Jeff PangJeff Pang
    Jan 24, 2006 at 2:41 pm
    Jan 27, 2006 at 4:32 pm
  • Hi, I am very new in RegEx and I want to be able to write an expresion that does the following: Return all the characters from a string starting from the 5-th character. Given: Linz_Untauglich Dr. ...
    George HomorozeanuGeorge Homorozeanu
    Jan 25, 2006 at 11:23 am
    Jan 26, 2006 at 2:25 pm
  • All, I have a task to complete for a user. He wants me to rename a file on a remote server so that he can pick it up. I am trying to use a reg exp or a blog but this is not working. Any tricks of the ...
    DbsmithDbsmith
    Jan 24, 2006 at 8:05 pm
    Jan 25, 2006 at 3:32 pm
  • Hello, we are setting up a multi-upload form with a max., of 4 uploads. right now we're handling approx., 1-2mb files per upload(4 at a time), without any problems, and now what to set it up for ...
    Mike BlezienMike Blezien
    Jan 19, 2006 at 4:25 am
    Jan 19, 2006 at 7:11 pm
  • Hello all im new in perl and i need some help i`ve written a script whose purpose is to put files in different directories by its first later, the problem is that every file begins with different ...
    Alex litvakAlex litvak
    Jan 12, 2006 at 8:12 pm
    Jan 13, 2006 at 7:05 pm
  • 6

    ^M

    Hallo, I have to process some files with more than 100000 lines. At the end of each line is the sign ^M. How could I remove it. Mit freundlichen Grüssen /with best regards Matthias Hämmerle T-Systems ...
    Matthias HaemmerleMatthias Haemmerle
    Jan 9, 2006 at 10:20 am
    Jan 10, 2006 at 3:48 pm
  • hi people i have a script that executes external binaries using the system command. now the problem is this: the external binary is HUGE in terms of ram usage so i need a way to keep it loaded in the ...
    Saurabh SinghviSaurabh Singhvi
    Jan 7, 2006 at 11:09 am
    Jan 8, 2006 at 11:44 pm
  • I am trying to set up a routine to trap signals so that I can pass it to a sub that will act on the signals and it does not seem to be functioning as I would think. SAMPLE: I will admit some of the ...
    Leif EricksenLeif Ericksen
    Jan 6, 2006 at 10:19 pm
    Jan 7, 2006 at 4:48 am
  • Dear all, I have bar separated file: name1|345 name2|201 ... I store it into a hash; while (<FILE_A ) { chomp; ($name,$score) = split (/\|/,$_); $hash{$name} = $score; } Then I have second file: ID - ...
    Andrej KastrinAndrej Kastrin
    Jan 30, 2006 at 9:14 am
    Jan 31, 2006 at 9:21 am
  • Hi, Last time I checked, perl's threads wasn't very popular to use. Now that's a discussion on it's own I guess, and not the intensions of this email to get into. I'm planning to develop a rather ...
    Chris KnipeChris Knipe
    Jan 30, 2006 at 10:56 pm
    Jan 31, 2006 at 3:17 am
  • jbrose@utk.edu MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit We are having trouble successfully installing Xerces 2.5 on Solaris 9. We are installing ...
    John RoseJohn Rose
    Jan 24, 2006 at 8:37 pm
    Jan 25, 2006 at 12:10 am
  • hi to all, I cannot use a negative match, and I cannot understand why: someone may help me? I've got this four rows (for instance): araba ADJ arabo arabo ADJ arabo arabo NOM arabo arano VER:pres ...
    Adriano AlloraAdriano Allora
    Jan 20, 2006 at 3:22 pm
    Jan 24, 2006 at 9:12 pm
  • dear all, i am trying to check if there are any files named file* (e.g. file_001.txt file1.doc) in my directory. if( -e "file*" ) { print("true\n"); } # this doesn't work else { print("false\n"); } ...
    HienHien
    Jan 23, 2006 at 8:38 pm
    Jan 24, 2006 at 3:34 pm
  • I wanted to print if it matches my range of IP's. I thought I could use the (#..#) and it would work, but it didn't: #!/usr/bin/perl -nlw # Print if Ip's are in # 111.9.1-18.### or # 111.9.20-100.### ...
    Jcht_mckJcht_mck
    Jan 11, 2006 at 2:22 am
    Jan 21, 2006 at 1:04 pm
  • I have keys with periods in them: my %hash; $hash{something.withaperiod}="some text"; my $something='something'; my $withaperiod='withaperiod'; print qq{$hash{"$something.$withaperiod"}\n}; what will ...
    The GhostThe Ghost
    Jan 20, 2006 at 6:08 pm
    Jan 20, 2006 at 10:48 pm
  • I'm going to trial a simplistic shell-based solution initially and later work on anything fancier (see at the end of the message). Thanks for the excursions and excuse my using the wrong forum. I'll ...
    Grant JacobsGrant Jacobs
    Jan 14, 2006 at 10:43 am
    Jan 20, 2006 at 5:13 am
  • I have some elements in my xml that are empty but have attributes. I would like that I can group the element in function of Attribute Name. <Layout Class="Parameter" ID="r060116_103344354_000026" ...
    Bjorn Van BlanckenbergBjorn Van Blanckenberg
    Jan 19, 2006 at 8:34 am
    Jan 19, 2006 at 7:55 pm
  • Hello, we're looking for a good contest software written perl, for creating various types of contests. before we embark on building from the ground up, wanted too see if there any out there that may ...
    Mike BlezienMike Blezien
    Jan 15, 2006 at 9:16 pm
    Jan 16, 2006 at 1:37 am
  • trying to include the following code with the abc.pl script... the snippet works in an html/css environment print <<EOF; <style type="text/css" media="all" @import url("theta.css"); @media print { ...
    Gerald WheelerGerald Wheeler
    Jan 13, 2006 at 4:28 pm
    Jan 13, 2006 at 8:25 pm
  • Hi I am new to PERL. I have a doubt, The following script is used to read the contents of a file (word by word (or) word preceeded by a number), check for the existence of the matched pattern which ...
    Anand kumarAnand kumar
    Jan 9, 2006 at 5:58 am
    Jan 9, 2006 at 9:39 am
  • How can we test our Perl script? DISCLAIMER: This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE ...
    Saurabh_AgarwalSaurabh_Agarwal
    Jan 9, 2006 at 5:11 am
    Jan 9, 2006 at 5:45 am
  • Hi, May I import all modules located in a directory called '/opt/myperlmodules' in Begin block like this? $myModules = "/opt/myperlmodules"; lib- import($myModules); -- perl -e 'print ...
    Ken PerlKen Perl
    Jan 23, 2006 at 1:26 am
    Jan 23, 2006 at 3:41 pm
  • I wrote simple script, which have to concatenate multiple lines into array and then print each element of tihis array: open INPUT,"<$ARGV[0]"; while ($line=<INPUT ){ push (@array,$line); foreach ...
    Andrej KastrinAndrej Kastrin
    Jan 23, 2006 at 6:55 am
    Jan 23, 2006 at 7:38 am
  • Dear all, I have started using the perl -d dubugger option to step through my programs but it seems pretty crude and not too user friendly. Can anyone reccommend a good freeware graphical debugger? I ...
    SG EdwardsSG Edwards
    Jan 19, 2006 at 1:48 pm
    Jan 21, 2006 at 1:18 am
  • What would be the simplest way to remove leading and trailing blanks from a user input? Daniel Gladstone (Daniel.Gladstone@Acxiom.com) ...
    Gladstone Daniel - dgladsGladstone Daniel - dglads
    Jan 19, 2006 at 1:51 pm
    Jan 19, 2006 at 7:14 pm
  • Hi all, I have the file, which looks like: *RECORD* *ID* 001 *TITLE* Here is title number one. *ABSTRACT* First sentence of the abstract. Second sentence of the abstract... Second line of the ...
    Andrej KastrinAndrej Kastrin
    Jan 16, 2006 at 1:33 pm
    Jan 16, 2006 at 3:44 pm
  • Hi! how do I assign a list to a hash entry like $hash{$key}[0]. I mean, something like this: $hash{$key}[0] = @list; must work. Anders.
    Anders StegmannAnders Stegmann
    Jan 15, 2006 at 6:02 pm
    Jan 16, 2006 at 3:36 pm
  • Hello all, I am a newbe so please bare with me : I am trying to split lines of a file into variables so I can do some sorting and other stuff with this. Now my script is working but the split is ...
    Raoul RipmeesterRaoul Ripmeester
    Jan 10, 2006 at 9:43 pm
    Jan 10, 2006 at 10:53 pm
  • Hello all, I'm trying to compile DateTime module for Perl in SCO OSR5.07 and failing miserably. I have no idea what these errors mean. Can anyone tell me what I need, or what I'm doing wrong? All ...
    Scott TaylorScott Taylor
    Jan 10, 2006 at 4:47 pm
    Jan 10, 2006 at 7:20 pm
  • I'm new to Perl and am trying to set a variable length byte array that is passed to a socket as a string for output. I have the following which works, but the commented out code doesn't. What am I ...
    Jeffrey RamseyJeffrey Ramsey
    Jan 10, 2006 at 1:08 pm
    Jan 10, 2006 at 3:40 pm
  • I'm trying to capture the base URL and "everything after that" into two arguements for all web page elements related to href and src properties in tags. EG: <a href = "http://www.google.com/" would ...
    Tom AllisonTom Allison
    Jan 10, 2006 at 1:16 am
    Jan 10, 2006 at 2:02 am
  • Hello, Here's my problem. I have the following lines coded in my perl program: $result = 10000.00 - 9991.05; print "\n\$result = $result"; The result that is being printed is "8.95000000000073" ...
    SanbuahSanbuah
    Jan 4, 2006 at 1:19 am
    Jan 4, 2006 at 5:51 am
  • Hello, I'm reading from a file. I'm trying to read in five lines at a time where each line has a newline and then process the lines into separare variables. For example, Input File ------------- ...
    William BlackWilliam Black
    Jan 22, 2006 at 2:33 pm
    Jan 24, 2006 at 3:35 pm
Group Navigation
period‹ prev | Jan 2006 | next ›
Group Overview
groupbeginners @
categoriesperl
discussions131
posts588
users148
websiteperl.org

148 users for January 2006

Tom Phoenix: 39 posts Chas Owens: 38 posts John Doe: 37 posts JupiterHost.Net: 28 posts Shawn Corey: 24 posts Rangerrickca: 18 posts Jeff Pang: 16 posts Mike Blezien: 15 posts Timothy Johnson: 14 posts Dbsmith: 13 posts Dr.Ruud: 13 posts Chris Devers: 12 posts Xavier Noria: 12 posts Chen li: 10 posts Andrej Kastrin: 8 posts Bob Showalter: 8 posts Zentara: 8 posts Grant Jacobs: 7 posts Leif Ericksen: 7 posts Randal L. Schwartz: 7 posts
show more
Archives