Search Discussions
-
Hi. Perl newbie here. I'm on a MBP using Leopard (10.5.8). Perl is pre-installed: /usr/bin/perl. I can't get a simple "Hello world" script to work. Here's the script (saved as test.pl). ...
Mark
Oct 1, 2010 at 2:25 am
Oct 4, 2010 at 2:08 pm -
Hi, folks, I'd like to send a string ($line) as an e-mail from within a script. I receive regular e-mail forwards from a college I teach at, because I don't want to use their Outlook webmail. In the ...
Mark
Oct 10, 2010 at 7:25 am
Oct 25, 2010 at 3:30 am -
Hi all, after being tired of telling Perl newcomers about the same problems with their code times and times again, I've decided to create this page detailing "Perl Elements to avoid": ...
Shlomi Fish
Oct 7, 2010 at 10:08 pm
Oct 12, 2010 at 4:36 pm -
Hi All, I'm a beginner in perl and i try to read a file, but these files contains characters like (^M ^G)......I wanted to know what are these characters and how can remove them using perl?.....and ...
Perl_haxor 123
Oct 28, 2010 at 1:58 pm
Nov 2, 2010 at 8:54 pm -
12
map HoAoA
I've looked at this for a few days but still can't see 'why' I get what I do. Why do @arrays and @seconds not have the same number of elements? Thanks, Mike { my %HoAoA = ( a = [ [ qw / aa1 aa2 / ], ...Mike McClain
Oct 13, 2010 at 4:37 am
Oct 21, 2010 at 10:08 pm -
Hi All I had a sample code from the Perl&LWP book. It was the very first code i was trying out in different ways. Firstly the actual code mentioned in the book was as below: ...
Jatin
Oct 30, 2010 at 7:30 am
Oct 31, 2010 at 2:58 am -
Hello, Can anyone please tell me how to save output (what we get after running a perl script) as an external file? Many Thanks, Jyoti
Jyoti
Oct 5, 2010 at 1:44 pm
Oct 5, 2010 at 2:10 pm -
Hi guys, long time no working with PERL :-) I have just installed 5.2.12 First, I am trying to remove leading tabs & spaces but the following leaves a few blanks at the beginning of each line, could ...
Brian
Oct 31, 2010 at 3:01 pm
Nov 2, 2010 at 6:38 am -
Given an instantiated class object, what's the best way to add additional methods after instantiation. Specifically I'm working with qpsmtpd and desire to add a method is_spooled() to every session, ...
David Favor
Oct 23, 2010 at 4:50 pm
Oct 26, 2010 at 5:58 pm -
all, below is a sub i created to try to properly capitalize surnames of irish/scottish descent, converting Macarthur = MacArthur, o'donnell = O'Donnell, etc. it works as intended but i was wondering ...
Jm
Oct 7, 2010 at 6:08 pm
Oct 7, 2010 at 9:24 pm -
Hello I need to split a log file per days I have a file in txt format and I want to create a file with all data from one day in one file I will give example I have this imput 3_21_2010;11:12\\trafic ...
yo RO
Oct 14, 2010 at 2:54 pm
Oct 18, 2010 at 2:44 pm -
Hello , I am trying to write a script which can parse email header and based on certain criteria/parameter it will update the email subject detail in the database. I have written a code but it is ...
S Pratap Singh
Oct 12, 2010 at 4:20 pm
Oct 14, 2010 at 11:26 am -
Hi Is it better to learn Perl or Python since i can manage only writing simple bash shell scripts. Please suggest/guide. Thanks and Regards Kaushal
Kaushal Shriyan
Oct 5, 2010 at 10:56 am
Oct 10, 2010 at 10:01 am -
Thanks for the previous help, that triggered a few dormant grey cells :-) and leads me to another question. I would like to compare 2 (unsorted) csv files.. file 1 contains fredbloggs,0 joebloggs,3 ...
Brian
Oct 31, 2010 at 9:34 pm
Nov 1, 2010 at 11:31 am -
Hey All, Just finished reading 'intermediate perl' Enjoyed it as much as I enjoyed the book 'learning perl' Thanks Randal, Tom & All Please now suggest another must read nook on perl. Sent from my ...
Parag Kalra
Oct 23, 2010 at 9:36 pm
Oct 24, 2010 at 10:19 am -
HI Is there any site or any book other than "learning perl" where i would get real life exercises on perl scripting. Thanks -- Regards Agnello D'souza
Agnello George
Oct 15, 2010 at 7:03 am
Oct 16, 2010 at 9:39 am -
Hello Perl Masters, I couldn't find good stuffs on Perl Threads, Can some body please point me to Perl Thread tutorials.(some pdf with examples) Or if someone already have some small ...
Chillidba
Oct 10, 2010 at 3:17 pm
Oct 14, 2010 at 2:15 pm -
Hi folks, Can anyone please explain what is "perlform" and its usage.I used google but i was not able to crack. Thanks for the time. -- K.V. PAWAN KUMAR
Pawan kumar
Oct 6, 2010 at 11:24 am
Oct 9, 2010 at 3:28 am -
A straightforward question I hope. Can someone explain why the following code runs without a hitch: #!C:/strawberry/perl/bin/perl.exe use strict; use warnings; my $testvar = "TEST"; &testsub1(); sub ...
Owen Chavez
Oct 30, 2010 at 6:57 pm
Nov 2, 2010 at 9:24 pm -
Hello, I've been out of the programming game for a while and recently got back into some small programming projects. Just need to figure out if there is a Perl function to determine the total size of ...
Mike Blezien
Oct 28, 2010 at 1:00 am
Oct 28, 2010 at 8:48 am -
5
perl
hi, i want to login and need help on perl... regards, numanSheikh numan iqbal
Oct 4, 2010 at 4:49 pm
Oct 5, 2010 at 9:57 am -
Hey all, I have this block of code: sub is_valid_xml { and when I pass in 'blahblahblah' as an argument, I get: syntax error at line 1, column 0, byte 0 at /usr/lib/perl5/XML/Parser.pm I would like ...
Jon Hermansen
Oct 1, 2010 at 2:37 am
Oct 1, 2010 at 9:10 pm -
Hello, In the below code I am desperately trying to accomplish the valid use of variable variable names but still fail. I have already read many sites, tutorials, mailing list posts, all saying that ...
HACKER Nora
Oct 29, 2010 at 5:23 am
Nov 3, 2010 at 10:17 am -
i am new to perl. please help me with this piece of code below. answer wat it prints is correct but the format has to adjusted...! program to convert Celsius to Fahrenheit ...
Saran
Oct 25, 2010 at 4:21 pm
Oct 25, 2010 at 6:30 pm -
Hello, I want to update my database if the key value is already there then it will update the required field else it will insert the new row in the same table. Insert query works fine but I am not ...
S Pratap Singh
Oct 20, 2010 at 6:37 am
Oct 20, 2010 at 2:38 pm -
hello my friends hello perl gurus hello professor So , I'm working on MIME::Lite and when looking on google TLS MIME::Lite debugging post we must see any posts referring to me . i am the cat who ...
Fakessh
Oct 13, 2010 at 11:24 am
Oct 15, 2010 at 8:06 pm -
Hi List, My script is running on WinXP, Dos shell, which is a server program. It works fine, unless it will pops-up a "Out of Memory!" and stop running per each few days! Could someone tell me this ...
Panda-X
Oct 13, 2010 at 6:42 am
Oct 13, 2010 at 11:19 am -
Hi, I have an array with anonymous hash references like the following: $foo = [ { name = value, id = value, }, { name = value, id = value, } ]; Iterating through the hash references works with: ...
Thorsten Scherf
Oct 31, 2010 at 1:52 pm
Oct 31, 2010 at 10:10 pm -
Hello, For me I have been using DBI for all kinds of database handling. But some applications require an ORM for database, like what the DBIx::Class module does. Under what case shall we use the ORM ...
Xiao Lan (小兰)
Oct 30, 2010 at 2:55 pm
Oct 31, 2010 at 6:33 am -
Hi every body recently i compiled a svmlight perl module two use svmlight program with perl http://search.cpan.org/~kwilliams/Algorithm-SVMLight-0.09/lib/Algorithm/SVMLight.pm to compile a patch is ...
Pau Marc Munoz Torres
Oct 28, 2010 at 2:04 pm
Oct 29, 2010 at 9:06 am -
Hi ,all : I am new to this , and I want to write the code to monit the CPU load situation and produce the graph about that . I tried to google something about that and found the perl module called ...
Sync
Oct 26, 2010 at 1:20 am
Oct 26, 2010 at 9:18 pm -
Hello, I am using Perl and MySQL to maintain a database of mobile network configuration about 30 tables and millions of rows. Every day, I’ll be importing new configuration data to the database. I’d ...
Jason Feng
Oct 18, 2010 at 3:42 am
Oct 24, 2010 at 3:37 am -
Hello Folks, I want to create a chuck of code that will take a list of instructions (things one would type at a shell) and have them run one by one until complete, then gracefully log out. Anyone ...
Bob Null
Oct 19, 2010 at 9:44 am
Oct 21, 2010 at 8:56 am -
Hello Everyone, Can anyone tell me how to use string handlers in perl (join function). I tried it to get a list of words. But i actually want to combine all the similar tags from one file and get it ...
Jyoti
Oct 20, 2010 at 11:55 am
Oct 20, 2010 at 6:32 pm -
Hi Folk, I need your help. Please tell me a good book for perl for system administration.
Jyoti
Oct 20, 2010 at 11:39 am
Oct 20, 2010 at 3:03 pm -
Hi, I'm hitting a strange problem running simple perlscript on my new laptop. To illustrate:- #!/usr/bin/perl use strict; use warnings; use diagnostics; open my $configuration, 'H:\temp.txt' or die ...
Kryten
Oct 15, 2010 at 6:42 am
Oct 16, 2010 at 5:30 pm -
Hello, I've started experimenting with the use of subroutines in place of large, repeating blocks of code in a few of my programs. Without exception, these subroutines require variables defined ...
Owen Chavez
Oct 16, 2010 at 3:40 am
Oct 16, 2010 at 7:52 am -
Hi all I did one more note at: http://perl5notebook.oleber.com/objects/smart-selects-with-dynamic-response-to-undefiend-method-calls One example of the use of AUTOLOAD, to do some SQL dinamically. ...
Marcos rebelo
Oct 5, 2010 at 12:11 pm
Oct 8, 2010 at 3:53 pm -
Hi, I'm new to perl. I recently installed RHEL 5.5 (it's the only Linux dist allowed at my work place) and tried to upgrade from perl 5.8.8 (which came with RHEL) to v 5.12.2. I didn't get any errors ...
Galeb abu-ali
Oct 29, 2010 at 5:15 pm
Oct 29, 2010 at 7:09 pm -
Hi, Since I do not believe that my computer suddenly has lost the ability to compare numbers correctly, I suppose there must be some mistake in my following code. To cut a long story short, the below ...
HACKER Nora
Oct 27, 2010 at 10:49 am
Oct 28, 2010 at 7:21 am -
Hi All Is there any seperate mailing lists to post questions on LWP and its related modules ? If not can i post them in this list ? Please let me know in this regard. Thanks Jatin
Jatin
Oct 27, 2010 at 3:55 pm
Oct 28, 2010 at 3:58 am -
Hi list, I have a sql package which returns a value after execution. I figured out that, when calling this package from Perl, I need a bind parameter ...
HACKER Nora
Oct 25, 2010 at 8:05 am
Oct 25, 2010 at 10:27 pm -
I`m trying to get the filehandler 1 and 2 to print the result in one line. The script i have made makes 2 lines. The script goes like this: my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = ...
KA B
Oct 22, 2010 at 7:12 pm
Oct 25, 2010 at 11:33 am -
Hello All, I need an urgent help. I have got .pm files in a directory. All .pm files have subroutines with different methods. At present, I am getting an output of list of all .pm files. But I want ...
Jyoti
Oct 11, 2010 at 2:44 pm
Oct 13, 2010 at 1:51 am -
Hello, Can anyone help me out to call all subroutines from different .pm files in a specific directory please ? Many Thanks, Jyoti
Jyoti
Oct 11, 2010 at 3:28 pm
Oct 11, 2010 at 3:54 pm -
Hi All, I am using the Time::localtime module in my perl script for getting a particular date format. It was working fine till last month, but for the month of October it is seen that it's showing as ...
Gopal Karunakar
Oct 8, 2010 at 8:02 am
Oct 8, 2010 at 1:55 pm -
Hi All, I have a file encoded with ISO8859_1 I wish to find and print all the characters from a certain range say between 224 and 255 ord function doesn't seem to work here. Any other work around. ...
Parag Kalra
Oct 7, 2010 at 9:19 pm
Oct 7, 2010 at 9:34 pm -
( i did'nt know where to post this; perl forum or python forum ) I am a bit confused, i have been learning perl last 1.5 yrs .. then suddenly in my new company they use python to do all their ...
Agnello George
Oct 5, 2010 at 10:25 am
Oct 5, 2010 at 11:20 am -
Hi everyone, could use some advice on a perl script I wrote using hashes. I have three files ( each file is a list of indexes) my program loads these indexes into hashes and compares the differences ...
Richard Green
Oct 1, 2010 at 3:33 am
Oct 1, 2010 at 8:01 pm -
I posted this on the news group comp.lang.perl yesterday and since I have not received a response (and it does not look very active) I am cross posting it here. This works: @p= split "\\.", @ARGV[0]; ...
Siegfried
Oct 1, 2010 at 6:18 am
Oct 1, 2010 at 6:31 am
98 users for October 2010
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)