Search Discussions

290 discussions - 1,607 posts

  • Hello, A recent job posting has left me curious. I would never take a full time job as a programmer or as anything else for that matter. I just don't make a good employee any more. Been there. Done ...
    Charles K. ClarksonCharles K. Clarkson
    Dec 7, 2003 at 5:34 pm
    Dec 9, 2003 at 11:46 pm
  • I am writing a c program In which I have some heavy text parsing to do. Unfortunately I am not very conversant with C or Regex in C I have read about embedding perl into C programs, Now How Can I do ...
    Ramprasad A PadmanabhanRamprasad A Padmanabhan
    Dec 1, 2003 at 2:22 pm
    Dec 4, 2003 at 7:31 pm
  • I want to write a Perl program that will auto generate GIF images. The images that I want to generate will be about 30x80. It will be a black rectangle starting in the bottom-right with a few pixels ...
    Andrew GaffneyAndrew Gaffney
    Dec 20, 2003 at 8:30 pm
    Dec 30, 2003 at 4:47 am
  • I wouldn't necessarily call it a bad habit as it does execute properly, it just doesn't produce as readable of code... Rob already covered - well so I will just point you to some "light" reading if ...
    Wiggins d AnconiaWiggins d Anconia
    Dec 12, 2003 at 2:57 pm
    Dec 15, 2003 at 2:49 pm
  • Hi All, I am very new to Perl, but I sense a great adventure ahead after just programming with Cobol, Pascal, and C over the last umpteen years. I have written a perl script where I am trying to ...
    Eric SandEric Sand
    Dec 9, 2003 at 6:09 pm
    Dec 12, 2003 at 12:56 pm
  • Hi again, Thanks for you help with my data structure problem, a hash of hashes problem did the job :-) I would like to know how to align text with the print command. I have four scalar variables to ...
    Hemond, SteveHemond, Steve
    Dec 16, 2003 at 7:42 pm
    Dec 29, 2003 at 11:44 pm
  • I'm beta-testing a robot that searches Google when new questions are posed to the beginners' lists. I have no idea if it will be useful. :-) I'm going to watch it closely and hope it is. I'll remove ...
    Casey WestCasey West
    Dec 3, 2003 at 7:33 pm
    Dec 5, 2003 at 4:36 pm
  • Hello, I'm interested in programming languages and am somehow new to this field.I am moving from Windows to Linux and am interested in engaging in the programming world. What I would like to ask is: ...
    Dec 25, 2003 at 5:08 am
    Dec 26, 2003 at 1:35 am
  • hi, How can i rename a file and check the size of file using perl? Also is there a way to call unix commands/system calls from perl?(Say i want to fstat() on a file and grab the stat struct results). ...
    Ajey KulkarniAjey Kulkarni
    Dec 12, 2003 at 7:20 pm
    Dec 14, 2003 at 8:39 pm
  • Hi I have simple client/server socket scripts that that send some data from the server to the client. It works fine, except the client can't seem to read more than 2920 bytes from the server using ...
    Kipp, JamesKipp, James
    Dec 1, 2003 at 8:03 pm
    Dec 2, 2003 at 1:18 pm
  • Hey list! I'm having a problem with overriding a sub in CORE::GLOBAL. I need to override exit(), and I'm doing that with: BEGIN { *CORE::GLOBAL::exit = sub { print "exit: ".shift; } }; ..which works ...
    Jesper NoehrJesper Noehr
    Dec 23, 2003 at 7:33 pm
    Dec 23, 2003 at 11:17 pm
  • Hi, i am new to Perl. here is my question .... i have a character string like abc#def#ghi#jkl i want to split the string based on the delimiter # so that i get something like this : abc def ghi jkl ...
    Dec 14, 2003 at 5:17 am
    Dec 16, 2003 at 2:10 pm
  • Sometimes perl isn't quite the right tool for the job... % man sort % man uniq - B
    Bryan HarrisBryan Harris
    Dec 8, 2003 at 1:32 am
    Dec 11, 2003 at 1:36 am
  • I have 2 Linux boxes I want to talk to each other over the local network using a Perl script. Is it possible to set up a bidirectional pipe so that 2 perl daemons can communicate with each other? How ...
    Dan AndersonDan Anderson
    Dec 9, 2003 at 9:19 pm
    Dec 10, 2003 at 11:31 pm
  • Help. I'm a frustrated newbie who wants to use Perl to make my life easier. The following simple task is only one small part of a program I'm trying to put together to automate some things I ...
    Dec 5, 2003 at 6:02 pm
    Dec 7, 2003 at 5:05 pm
  • 14


    I am going through a file and when I enter a certain routine, I am entering a while loop with the <IN construct. Is there a way to back the counter up or back up one line before I go into the while ...
    Eric WalkerEric Walker
    Dec 30, 2003 at 4:36 pm
    Dec 31, 2003 at 1:18 pm
  • Greetings, I'd like to know how to pass variables fetched by TK/entry to a subroutine by using a Button. The Button/-command line in the following script is obviously wrong, but should suffice to ...
    Oliver SchaedlichOliver Schaedlich
    Dec 15, 2003 at 11:26 am
    Dec 16, 2003 at 7:25 pm
  • Hello all While traversing a loop across and array, how can I access array positions further down the array, like say if I am on a loop looking at position 23, how can I check the value of say ...
    Eric WalkerEric Walker
    Dec 18, 2003 at 11:57 pm
    Dec 19, 2003 at 5:07 pm
  • Hi all! I'm wanting to write a simple web-based tool to see the status of several servers at a glance. I know there are many solutions existing, but I can't learn as much about perl by just using one ...
    Akens, AnthonyAkens, Anthony
    Dec 3, 2003 at 3:50 pm
    Dec 4, 2003 at 2:01 pm
  • I am reading in a csv file and it has a control character ^M at the end of each line how can I remove these charaters, I have tried the following and had no success. $a=~s/\^M//; $a=~s/^M//; Any help ...
    David InglisDavid Inglis
    Dec 19, 2003 at 3:58 am
    Dec 19, 2003 at 10:13 pm
  • for (my $value = -1; $value <= 1; $value += 0.1) { print "$value\n"; } The result is as following: -1 -0.9 -0.8 -0.7 -0.6 -0.5 -0.4 -0.3 -0.2 -0.1 -1.38777878078145e-16 0.0999999999999999 0.2 0.3 0.4 ...
    Dec 16, 2003 at 6:06 am
    Dec 17, 2003 at 6:04 pm
  • use strict; my $bigbuf; my $buf; open IN, '/dev/random' or die "Can't open random device: $!"; while( read(IN, $buf, 16384) 0 ) { $bigbuf .= $buf; }
    Bakken, LukeBakken, Luke
    Dec 4, 2003 at 3:36 pm
    Dec 5, 2003 at 6:10 pm
  • Hi I have some C code that I need to convert to perl and I am pressed for time, which is why I am posting this. All the code does is read each character from either STDIN or a file and replaces any ...
    Kipp, JamesKipp, James
    Dec 3, 2003 at 7:28 pm
    Dec 4, 2003 at 5:03 pm
  • just for practice, i made a class BinaryTree. its just a blessed reference to a hash that contains two things: size and root. root gets assigned to a BinaryTree::Node which is just a bless reference ...
    Christopher j bottaroChristopher j bottaro
    Dec 20, 2003 at 7:46 pm
    Dec 22, 2003 at 5:44 am
  • Hi All using Term:ANSIColor - does anyone know if it's possible ( or maybe I mean practical) to print out negative numbers in say RED, at the same time ensuring the original value is retained. so if ...
    Steve MasseySteve Massey
    Dec 17, 2003 at 5:25 pm
    Dec 19, 2003 at 3:17 pm
  • I have a csv file that gets loaded into a database, but because someone entered a carriage return in the last text field it screws up the import. I have tried to strip the carriage return of the last ...
    Michael J. GoliniMichael J. Golini
    Dec 7, 2003 at 7:27 pm
    Dec 8, 2003 at 7:08 pm
  • I'm new here and a very novice Perl coder. And I have a question, of course <grin . Is it more "Perl-like" to get information from the shell via UNIX Environment Variables or via the command line? ...
    John McKownJohn McKown
    Dec 26, 2003 at 5:37 pm
    Dec 31, 2003 at 9:04 pm
  • I have ~97 HTML documents that I need to strip the footer (about 15 lines) from and replace with a different block of text. The footer is formatted differently in some of the HTML files, but they all ...
    Andrew GaffneyAndrew Gaffney
    Dec 30, 2003 at 4:38 pm
    Dec 30, 2003 at 9:58 pm
  • Hello everyone, I use the following to split a comma delimited list and get varying results and I don't understand why. my count of the elements in the splitdata array returns 43 but the select list ...
    Colin JohnstoneColin Johnstone
    Dec 29, 2003 at 9:11 pm
    Dec 30, 2003 at 4:00 am
  • 9


    OK, some how my $_ variable is out of sync with my < operator. if I print out $_ I get line a of my file and if I do a my $test = <GIN , and print out $test I get a different line that is more than ...
    Eric WalkerEric Walker
    Dec 31, 2003 at 5:57 pm
    Jan 1, 2004 at 3:17 am
  • I want to be able to return a true or false value from a function in a module and populate the $! variable with the specific errors. Is this possible? Is there documentation on how to do this? I can ...
    Ken LehmanKen Lehman
    Dec 16, 2003 at 10:39 pm
    Dec 31, 2003 at 5:58 am
  • i'm reading "Programming Perl" and i'm on the chapter about packages. it says that packages and modules are very similar and that novices can think of packages, modules, and classes as the same ...
    Christopher j bottaroChristopher j bottaro
    Dec 19, 2003 at 9:17 pm
    Dec 21, 2003 at 8:37 am
  • I've run into a problem. I have been working on a webmin module that, among other things, maintains a dbm file of regular expressions. One subroutine is passed a string, and if any of the regular ...
    Joel NewkirkJoel Newkirk
    Dec 8, 2003 at 6:04 am
    Dec 11, 2003 at 11:01 pm
  • Hello group. I'm tryign to do a perl -e '' command and am wondering if it is possible to do single quotes inside the single quotes. IE perl -e 'print "joe's mama";' Obvo=iously won't work perl -e ...
    Dan MueyDan Muey
    Dec 10, 2003 at 11:11 pm
    Dec 11, 2003 at 3:48 pm
  • Hello All, I am trying to open a file once , and then duplicate it's File Handle. I am trying to workout example straight from FAQ5, with no luck. I will basicly trying to open a file, dup off a few ...
    Dec 2, 2003 at 8:47 pm
    Dec 3, 2003 at 10:38 pm
  • Okay, I'm at a loss and need help. A friend of mine is working with a Perl script. It has a system call to df in it, he would like to replace with something a little more portable. The script is used ...
    James Edward Gray IIJames Edward Gray II
    Dec 30, 2003 at 9:45 pm
    Dec 30, 2003 at 10:43 pm
  • I'm creating an app that uses forks in a number of places to do things quicker. Unfortunately, I have a bad habit of accidentally fork bombing my box. Is there any way I can run a perl process (even ...
    Dan AndersonDan Anderson
    Dec 19, 2003 at 4:56 pm
    Dec 20, 2003 at 3:29 pm
  • hi, how can i find which perl modules are installed on linux os? regds
    Dec 17, 2003 at 7:03 pm
    Dec 18, 2003 at 11:22 pm
  • Hi, I'm trying to be a good boy and use strict and warnings .. The more I do, the more I feel I'm wasting so much time and should become productive, my code looks full of 'my', I could understand the ...
    Jerry RocteurJerry Rocteur
    Dec 13, 2003 at 5:12 pm
    Dec 14, 2003 at 8:07 pm
  • Hi all, Just sat done and put together my FIRST MODULE!!!! I went through an edited/modifyed text::parsewords and after lots of testing, editing and playing around with...I got it to work! I didn't ...
    Ben CraneBen Crane
    Dec 10, 2003 at 12:39 pm
    Dec 12, 2003 at 1:21 am
  • This absurd discotion. For a non University guy If I have a list like 2,1,3,4,5,6,7,8,9,10,11, ..., let's say 99% sorted, and I need to sorted again. Witch algorith shall you use and why? If you have ...
    Marcos RebeloMarcos Rebelo
    Dec 9, 2003 at 9:58 am
    Dec 10, 2003 at 5:32 pm
  • Hi, Is there any way to get the size of a file without downloading it? I want to write a program using LWP to download a file only if it is bigger than 3K but smaller than 500K. So I need to know the ...
    Dec 10, 2003 at 2:00 pm
    Dec 10, 2003 at 4:21 pm
  • I've just started trying to pick up a little perl. I'm breezing through "Learning Perl" and reading the perl docs. Here is some syntax I found a little funny, and I was hoping somebody could explain ...
    Dec 8, 2003 at 4:55 pm
    Dec 9, 2003 at 9:19 pm
  • I did the 'in' function for seeing if one element is inside on list like. sub in { my $match = shift; foreach (@_) { return 1 if $match eq $_; } return 0; } so I'm calling the function like if(in($x ...
    Marcos RebeloMarcos Rebelo
    Dec 8, 2003 at 12:03 pm
    Dec 9, 2003 at 3:35 pm
  • Hi there, Which modules i have to install in order to connect perl with mysql ?, in what order ?, My perl installation is on solaris 9. I already have mysql installed. Thanks for the help. Joe ...
    Joe EchavarriaJoe Echavarria
    Dec 5, 2003 at 9:42 pm
    Dec 7, 2003 at 10:31 pm
  • Can anyone suggest where I might be able to find (hopefully a freeware or shareware script..) a program that runs either on a windows system or a PERL script that would "encrypt" a perl script by ...
    Richard C 1Richard C 1
    Dec 1, 2003 at 6:40 pm
    Dec 2, 2003 at 2:02 pm
  • Hi All, I would like to "zip" a file using perl script. I used following command:- system ("zip <zip name <file name "); However this command fails when the filename is more than 8 characters. Since ...
    Manish UskaikarManish Uskaikar
    Dec 19, 2003 at 5:38 am
    Jan 30, 2004 at 4:06 am
  • Hi everyone, How can I extract the text before the first occurrence of dot (.) or single space from the first field. This is my file LB1571 5TH .W43 1993|text1|text1| FICT. V.12|text2|text2| ...
    Zary NechevaZary Necheva
    Dec 30, 2003 at 9:32 pm
    Jan 3, 2004 at 4:48 am
  • I am trying to create a spider to grab my books off of Safari for a batch printing job so I don't need to go through each chapter myself and hit the Print button. So I used this script to try and log ...
    Dan AndersonDan Anderson
    Dec 24, 2003 at 9:05 pm
    Dec 27, 2003 at 6:08 pm
  • While I've already done this with a simple shell script using grep, I was trying to figure out how I can do the same thing in perl. I have an access_log from my apache web server and while I can ...
    Dec 26, 2003 at 10:40 pm
    Dec 27, 2003 at 3:33 am
Group Navigation
period‹ prev | Dec 2003 | next ›
Group Overview
groupbeginners @

249 users for December 2003

Drieux: 160 posts R. Joseph Newton: 86 posts Rob Dixon: 83 posts James Edward Gray II: 76 posts Wiggins d'Anconia: 61 posts Dan Muey: 56 posts John W. Krahn: 52 posts Tom Kinzer: 52 posts David Zhuo: 32 posts Bob Showalter: 30 posts Casey West: 28 posts Randy W. Sims: 28 posts Dan Anderson: 27 posts Andrew Gaffney: 21 posts Tim Johnson: 21 posts Eric Walker: 20 posts Jeff Westman: 20 posts Robert Brown: 20 posts Charles K. Clarkson: 18 posts Kipp, James: 16 posts
show more