Search Discussions

419 discussions - 2,020 posts

  • I have already read Learning Perl and am looking to get another book to learn more what would people recommend? Thanks, Dylan
    Dylan BoudreauDylan Boudreau
    Jan 15, 2003 at 3:08 pm
    Jan 17, 2003 at 1:11 pm
  • Can anyone explain in simple terms the difference between the three (my, our, local). Especially the difference between my and local. Thanks... CD
    Carlos DiazCarlos Diaz
    Jan 21, 2003 at 3:10 am
    Jan 22, 2003 at 3:01 pm
  • I am running on a windows xp pro desktop with iis installed. I have active state Perl installed and have been using it with out a problem. I just started to play with cgi and I am having a lot of ...
    Paul KrausPaul Kraus
    Jan 7, 2003 at 8:08 pm
    Jan 8, 2003 at 4:46 pm
  • Hello, Sorry to bother but... I have a script that I have to do an eval on code that someone else has put in a database. ... $code = "$row[1] $row[2] $row[3]"; # @row is from a database query eval ...
    Dan MueyDan Muey
    Jan 13, 2003 at 10:46 pm
    Jan 14, 2003 at 4:53 pm
  • Ok a couple questions on Ref from pg 251 programming Perl. push @$arrrayref,$filename); $$arrayref[0]="January"; @$arrayref[4..6]=qw/May June July/; So this is actually creating an anonymous array ...
    Paul KrausPaul Kraus
    Jan 3, 2003 at 8:00 pm
    Jan 9, 2003 at 10:34 am
  • I know this is a horse that has been ridden hard before, but not so easy to find the results. How does one slurp a function or series of functions in perl? Similar to the way its done in shells': . ...
    Harry PutnamHarry Putnam
    Jan 20, 2003 at 8:34 pm
    Jan 21, 2003 at 7:30 pm
  • It's pretty much a standard for modules, but not strictly necessary. For instance, I just changed the last line in one of my pm files to: "Toodle-oo!"; You might also try: "Carry on, Lads!"; "Just ...
    R. Joseph NewtonR. Joseph Newton
    Jan 24, 2003 at 6:07 am
    Jan 24, 2003 at 3:29 pm
  • Hi John, all "John W. Krahn" <krahnj@acm.org wrote in message news:3E13ECCF.7DA0F6E3@acm.org... I'm wondering how much of an error, if any, people think this is? I personally choose to top-post so ...
    Rob DixonRob Dixon
    Jan 9, 2003 at 3:50 pm
    Jan 10, 2003 at 7:36 pm
  • Hi; Trying to crate a nested hash from variables parsed out of log files but as I am a "Beginner Perl' coder it is failing terribly. The basic question is given you have 5 variables how would you ...
    Scot NeedyScot Needy
    Jan 20, 2003 at 6:01 am
    Jan 22, 2003 at 3:58 am
  • open(MYFILE, " $myfile") | die "Cannot open file"; Where does the die message go? When I run my script from the command prompt I do not see the die message. I do get an error about the directory for ...
    John DunnJohn Dunn
    Jan 14, 2003 at 11:43 am
    Jan 14, 2003 at 7:22 pm
  • Dear all, I'm writing (as a practice piece, all the better to learn Perl coding) what is for me a big, complicated program which has lots of options and output possibilities. And ... heh, heh ... it ...
    Christopher D . LewisChristopher D . Lewis
    Jan 6, 2003 at 2:13 am
    Jan 9, 2003 at 12:25 am
  • Hi all, I'm using the Net::Telnet module to automate some of the more menial tasks I have to deal with every so often. Part of the task requires parsing a stream of data from the device I'm ...
    Jason FrisvoldJason Frisvold
    Jan 8, 2003 at 7:33 pm
    Jan 9, 2003 at 2:08 pm
  • Hi, My problem today ;) : I have a file with some unmeant empty lines and I want to remove them, without writing a new file and without storing all the content temporarily in an array. I thought ...
    Konrad FoerstnerKonrad Foerstner
    Jan 8, 2003 at 4:24 pm
    Jan 9, 2003 at 12:34 am
  • Here is the script from my linux box. I'm running it pretty much the way I took it off the web except I changed the reply-to my email and put the "\" before the "@". I've named the script "test.cgi" ...
    Ron GeringerRon Geringer
    Jan 29, 2003 at 6:58 pm
    Feb 1, 2003 at 7:29 pm
  • Hi Listers, How do i delete the last 12 (or so) lines of a large file (400+ lines) without loading the whole into memory. regards sukrit
    Jan 26, 2003 at 1:16 pm
    Jan 27, 2003 at 10:43 pm
  • <begin useless rant Perl has got to be one of the best most efficient and logical languages I have ever learned. I learned it as a hobby with some free time at work (well I am learning anyways). With ...
    Paul KrausPaul Kraus
    Jan 3, 2003 at 5:31 pm
    Jan 8, 2003 at 3:46 pm
  • Hi, I want to read a file and print all the text , but reverse the case. So all small will become CAPS and CAPS will be small . The problem is toggling the case. Any idea as how to accomplish it ? ...
    Prasad K MPrasad K M
    Jan 2, 2003 at 8:36 am
    Jan 3, 2003 at 4:17 am
  • Ok, found out why I am getting this error... Premature end of script headers???? What does that mean?? Anyone? This file works on my computer but when I upload it to a unix system and try it from the ...
    Jan 19, 2003 at 11:01 pm
    Jan 31, 2003 at 8:17 am
  • Using the excellent example in the an earlier post from david: RE: Removing HTML Tags I came up with this slightly modified version based on the post and some cpan documentation and it works. It just ...
    Dan MueyDan Muey
    Jan 23, 2003 at 9:25 pm
    Jan 24, 2003 at 3:02 pm
  • Hey all, I need to return the largest of 3 vars. Is there a better way than nested IF statements? Maybe put them in an array and sort it? -- Tim Musson Flying with The Bat! eMail v1.62 Christmas ...
    Tim MussonTim Musson
    Jan 10, 2003 at 1:14 pm
    Jan 12, 2003 at 9:52 pm
  • Hi all, Please help me sort the following two issues : 1 ) I cannot display the Sent time in MS Outlook in a mail generated using Net::SMTP. With the code I am using , the Sent field in the Outlook ...
    Aman ThindAman Thind
    Jan 3, 2003 at 1:54 pm
    Jan 6, 2003 at 7:06 pm
  • Hi again, Sorry for firing many questions at you tonight, this one's probably simple, but I've racked my brains and can't think of anything for this one. I have a string, which is to represent a ...
    Jan 31, 2003 at 11:59 pm
    Feb 2, 2003 at 5:47 pm
  • I asked this before, but I probably made the question too long and confusing to follow. How do I send an email using perl? The path for the sendmail program is: h:/blah/blah/SENDMAIL/sendmail.exe I ...
    Scott, DeborahScott, Deborah
    Jan 24, 2003 at 10:35 pm
    Jan 29, 2003 at 12:28 am
  • Hello, I have over 1000 files that I need to delete the first five lines of text from. This needed to be done, like yesterday. I started writting an Applescript to do this but ran into a bug with ...
    Jeff ThomasJeff Thomas
    Jan 24, 2003 at 12:28 pm
    Jan 24, 2003 at 9:03 pm
  • I am reading in a text file that has input similar to this. date|data|data|data\n I then read the file in and using a while loop I chomp off the new line. while (<IPO ){ chomp; @line=split /\|/,$_; ...
    Paul KrausPaul Kraus
    Jan 16, 2003 at 3:42 pm
    Jan 16, 2003 at 5:01 pm
  • I am not sure how to delete a specific value from a hash whose keys contains multiple values. Could anyone advice, please? Thanks, Sophia
    Sophia CorwellSophia Corwell
    Jan 9, 2003 at 11:48 pm
    Jan 12, 2003 at 10:31 pm
  • Is there a perl command equivalent to: system ("clear"); ? Thanks, Ken
    Jensen Kenneth B SrA AFPC/DPDMPQJensen Kenneth B SrA AFPC/DPDMPQ
    Jan 2, 2003 at 2:26 pm
    Jan 5, 2003 at 1:47 pm
  • Hi, I am tring to use IO::Socket module in order to execute the commands on remote server. Perl script connects remote server on port 23, and waits for login prompt forever. It recieves non-printable ...
    Jan 17, 2003 at 8:30 pm
    Feb 4, 2003 at 9:58 pm
  • Hi there mates, I would like to Know If anyone of you have already tried to get the time and date a file was created from the OS. For example imagine I have a *.java file and I would like to compare ...
    Jan 30, 2003 at 12:59 pm
    Jan 31, 2003 at 7:12 am
  • Hi just about to embark on a sorting routine, and I thought before I spend ages(at my ability) I would see what thoughts you guys have on this. I have an array, each line contains fields seperated by ...
    Jan 29, 2003 at 4:50 pm
    Jan 30, 2003 at 2:17 pm
  • Hi I'm having a hard tile opening creating reading and writing files with = perl on a unix palataform sometimes it works sometimes do no. I suspect it has to do with permissions so can anybody tell ...
    Jan 26, 2003 at 4:15 pm
    Jan 27, 2003 at 10:24 pm
  • I use $mailprog = '/usr/lib/sendmail'; to send e-mail with. Can I use this to send an attachment? Thanks, Jerry
    Jerry PrestonJerry Preston
    Jan 24, 2003 at 8:48 pm
    Jan 27, 2003 at 6:47 pm
  • What I'm trying to achieve is the following: I have an ASCII text file (zonelist.input) for input which contains a domainname (that is i.e. foo.com) on each line ( a total of about 230 lines are in ...
    Jan 21, 2003 at 9:50 pm
    Jan 23, 2003 at 1:51 pm
  • Hi, I have a Perl program using DBI. I don't know why it will cause error when I use "GROUP BY..." in SQL "SELECT" statements. My coding is similar as: $value2 = $dbh- prepare("SELECT page FROM ...
    Gary FungGary Fung
    Jan 9, 2003 at 2:59 pm
    Jan 13, 2003 at 4:09 pm
  • In reading messages on this list I've picked up some snippets like 'do some code here' if (condition); Can the same be done if you have an if statement like this If (condition){ print "hi"; ...
    Jensen Kenneth B SrA AFPC/DPDMPQJensen Kenneth B SrA AFPC/DPDMPQ
    Jan 2, 2003 at 6:57 pm
    Jan 3, 2003 at 1:57 am
  • How do I name the STDIN from the command line. I'm trying to write a simple script to randomly pick a file from a file name I enter on the command line. This is what I have: my @cards = (< ); #set ...
    Michael CorganMichael Corgan
    Jan 23, 2003 at 8:12 pm
    Jan 23, 2003 at 11:42 pm
  • hi all, another newbie here. im having problem how to print to stdout the string[s] entered by user and appending a subscript integer after that string. this is my modification to exercise 1 chapter ...
    Eri MendezEri Mendez
    Jan 20, 2003 at 7:25 pm
    Jan 21, 2003 at 7:09 pm
  • Hello, I would like to know if it is possible to do somthing like this: ( I know I can't do it this way as Perl barfs when I tried it ) $SizeOfMyArray = 2; $MyArray[ $SizeOfMyArray ]; push( @MyArray[ ...
    Liss, MikeLiss, Mike
    Jan 15, 2003 at 9:13 pm
    Jan 17, 2003 at 12:34 am
  • Hey, I have a slight dilemma which i'm struggling to overcome. Wondering if anyone has any ideas on this.. I have a variable, for example's sake, say $variable. $variable has a load of entries. ...
    Jan 12, 2003 at 4:49 pm
    Jan 13, 2003 at 11:00 pm
  • I want to read through a file and the read through it again. However the only way it seems to work for me is if I open the file, Read the file, Close the file, and the reopen it. Is there a way to do ...
    Paul KrausPaul Kraus
    Jan 2, 2003 at 2:37 pm
    Jan 3, 2003 at 1:25 am
  • I'm looking around, and I see "Quantum::Entanglement" which looks like overkill; I'd like to generate, 8/16/32 bit random numbers. - Jamie
    Jamie RiskJamie Risk
    Jan 31, 2003 at 8:51 pm
    Feb 3, 2003 at 6:05 am
  • This is a little bit Out of Topic but if somebody can give input I will greatly appreciate! I know that in Perl OO the name of a method can be a variable. Which end up with code like this: my $obj= ...
    NYIMI Jose (BMB)NYIMI Jose (BMB)
    Jan 30, 2003 at 2:06 pm
    Jan 31, 2003 at 8:41 pm
  • I have spent a very LONG time trying to determine why this script is not splitting properly only on lines that have equals marks and only on the first equals. This would be very easy if I didn't ...
    Zeus OdinZeus Odin
    Jan 29, 2003 at 2:50 pm
    Jan 31, 2003 at 4:13 am
  • Hi Everyone This is my first post and I am a complete Perl Newbie. Here is the background: (The next paragraph may be skipped.) I am involved in a physics education project which includes maintaining ...
    David BrookesDavid Brookes
    Jan 29, 2003 at 4:53 pm
    Jan 30, 2003 at 8:27 pm
  • I recreated a problem in my program in a small code sample. The code below is giving me the following output at the console and I have no idea why: Output: line 1áline 3 I am seeing a lower case 'a' ...
    David EasonDavid Eason
    Jan 28, 2003 at 4:30 am
    Jan 30, 2003 at 12:05 am
  • No takers eh, then How would I go about using just the .pm file instead of the installed module with the example at the link below? require "./Mulitpart.pm"; sub import { ???/ } import; # ??? Thanks ...
    Dan MueyDan Muey
    Jan 27, 2003 at 11:21 pm
    Jan 29, 2003 at 4:38 pm
  • Hello, We are using Apache 1.3.26, Perl 5.5.3 and perl-cgi scripting to communicate to applications with XML. App1 calls the cgi script that is placed in the other machine. The script reads the XML ...
    Enric RocaEnric Roca
    Jan 27, 2003 at 11:14 am
    Jan 28, 2003 at 9:07 am
  • Hey folks, Although I'm getting pretty good at using newsgroups and assorted perl references(including this one!)to find answers to my questions, I can't seem to solve this one. This is what I've ...
    Glenn TremblayGlenn Tremblay
    Jan 24, 2003 at 5:28 pm
    Jan 26, 2003 at 9:50 pm
  • I ran into something today I've never noticed any comment here about. Maybe I should know this but never ran into it before. I wanted to use a single cgi script to generate several different formated ...
    Harry PutnamHarry Putnam
    Jan 23, 2003 at 4:24 pm
    Jan 24, 2003 at 7:28 am
  • my boss emailed me this little snippet this morning and I have to confess it has me stumped. Please can someone break down this translation for me? perl -le '$_="7P0 374;";tr[0- ][ ...
    Mat HarrisMat Harris
    Jan 20, 2003 at 10:07 pm
    Jan 23, 2003 at 1:37 am
Group Navigation
period‹ prev | Jan 2003 | next ›
Group Overview
groupbeginners @

317 users for January 2003

Rob Dixon: 181 posts Dan Muey: 156 posts John W. Krahn: 119 posts R. Joseph Newton: 88 posts Jenda Krynicky: 84 posts Wiggins d'Anconia: 81 posts Paul Kraus: 63 posts Bob Showalter: 54 posts David: 54 posts Beau E. Cox: 39 posts Paul Johnson: 38 posts Wagner, David --- Senior Programmer Analyst --- WGO: 38 posts Ben Siders: 29 posts Mark Goland: 26 posts NYIMI Jose (BMB): 22 posts Timothy Johnson: 22 posts David Eason: 21 posts Toby Stuart: 21 posts Simran: 19 posts Kipp, James: 16 posts
show more