Search Discussions

169 discussions - 682 posts

  • The random number generator is rand(); its documentation is here: perldoc -f rand To shuffle an array, read: perldoc -q shuffle -- Jeff "japhy" Pinyan % How can we ever be the sold short or RPI ...
    Jeff 'japhy' PinyanJeff 'japhy' Pinyan
    Oct 10, 2005 at 4:18 am
    Oct 14, 2005 at 10:14 pm
  • Hi, I wanted a script that would rename files from lower to upper case. I have something but I am a bit worried about going live with it as I can imagine there is plenty of room for error and I ...
    Dermot PaikkosDermot Paikkos
    Oct 27, 2005 at 10:07 am
    Oct 28, 2005 at 4:30 pm
  • Hi, I am very new to PERL and I need a program to do following task. Can u help me pls. I have a file with following contents. 454 NV_DS_DEFAULT_BAUDRATE_I 455 NV_DIAG_DEFAULT_BAUDRATE_I 516 ...
    Sreedhar reddySreedhar reddy
    Oct 14, 2005 at 12:23 pm
    Oct 17, 2005 at 7:10 pm
  • Hi, The newly released book "Perl Best Practices" by Dr. Damien Conway may be helpful in addition to those recommended already. Alfred, Steve Bertrand wrote:
    Alfred VahauAlfred Vahau
    Oct 22, 2005 at 10:33 pm
    Oct 28, 2005 at 11:07 am
  • There is a "join" feature for threads. Is there an OS Vendor neutral way to create multiple processes executing simultaneously with the parent and have the parent "join" on them like I can with ...
    Siegfried HeintzeSiegfried Heintze
    Oct 4, 2005 at 11:43 pm
    Nov 4, 2005 at 9:12 pm
  • Hi All, How to extract zip file using perl program... Thanks Hridyesh
    Pant, HridyeshPant, Hridyesh
    Oct 25, 2005 at 4:22 am
    Oct 26, 2005 at 7:21 pm
  • Hello again, I have rephrased my question from yesterday, I want to be able to ignore the white space in between ROAM and ACT that is return the query as ROAM ACT without falling to the else ...
    Oct 19, 2005 at 6:00 am
    Oct 19, 2005 at 1:55 pm
  • Good Afternoon I am attempting to develop a script that will parse a directory listing and return only directory names that match a given expression. It would make sense to me to use File::Find to do ...
    Oct 7, 2005 at 5:17 pm
    Oct 9, 2005 at 1:53 pm
  • Hi folks Can any body tell me how to change the owner of a file ?????? I have written this script ....... unless (chown $uid , $gid , $filename) { die "chown failed :$!"; } this code will give me the ...
    Rakesh MishraRakesh Mishra
    Oct 31, 2005 at 8:15 am
    Nov 1, 2005 at 6:17 pm
  • Hi, I'm not sure if this is the correct group to post this question to. If there is a better forum for this kind of question, please let me know. I am trying to slurp a file that was written on Mac ...
    Renee HalbrookRenee Halbrook
    Oct 28, 2005 at 9:15 am
    Oct 28, 2005 at 6:29 pm
  • Hi! When die is used, there is message something like: x doesn't exist as an environment variable Died at lsh.pl line 510, <STDIN line 6. Childprocess complete I just want the current process to die ...
    Oct 28, 2005 at 6:35 am
    Oct 28, 2005 at 11:02 am
  • Charles K. Clarkson recently replied to Sreedhar Reddy in which one of the corrections he made was: open my $fh, '<', $input_file or die qq(Cannot open "$input_file": $!); It seems that Charles' ...
    M. LewisM. Lewis
    Oct 17, 2005 at 5:54 am
    Oct 18, 2005 at 12:24 pm
  • Hi Folks, i have a requirement where in i need to send alerts to a set of users for which i have developed a script and it is working fine. For the body of the mail i am writing into a text file ...
    Oct 13, 2005 at 2:08 pm
    Oct 16, 2005 at 8:44 am
  • Hello Listers I've used the following statement in several instances before and never had any errors reported and the programs all seem to work ok. %{$hashRef}- {$key} = $value; But since I've began ...
    Tony FrasketiTony Frasketi
    Oct 4, 2005 at 6:28 pm
    Oct 4, 2005 at 7:40 pm
  • Rather than create/store/sort many billion entities, my script creates these entities dynamically and maintains a hash of the "top 100". As each entity is created, I search my hash for the entity ...
    Frank BaxFrank Bax
    Oct 23, 2005 at 5:34 pm
    Oct 24, 2005 at 2:25 pm
  • Good Evening I am trying to learn Perl, I was told to go out and get the Camel=3D20 Book - "Programming Perl" I got the book today and I was wondering if this is the best way to=3D20 Learn Pearl. Can ...
    Gladstone Daniel - dgladsGladstone Daniel - dglads
    Oct 19, 2005 at 1:36 pm
    Oct 20, 2005 at 4:37 pm
  • Ve aleykume salam Mohammed. My name is Ulfet. Yesterday i was written from Nahid`s email address. So, i need to write script in PERL languiage on UNIX OS. Exactly Unix AIX (for IBM). So, i found some ...
    Oct 14, 2005 at 12:21 pm
    Oct 20, 2005 at 12:14 pm
  • Hi there! How do I get a for each-statement to start at element 1 (second element) /G
    Oct 7, 2005 at 7:29 am
    Oct 7, 2005 at 8:50 am
  • This isn't a test message sent to the list, that would be lame. ;) However it's all about Testing and how to do it the right way. I've been trying to use Test::More as the cornerstone of my testing. ...
    Tom AllisonTom Allison
    Oct 4, 2005 at 9:45 am
    Oct 6, 2005 at 5:44 pm
  • i'm modifying a script to run on a sun box that i do not have privileges to install modules in the normal perl paths. subsequently i installed DBI.pm into a modules subdir under my home dir. below ...
    Oct 28, 2005 at 7:28 pm
    Oct 28, 2005 at 8:35 pm
  • Hi while renaming a file I am getting below error on windows environment.. "Couldn't rename to : Permission denied Couldn't rename to : Permission denied Couldn't rename to : Permission denied Can ...
    Pant, HridyeshPant, Hridyesh
    Oct 26, 2005 at 5:44 am
    Oct 27, 2005 at 1:44 pm
  • I have a file I download everyday, let's call it "output.txt." The file "output.txt" is saved in a directory by date, for example 10012005 (for Oct. 1, 2005). I have a years worth of output files in ...
    Oct 24, 2005 at 4:11 am
    Oct 24, 2005 at 6:41 pm
  • I'd like to write a perl script to do very simple bitmap editing. The part I can't figure out is how to write text into the terminal at any x,y point. Is this possible? e.g. how can I write an "*" at ...
    Bryan R HarrisBryan R Harris
    Oct 20, 2005 at 5:21 pm
    Oct 20, 2005 at 7:13 pm
  • Hello I need to know the best way to get a missing element from an array. i have an array @a of size containing values 1 to 101 with one value missing. eg: @a=qw( 1 2 3 4 5 6 8 9 10 .... 101); (the ...
    Jabir AhmedJabir Ahmed
    Oct 10, 2005 at 11:34 am
    Oct 13, 2005 at 10:24 am
  • Hello, I try to replace my old shells scripts with perl ... Can you tell me how to extract a substring in upper case from a variable and assign that substring to a variable ? Do I need to proceed ...
    Oct 5, 2005 at 8:53 am
    Oct 5, 2005 at 8:11 pm
  • Hi Perlers........... Could u plz help me how to check in unis machine whether a particular perl module is installed on unix machine or not Mayank Ahuja Team Member Tata Consultancy Services Limited ...
    Mayank AhujaMayank Ahuja
    Oct 1, 2005 at 1:27 pm
    Oct 4, 2005 at 12:10 pm
  • Hi list, I am trying to subclass Math::Currency to change the default bstr() and move it to a different function, so my numbers are not formatted by default (I am unable to just strip existing ...
    Peter RabbitsonPeter Rabbitson
    Oct 24, 2005 at 6:47 am
    Oct 24, 2005 at 7:13 pm
  • Hello everyone, I am running Active State Perl on my PC and want to build a .exe. Does anyone know the command for that? Thanks, Kathy --------------------------------- Yahoo! Music Unlimited - ...
    Oct 18, 2005 at 7:48 pm
    Oct 19, 2005 at 7:23 pm
  • Hi gustav - Not really. If you do something like: $ENV{SOMEVAR} = 'somevalue'; SOMEVAR will be available to you in your program and any programs you spawn ( with 'system' or backtics). But after your ...
    Beau E. CoxBeau E. Cox
    Oct 14, 2005 at 10:00 am
    Oct 14, 2005 at 5:32 pm
  • Hello List, I would like to be able to automagically submit a form to a server. The server requires that I give it a sequence of letters (a protein) in one box, my email, and select several radio ...
    Dan KloseDan Klose
    Oct 11, 2005 at 2:24 pm
    Oct 11, 2005 at 4:06 pm
  • Howdy List :) I have a list of strings that start with an uppercase B, Q, or Z I need to sort them so they are in order of Q, B , then Z my @sample_strings = qw(Bang Quiet Zing Zop Quid Boo); I need ...
    Oct 3, 2005 at 3:35 pm
    Oct 3, 2005 at 5:42 pm
  • Hi good people, there's a new web-site for Perl beginners - perlmeme.org - http://perlmeme.org/ It has Howto's, Tutorials and FAQs for Perl beginners - freely available and freely usable. Its mission ...
    Shlomi FishShlomi Fish
    Oct 1, 2005 at 6:15 pm
    Oct 3, 2005 at 12:53 pm
  • Hello all, I'm trying to use Win32::OLE (version 0.1703) and the ADODB objects to retrieve XML being produced by a stored procedure on SQL server. I used the following code as a guide: ...
    Luke BakkenLuke Bakken
    Oct 10, 2005 at 9:25 pm
    Mar 7, 2006 at 5:33 pm
  • Dear list members Maybe the perl-module-authors would be the more appropriate list for my question(s), but here are people confronted with the same tasks to solve when programming web applications, ...
    John DoeJohn Doe
    Oct 27, 2005 at 3:13 pm
    Nov 5, 2005 at 12:53 pm
  • Dear Sirs, I want to convert a HoA into AoH. Basically what it does is to create a distinct hash for each pair of array element that comes from different keys (see the example below). Please also ...
    Gundala ViswanathGundala Viswanath
    Oct 31, 2005 at 8:56 am
    Oct 31, 2005 at 12:46 pm
  • Not sure how much of a beginner question this is. I've been searching mail archives and can't find anything about it. I've embarrassed myself by giving advice based on my reading of the Camel book, ...
    Marilyn SanderMarilyn Sander
    Oct 28, 2005 at 10:56 pm
    Oct 30, 2005 at 6:42 am
  • Dear Sirs, I have the following problem. I am trying to put the bracket in a string given the set of its substrings. Those bracketed region is "bounded" by the given substrings. Like this, given ...
    Wijaya EdwardWijaya Edward
    Oct 28, 2005 at 9:14 am
    Oct 28, 2005 at 9:02 pm
  • Greetings. I've got some Perl code that's inserting data into a MySQL, which is later being read & displayed by MS Access. I'm constructing a note, and I'm using: \n for new lines - to break up ...
    Daniel KasakDaniel Kasak
    Oct 26, 2005 at 11:17 pm
    Oct 28, 2005 at 12:42 am
  • Hi,list, I have a file which format is raw G3 data.I didn't see this file format before.I want to get some info from this file.How can I decode these contents to plain txt file with perl?Thanks. It's ...
    Oct 27, 2005 at 1:34 am
    Oct 27, 2005 at 4:47 am
  • FIRST STAGE My idea is to check auth.log file for it changes and create files based on it's source IP, for example, if there are login request from, so the system shall filter the log and ...
    Oct 25, 2005 at 7:23 pm
    Oct 26, 2005 at 2:10 am
  • #!/usr/bin/perl use strict; my $log = '/non/existence/dir/test.log'; my $msg = "test"; &write_log($msg); sub write_log { my $msg = shift; open LOG, " $log" || die "Can't write to $log: $!\n"; print ...
    Oct 21, 2005 at 6:40 am
    Oct 21, 2005 at 7:17 am
  • Hi: I am a real beginner of perl. after looking for Internet for serveral hours, I still can't find the answers for my problem. My question is: Which function I can use to get 2 digits after point ...
    Oct 20, 2005 at 7:07 am
    Oct 21, 2005 at 1:46 am
  • Hi All~ Is there a perldoc that will list the available arguments and there meanings for perl-one-liners? I saw this in an earlier email; Subject: Delete a char from a file Perl -pi -e '/s/%/ /' ...
    Brian VolkBrian Volk
    Oct 19, 2005 at 5:26 pm
    Oct 20, 2005 at 1:08 am
  • Greetings, I have a perl script that is using telnet that I need to switch to SSH and I'm having some issues. First is I need to use sudo to run the command on the server I'm connecting to and second ...
    O'Brien, BillO'Brien, Bill
    Oct 17, 2005 at 1:10 pm
    Oct 20, 2005 at 12:32 am
  • Hello I learned Perl on a Unix System and I would like to use perl on a PC. Do I need to install active perl? What are the steps to running perl on a PC? Thanks, Andrew
    Oct 17, 2005 at 7:21 pm
    Oct 17, 2005 at 7:56 pm
  • Hi all I am totaly new to Perl and programming. I am Dion Markus from the netherlands and i would like to learn perl. I have the llama and camel books but when i reached the second chapter of ...
    Dion MarkusDion Markus
    Oct 13, 2005 at 9:08 pm
    Oct 15, 2005 at 4:19 pm
  • Question: How do you find a paragraph break in perl? Synopsis: In a string I need to find the paragraph breaks and replace it with a ^P. Here is my code. #!/usr/bin/perl -w use strict; use ...
    Dave AdamsDave Adams
    Oct 14, 2005 at 2:14 pm
    Oct 14, 2005 at 4:15 pm
  • perldoc says I can't do flock over a network. I assume this is NFS mounted files. Two questions: How do I test for NFS mounting so I can flag it as a problem in my code? What options are there for ...
    Tom AllisonTom Allison
    Oct 12, 2005 at 1:55 pm
    Oct 13, 2005 at 2:27 pm
  • hi, Is there a best way to find some lines which exists in both two files? Someone has show me a method but it seems a little low efficiency. The code is as below: open (T1,"1.txt") or die "$!"; open ...
    Jeff PanJeff Pan
    Oct 11, 2005 at 9:18 am
    Oct 11, 2005 at 1:06 pm
  • Perl 5.6 on linux Given this test file. ------start--------- this is my file --------end---------- I want to skip the blank lines and just print the lines with text, like this this is myfile This is ...
    Dave ThackerDave Thacker
    Oct 7, 2005 at 12:01 pm
    Oct 7, 2005 at 12:25 pm
Group Navigation
period‹ prev | Oct 2005 | next ›
Group Overview
groupbeginners @

168 users for October 2005

Jeff 'japhy' Pinyan: 49 posts John W. Krahn: 47 posts Chris Devers: 30 posts Xavier Noria: 28 posts Timothy Johnson: 18 posts Gustav Wiberg: 16 posts John Doe: 16 posts Jay Savage: 14 posts Wiggins d'Anconia: 14 posts Charles K. Clarkson: 13 posts Ryan Frantz: 13 posts Dan Klose: 12 posts JupiterHost.Net: 10 posts Sridhar Reddy: 9 posts Tom Allison: 9 posts ZHAO, BING: 9 posts Beau E. Cox: 8 posts Peter Scott: 8 posts K.Moeng: 7 posts Pant, Hridyesh: 7 posts
show more