Search Discussions

73 discussions - 360 posts

  • 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). ...
    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 ...
    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 FishShlomi 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 123Perl_haxor 123
    Oct 28, 2010 at 1:58 pm
    Nov 2, 2010 at 8:54 pm
  • 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 McClainMike 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: ...
    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
    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 ...
    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 FavorDavid 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 ...
    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 ROyo 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 SinghS 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 ShriyanKaushal 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 ...
    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 KalraParag 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 GeorgeAgnello 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 ...
    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 kumarPawan 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 ChavezOwen 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 BlezienMike Blezien
    Oct 28, 2010 at 1:00 am
    Oct 28, 2010 at 8:48 am
  • hi, i want to login and need help on perl... regards, numan
    Sheikh numan iqbalSheikh 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 HermansenJon 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 ...
    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 ...
    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 SinghS 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 ...
    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 ...
    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 ScherfThorsten 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 (小兰)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 TorresPau 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 ...
    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 FengJason 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 NullBob 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 ...
    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.
    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 ...
    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 ChavezOwen 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 rebeloMarcos 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-aliGaleb 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 ...
    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
    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 ...
    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 BKA 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 ...
    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
    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 KarunakarGopal 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 KalraParag 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 GeorgeAgnello 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 GreenRichard 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]; ...
    Oct 1, 2010 at 6:18 am
    Oct 1, 2010 at 6:31 am
Group Navigation
period‹ prev | Oct 2010 | next ›
Group Overview
groupbeginners @

98 users for October 2010

Shlomi Fish: 43 posts Brandon McCaig: 17 posts Jeff Peng: 16 posts Parag Kalra: 15 posts John W. Krahn: 13 posts Uri Guttman: 13 posts Jyoti: 11 posts Mark: 10 posts Shawn H Corey: 10 posts Jobst müller: 9 posts C.DeRykus: 8 posts Jatin: 8 posts Jim Gibson: 8 posts Marcos rebelo: 8 posts Rob Coops: 6 posts Alexey Mishustin: 5 posts Brian: 5 posts Brian Fraser: 5 posts Chas. Owens: 5 posts Dr.Ruud: 5 posts
show more