Search Discussions
-
Hello. I'm not a new perl programmer, but I feel like one today. I want to pull the last octet off of an IP address and print it to standard output. I have this so far: @octets = split(/\./, ...
David Shere
Dec 9, 2008 at 8:35 pm
Dec 15, 2008 at 2:17 pm -
Hi, Would someone guide me with a simple example for perl documentation using Pod :: Usage? Regards, Kelvin Philip
Kelvin Philip
Dec 23, 2008 at 7:59 am
Dec 24, 2008 at 11:26 am -
Hi List, does anybody has deep information on how the garbage collector works in Perl? Is there a possibility to influence it, to free memory (in the sense of give it back to the OS)? Let me show: { ...
Patrick Kirsch
Dec 22, 2008 at 5:09 pm
Dec 23, 2008 at 7:11 pm -
wanted to draw a box that's counting up for certain time. Thought I could use the counter but it just displays the box not the number.. can anyone point it out for me? thank you. use warnings; use ...
Richard
Dec 14, 2008 at 2:13 am
Dec 15, 2008 at 7:21 pm -
Ho, I wanted to declare an HTML list as a constant array and then print it but cannot work out the stntax. This is what I've coded; use constant NAVTABSLIST = ["<div id='header' \n", " <ul ...
Bacoms
Dec 27, 2008 at 11:10 am
Dec 28, 2008 at 7:48 pm -
I am wondering if there is a way to copy a webpage to a text file using Perl. All I need is to copy as unformatted text. I would like to match certain strings on pages written in javascript and to my ...
Collaborate
Dec 23, 2008 at 4:30 pm
Dec 26, 2008 at 11:22 am -
Hi, Still very noob when it comes to perl. Just have a quick question. I am trying to match a string that is window's path Sample, $s1 = "c:\\log\s1.log"; $s2 = $s1; If ($s1 =~ m/$s2/i) { print ...
Gu, Han
Dec 18, 2008 at 3:42 pm
Dec 19, 2008 at 9:56 am -
Hi All, I am able to create simaltaneous threads and access a subroutine(which performs firing of reqeusts). with the created threads. Some time I get the following error *"Free to wrong pool 225f40 ...
Perl pra
Dec 26, 2008 at 11:52 am
Jan 1, 2009 at 2:08 pm -
Pardon me, if this has been already raised. I have experience in ActivePerl from Activestate. However, I have a Cygwin for Windows, where Perl 5.10 is installed. I am not familiar with CPAN. I did go ...
Rex
Dec 19, 2008 at 4:07 pm
Dec 20, 2008 at 6:42 am -
Hi, I am new to perl. Experience from the C programming tell my we can do something well with an IDE. But, is there some IDE of perl, in which we can do coding, debugging, etc? -------------- ...
Mobile.parmenides
Dec 29, 2008 at 12:48 am
Dec 30, 2008 at 11:40 pm -
I have an array of strings whose members consist of a number followed by a comma followed by a text string e.g. 1,fresh 2,testurl I want to sort by descending numerical order according to the number ...
Christopher Yee Mon
Dec 16, 2008 at 1:32 am
Dec 16, 2008 at 3:19 am -
Hi, I was wondering if there is a quick way to remove an arbitrary element from an array. I have an array which stores delimited strings a_b_c_1). The last string stores the rank of the string. I ...
Sharan Basappa
Dec 5, 2008 at 3:54 pm
Jan 28, 2009 at 3:25 pm -
List, I have a factorial script that calls a sub fact that does the factorial and returns a value. But I get this error when I execute the script: Use of uninitialized value in numeric gt ( ) at ...
David Ehresmann
Dec 30, 2008 at 1:10 pm
Dec 30, 2008 at 4:53 pm -
Hi, I am implementing an algorithm that I have worked out in theory. The algorithm is in the form of a flowchart. The area where I am having problem is where the flow passes from a lower decision ...
Sharan Basappa
Dec 24, 2008 at 2:40 pm
Dec 26, 2008 at 5:07 pm -
I used winzip 12.0 to zip a file and used the code below to successfully unzip it. ======= #!/usr/bin/perl -w use IO::Uncompress::AnyInflate qw(anyinflate $AnyInflateError) ; @ARGV == 2 or die ...
Fisher, John
Dec 16, 2008 at 3:56 pm
Dec 18, 2008 at 12:30 pm -
Hi, My website is hosted in 110mb.com and they do not have this module installed Algorithm::Numerical::Shuffle qw /shuffle/; So what can I do to use that module. Thanks
Itshardtogetone
Dec 7, 2008 at 11:16 pm
Dec 11, 2008 at 8:40 pm -
Hello, I am trying to add data into a multidimensional array in a loop. I'm wanting something along the lines of: @array = $record[0]='foo' $record[1]='bar' $record[2]='fue' $record[3]='bargh' ...
Andy Dixon
Dec 6, 2008 at 10:40 am
Dec 6, 2008 at 2:20 pm -
Hi, I have some data from a dbi that looks like this: +-----------+-----------+--------+------------------------+ I used this statement to try and grab 1st, title1; 2nd title2; if all fails there ...
Dermot
Dec 5, 2008 at 3:01 pm
Dec 5, 2008 at 5:46 pm -
Thank you to all who helped me get a 6 digit date into perl. I certainly heed warnings about not using outside system calls in perl however, I have to make an outside call again. #!/usr/bin/perl -w ...
David
Dec 2, 2008 at 3:18 am
Dec 3, 2008 at 2:50 am -
Hello. I want to add sequential numbers to a file, one number per line, at the end of each line. The files have a .csv format. So, I'd like to add ",1" to the first line, ",2" to the second line, and ...
Blackd77
Dec 29, 2008 at 4:52 am
Dec 30, 2008 at 3:42 pm -
Hello, I have a hash tree, which sub- and sub-sub-sub ( and whatever ) items inside are all hashes. and the next step I dealing with this hash tree is to use Data::Dumper to dump it out. What I hope ...
Panda-X
Dec 15, 2008 at 9:19 am
Dec 17, 2008 at 6:25 am -
Dear perl users, I read a large file into a hash table. This hash table is used only once in the subroutine. I am very concern the memory usage, So I plan to realse the memory after used the hash ...
Org chen
Dec 10, 2008 at 2:46 am
Dec 10, 2008 at 8:36 pm -
I'm a lawyer learning perl and new to this group. My law firm uses free and open source code. I've been able to show nearby nonprofits and other law firms options that exist besides proprietary ...
Late_rabbit
Dec 7, 2008 at 9:41 pm
Dec 9, 2008 at 2:11 pm -
while going over below example from the book, I am not understanding why/how below program works. Can someone explain this to me in better way? what is READER exactly reading from??? and what does ...
Richard
Dec 4, 2008 at 6:50 am
Dec 7, 2008 at 8:33 am -
Hi Matt, A very Good Morning, Need a small Info for my problem. I have a directory named "X" which has many sub directories "Y","Z","W" and many files about 20 , and these sub directories also ...
Koti
Dec 2, 2008 at 11:48 am
Dec 3, 2008 at 4:26 am -
Hello, I have one perl (5.10) installed by my Ubuntu 8.10, as this version of Perl has memory leak issue with regex, so I compile another one into /opt/ perl5.8.9. The problem is originally I ...
Howa
Dec 1, 2008 at 4:42 am
Dec 2, 2008 at 2:22 am -
Hello, I am writing Perl scripts that go to webpages, download certain content, and then create a CSV file with the relevant data. I am trying to be a friendly web robot, so I am using the ...
John Refior
Dec 26, 2008 at 8:03 pm
Jan 9, 2009 at 3:12 pm -
Hi, I'm new to perl. The following code is wrong., and I can not spot it. Any suggestion? Thx. #!/usr/bin/perl -w &init_words (); sub init_words{ while ( $filename=<*.secret ){ open( WORDLIST, ...
Mobile Parmenides
Dec 27, 2008 at 10:41 am
Dec 29, 2008 at 5:36 am -
Hi all, How can we read mail from inbox without using mail client like outlook? Using perl. i.e. Is it possible to read Inbox of your gmail account using perl? Thanks & Regards, Sanket Vaidya ...
Sanket vaidya
Dec 23, 2008 at 10:46 am
Dec 23, 2008 at 2:54 pm -
Hi, I want to connect to a "Oracle SQL Developer" with perl (running on windows). I tried something like, use DBI; $db = "database1"; $host = "10.0.0.1:1433"; $user = "username"; $password = ...
MGautam
Dec 20, 2008 at 11:18 am
Dec 22, 2008 at 9:41 pm -
Hi all, i have this regex [\x3c][i][m][a][g][e]\x20[s][r][c][=][h][t][t][p][:]\x2f\x2f[\x26][#]114[;][\x26][#]2570[;][\x26][#]114[;][.][b][o][o][k][.][c][o][m] when i tried to put it into human ...
Monnappa appaiah
Dec 11, 2008 at 7:23 pm
Dec 11, 2008 at 8:42 pm -
I am looking for some suggestions on any advanced functions Perl might have that i might be missing. Basically, I have an array with column widths. Next I have a string. I would like to extract the ...
Sanju.shah
Dec 8, 2008 at 6:54 pm
Dec 10, 2008 at 7:21 am -
I am working on a script to help find malicious traffic that takes the supplied ip and port from the user, does a number of checks (reverse dns, whois, banner grabbing, amap and nmap service ...
Askew Blake
Dec 4, 2008 at 12:22 am
Dec 4, 2008 at 5:18 am -
In order to ramp up quickly on the nitty-gritty of Regular Expressions in Perl, what will be a good book to start with? I do have moderate familiarity with RegEx, but am still not using all that ...
Rex
Dec 3, 2008 at 3:46 pm
Dec 3, 2008 at 7:18 pm -
I am new to perl and attempting to write a script that will do a reverse dns lookup on an ip, store this result into a file, then read the file in order to do a whois lookup. The whois lookup answer ...
Blake askew
Dec 1, 2008 at 12:58 am
Dec 2, 2008 at 11:39 am -
I'm a new perl user. I was trying to print an array by using print @array and print "@array". Is it supposed to output the same thing? I got the different output. EX: @array=qw/v1 v2 v3/, the output ...
Xie ningde
Dec 30, 2008 at 4:49 am
Dec 30, 2008 at 12:52 pm -
I have a need to manipulate some filenames. The files are all in a single directory. They are currently named in the form: 01012003-Rattler.tar.gz 01162003-Rattler.tar.gz 01312003-Rattler.tar.gz ...
M.Lewis
Dec 27, 2008 at 8:06 am
Dec 28, 2008 at 12:19 am -
I need to read in a file of 200 lines and print each out to a separate file. I've been stumbling with this, but I don't know how to name each outfile individually. I was hoping to see 200 files named ...
Charlie Farinella
Dec 24, 2008 at 6:16 pm
Dec 25, 2008 at 3:23 am -
Hi all, I am trying to use recursive regular expression in Perl. I am using an example from http://www.perl.com/pub/a/2003/06/06/regexps.html. Whenever I try to execute the program, it hangs and I ...
Amit Saxena
Dec 24, 2008 at 6:11 am
Dec 24, 2008 at 4:50 pm -
HI, I have a bunch of news websites that are stored in my mysql db and each morning I have a script to go to each site and download the top stories (this is for personal use, not commercial). My ...
Hotkitty
Dec 13, 2008 at 1:32 am
Dec 14, 2008 at 6:22 pm -
Dear all What is the precise difference between the two ways of generating an inside-out-object? 1/ my $node = bless \do { my $anonymous }, ref($class) || $class; 2/ my $a; my $node = bless \$a, ...
Christoph Kiefer
Dec 10, 2008 at 12:50 pm
Dec 12, 2008 at 12:32 am -
3
XS
Patrick Dupre
Dec 4, 2008 at 12:48 am
Dec 9, 2008 at 10:32 am -
Hello, whats the difference if you start a variable with :: for example: $::a $a $main::a or: Package Foo; $::a # <- this is still main?! $::Foo::a $Foo::a $a didn't found information in the perldoc. ...
Martin Barth
Dec 2, 2008 at 3:43 pm
Dec 2, 2008 at 5:19 pm -
Deviloper
Dec 2, 2008 at 2:11 pm
Dec 2, 2008 at 3:52 pm -
Hi, I am trying port an Custom Perl module from one server to another. The module uses C/XS and was built in 2001/2. I got the source and did `perl Makefile.PL; make`. There was an error in one .c ...
Dermot
Dec 1, 2008 at 2:19 pm
Dec 1, 2008 at 5:58 pm -
Hi, While running following IMAP learn script (see attachment) I am getting following error message. config: invalid regexp for rule OEM_SPAM: /Reinstall OEM with different I am bit confused about ...
Meghanand Acharekar
Dec 1, 2008 at 6:38 am
Dec 1, 2008 at 2:07 pm -
Hi all, I am trying to interface with a work timesite server, and the site uses javascript. I am first presented with a login page (username, password) and then my current weeks timecard after ...
Bft
Dec 30, 2008 at 11:50 pm
Jan 1, 2009 at 12:48 am -
what's wrong w/ this ? I used (dot) . to indicate the maximum length of each element in the print but last one does not print out in alinged format.. What am i missing? use warnings; use strict; my ...
Richard
Dec 25, 2008 at 2:49 am
Dec 25, 2008 at 3:30 am -
Hi, Query 1 ======== Is it possible to use Perl DBI to connect to SQL Server? I think all DBD drivers (mysql,Oracle,etc) need different syntax for connect. Supposing I want to connect to database ...
MGautam
Dec 24, 2008 at 5:28 am
Dec 24, 2008 at 9:19 am
109 users for December 2008
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)