Search Discussions
-
26
Perl book
I have already read Learning Perl and am looking to get another book to learn more what would people recommend? Thanks, DylanDylan 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 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 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 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 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 Putnam
Jan 20, 2003 at 8:34 pm
Jan 21, 2003 at 7:30 pm -
18
Re: "1;"?
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 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 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 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 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 . 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 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 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 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
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 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 M
Jan 2, 2003 at 8:36 am
Jan 3, 2003 at 4: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 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 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 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 ...
Dan
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, 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 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 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 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/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 ...
Pankajwarade
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 ...
Alima
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 ...
Steven_massey
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 ...
Andre
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 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 ...
Marco
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 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/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 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 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, 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. ...
Dan
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 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 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)
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 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 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 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 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 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 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 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 Harris
Jan 20, 2003 at 10:07 pm
Jan 23, 2003 at 1:37 am
317 users for January 2003
Archives
- May 2016 (29)
- March 2016 (38)
- February 2016 (66)
- January 2016 (62)
- December 2015 (36)
- November 2015 (59)
- October 2015 (35)
- September 2015 (32)
- April 2015 (18)
- March 2015 (101)
- February 2015 (74)
- January 2015 (99)
- December 2014 (74)
- November 2014 (65)
- October 2014 (47)
- September 2014 (66)
- August 2014 (68)
- July 2014 (171)
- June 2014 (85)
- May 2014 (126)
- April 2014 (36)
- March 2014 (162)
- February 2014 (154)
- January 2014 (94)
- December 2013 (42)
- November 2013 (71)
- October 2013 (192)
- September 2013 (143)
- August 2013 (114)
- July 2013 (141)
- June 2013 (201)
- May 2013 (163)
- April 2013 (90)
- March 2013 (125)
- February 2013 (150)
- January 2013 (185)
- December 2012 (120)
- November 2012 (101)
- October 2012 (117)
- September 2012 (180)
- August 2012 (319)
- July 2012 (170)
- June 2012 (223)
- May 2012 (249)
- April 2012 (298)
- March 2012 (311)
- February 2012 (261)
- January 2012 (155)
- December 2011 (282)
- November 2011 (266)
- October 2011 (316)
- September 2011 (369)
- August 2011 (371)
- July 2011 (310)
- June 2011 (392)
- May 2011 (434)
- April 2011 (630)
- March 2011 (440)
- February 2011 (282)
- January 2011 (419)
- December 2010 (319)
- November 2010 (314)
- October 2010 (360)
- September 2010 (256)
- August 2010 (223)
- July 2010 (340)
- June 2010 (298)
- May 2010 (483)
- April 2010 (683)
- March 2010 (480)
- February 2010 (339)
- January 2010 (322)
- December 2009 (531)
- November 2009 (558)
- October 2009 (375)
- September 2009 (449)
- August 2009 (497)
- July 2009 (428)
- June 2009 (306)
- May 2009 (293)
- April 2009 (362)
- March 2009 (477)
- February 2009 (467)
- January 2009 (408)
- December 2008 (405)
- November 2008 (545)
- October 2008 (770)
- September 2008 (662)
- August 2008 (663)
- July 2008 (773)
- June 2008 (730)
- May 2008 (650)
- April 2008 (791)
- March 2008 (692)
- February 2008 (399)
- January 2008 (694)
- December 2007 (581)
- November 2007 (688)
- October 2007 (882)
- September 2007 (709)
- August 2007 (1,243)
- July 2007 (849)
- June 2007 (898)
- May 2007 (796)
- April 2007 (587)
- March 2007 (705)
- February 2007 (521)
- January 2007 (578)
- December 2006 (565)
- November 2006 (555)
- October 2006 (704)
- September 2006 (734)
- August 2006 (725)
- July 2006 (884)
- June 2006 (681)
- May 2006 (703)
- April 2006 (889)
- March 2006 (724)
- February 2006 (607)
- January 2006 (588)
- December 2005 (684)
- November 2005 (664)
- October 2005 (682)
- September 2005 (616)
- August 2005 (743)
- July 2005 (716)
- June 2005 (670)
- May 2005 (809)
- April 2005 (830)
- March 2005 (1,020)
- February 2005 (740)
- January 2005 (784)
- December 2004 (873)
- November 2004 (910)
- October 2004 (1,242)
- September 2004 (936)
- August 2004 (911)
- July 2004 (1,101)
- June 2004 (1,026)
- May 2004 (945)
- April 2004 (1,161)
- March 2004 (1,485)
- February 2004 (1,608)
- January 2004 (1,512)
- December 2003 (1,607)
- November 2003 (1,437)
- October 2003 (1,314)
- September 2003 (1,382)
- August 2003 (1,351)
- July 2003 (1,559)
- June 2003 (1,576)
- May 2003 (1,586)
- April 2003 (1,600)
- March 2003 (1,731)
- February 2003 (1,641)
- January 2003 (2,020)
- December 2002 (1,360)
- November 2002 (1,198)
- October 2002 (1,677)
- September 2002 (1,905)
- August 2002 (1,685)
- July 2002 (1,975)
- June 2002 (1,900)
- May 2002 (2,332)
- April 2002 (2,098)
- March 2002 (1,658)
- February 2002 (2,237)
- January 2002 (2,304)
- December 2001 (1,568)
- November 2001 (1,823)
- October 2001 (1,712)
- September 2001 (1,289)
- August 2001 (1,993)
- July 2001 (2,424)
- June 2001 (3,399)
- May 2001 (1,797)
- April 2001 (650)