Search Discussions
-
Hi, $ perl -le 'open HD,"/etc/passwd" or die $!; <HD ; print $!' Bad file descriptor what does this error mean? why it happens? Thanks.
Ken Peng
Nov 5, 2011 at 2:51 am
Nov 7, 2011 at 2:34 am -
Hi all, just started using Perl today, coming over from a background in C#/Java and Python. I seem to be grasping Perl rather nicely (I think) until I got up to references in Beginning Perl. ...
Mike D
Nov 25, 2011 at 4:28 am
Nov 27, 2011 at 9:34 am -
I found the script below at http://hints.macworld.com/dlfiles/is_tcp_port_listening_pl.txt I am trying to figure out what's happening at lines 20-23. Why is the author using 'shift ||' and not a ...
JPH
Nov 24, 2011 at 6:19 pm
Nov 27, 2011 at 9:22 am -
using the async option in Net::OpenSSH can someone help me understand whether in second loop commands are being executed without waiting for them to complete, so that parallelism is achieved as ...
Rajeev Prasad
Nov 7, 2011 at 11:56 pm
Nov 20, 2011 at 7:45 am -
I want to update a status file, similar to this: open OUTFILE, " ", "status.txt"; print OUTFILE "$last_date\n"; close OUTFILE; However, if something goes wrong (e.g. the disk is full), this code will ...
Mark Wagner
Nov 22, 2011 at 9:27 pm
Nov 25, 2011 at 7:55 pm -
Hi, I generally use vi/vim for my day to day Perl scripts. What are different packages I can use to make vi/vim extensively customized for Perl. For example - it should be able inform me about the ...
Parag Kalra
Nov 18, 2011 at 5:53 pm
Nov 20, 2011 at 11:59 pm -
Hello, I have this CGI script: ---//--- #!/usr/bin/perl -T -w use strict; use CGI; $ENV{PATH} = '/var/www/cgi-bin/'; my $exec = 'search.pl'; my $c = CGI- new(); print $c- header(), $c- ...
Tessio Fechine
Nov 11, 2011 at 10:08 pm
Nov 16, 2011 at 3:10 pm -
Hi there, I am trying to round to 10 or 100 for particular values so the following numbers 530 570 2330 2590 3630 3660 would become 500 600 2300 2600 3600 3700 any clues how to do this well? Cheers, ...
Noah
Nov 8, 2011 at 7:02 pm
Nov 9, 2011 at 11:05 am -
8
regex
I am trying to match a line that has HEH in it. I would also like to store the number follow CELL in memory variable $1 and store everything following the number and upto excluding ", HEH" in memory ...Chris Stinemetz
Nov 4, 2011 at 5:43 pm
Nov 4, 2011 at 8:34 pm -
hello,  i am trying to extract email address from a afile, but not quite succesful. here is what i have:  the file: myterqlqt qntmrq Prqtesm qltul qzeez Smqik qltulqzeez98@jmqil.com 976665 ...
Rajeev Prasad
Nov 29, 2011 at 3:13 pm
Dec 6, 2011 at 6:00 pm -
Hi Sorry for the silly question, but thought someone might help here.(tried googling but this may too silly a beginners question for anyone to have answered previously) I need to pass argument to a ...
Nemana, Satya
Nov 29, 2011 at 1:12 pm
Nov 30, 2011 at 4:39 pm -
Hi. I have three versions of perl on my machine (Macbook Pro running 10.6.8.): v.5.12 in /opt/local/ for MacPorts, v.5.10 in /usr/bin/ which is the system perl & my developer perl v.5.14 in ...
Phil Dobbin
Nov 1, 2011 at 6:38 pm
Nov 1, 2011 at 11:35 pm -
I've been trying to figure out how to print 2 arrays into 2 columns. I came across this code and it works but gives me a problem in the output. *************************BEGIN ...
Jeswin
Nov 30, 2011 at 11:06 pm
Dec 1, 2011 at 2:42 pm -
I have to write a perl script that keeps track of tcp connections. I plan to keep track of this in an array of the form tcp_connection[source address][dest address] To do this I want to convert an IP ...
Arvind
Nov 23, 2011 at 3:25 am
Nov 27, 2011 at 2:39 pm -
Dear all, #!/usr/bin/env perl #dummy.pl use strict; use warnings; use Data::Dumper; my $ref_to_AoA = [ [ "fred", "barney",undef,"pebbles", "bambam", "dino", ], [ "homer",undef,"bart",undef, "marge", ...
Mohan L
Nov 19, 2011 at 6:21 pm
Nov 21, 2011 at 4:30 pm -
I would like to join the key from %cell hash to %cbr hash the dump from %cell hash looks like: '65' = { 'CDM 1, 2, CBR 3, 15MHz' = 2 }, and the dump from %cbr looks like: $VAR1 = { '1' = 223, }; So ...
Chris Stinemetz
Nov 6, 2011 at 1:37 pm
Nov 15, 2011 at 7:39 am -
Hi all, i need to track down how much time each function is taking and anlyze if threads can help do we have any such function??
A b
Nov 3, 2011 at 5:24 am
Nov 7, 2011 at 1:19 pm -
Hello list, I´m using a json config file to read a file with server group definitions, including group of groups like this example: [jdoe@belbo]# cat groups.json { "G_Group_PR" : [ "serverA", ...
Stefan Wiederoder
Nov 15, 2011 at 4:11 pm
Nov 17, 2011 at 9:09 pm -
How can I check that the value assigned to $cell and $sector is numeric before I try to call the sprintf function? I am just trying to clear this warning. Argument "" isn't numeric in sprintf at ...
Chris Stinemetz
Nov 29, 2011 at 1:49 pm
Nov 30, 2011 at 12:25 am -
Hi Can you recommend a good to use Perl module for getting certain new emails from my gmail? thx
Samjesse
Nov 19, 2011 at 10:33 pm
Nov 29, 2011 at 10:06 am -
Hi,I am masayoshi. I read the following article. http://perltraining.com.au/tips/2005-11-24.html A lot of website use the following script to explain file test operators, But I reckon I should not ...
Masayoshi
Nov 27, 2011 at 10:45 pm
Nov 28, 2011 at 6:53 am -
I was reading chromatics article on his thoughts on why perl funding was so hard. It can be found here http://www.modernperlbooks.com/mt/2011/11/why-is-funding-perl-core-development-so-difficult.html ...
Flebber
Nov 18, 2011 at 2:51 am
Nov 24, 2011 at 5:50 am -
Hi what does this mean foreach $msg (@subjects) { $subjects{$msg}++; } thx
Samjesse
Nov 24, 2011 at 3:53 am
Nov 24, 2011 at 10:59 am -
Hi everybody Well I have some problems with my mind, becouse I left programming perl a couple of years, but right now I need to use it again. The main problem is how uses hashes with large file to ...
Raito Garcia
Nov 21, 2011 at 3:52 am
Nov 23, 2011 at 5:20 am -
getting this error: Can't locate Http/Cookies.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 ...
Rajeev Prasad
Nov 22, 2011 at 8:31 pm
Nov 23, 2011 at 12:03 am -
Dear All, I want to search a particular word in some set of files, which are kept in a directory. In this, I want to display the search result in some other out file like including the line number ...
Saravanan Murugaiah
Nov 21, 2011 at 6:45 am
Nov 21, 2011 at 11:06 am -
I have an array of scalars. I want to run a loop like this my @workers = qw ( a b c ); my $MAXCHILD = 20; foreach my $i( 0 .. $MAXCHILD){ run_job($i,$workers[$i++]); } Can I do this ?
Ramprasad Prasad
Nov 28, 2011 at 3:03 pm
Nov 28, 2011 at 4:48 pm -
Hi All, I create following bash script to run some command on remote server and get information but I try to do same using Perl but I couldn't make it so any one can suggest way to get done this ...
Charith LokuBogahawatta
Nov 24, 2011 at 6:56 am
Nov 24, 2011 at 1:52 pm -
HI list, Is there an easy way to get variables defined from another file? specifically I have a series of scalar, array, and hash variables in an external file. How can I use those variables defined ...
Noah
Nov 22, 2011 at 6:25 pm
Nov 22, 2011 at 7:02 pm -
Hi I am trying to run a shell script within a perl cgi script , however it is not getting executed . cat /vae/www/cg-bin/syscscript.pl : : my $openvpn = `ps aux |grep openvpn |grep -v grep`; unless ( ...
Agnello George
Nov 9, 2011 at 12:57 pm
Nov 10, 2011 at 4:07 am -
Hi all I would appreciate if someone could explain what the following command does: $sth- execute; I would also like to know what the following command does: $sth- errstr; Thanks in advance
Elodie
Nov 7, 2011 at 1:47 am
Nov 8, 2011 at 8:18 am -
Hi, I have a function which looks something like: sub foo_bar { ${$_[0]} = new foo_bar ( address = $_[1], sudo = $_[3]', id = $_[0] . '_' . $_[2], ); sleep 8; } When the code is executed, I get an ...
Parag Kalra
Nov 5, 2011 at 7:16 am
Nov 5, 2011 at 7:48 am -
Hi all, Can somebody please explain what is the difference between: sub subroutine { my $var = @_; ... return 1; } and: sub subroutine { my ($var) = @_; ... return 1; } I think it's something related ...
Rent0n
Nov 1, 2011 at 7:03 pm
Nov 1, 2011 at 7:57 pm -
Hello, I am mailing this list as I believe I am still a beginner in some areas of Perl such as Networking protocols. For my research project I am using a device that has the following specifications: ...
Kartik Thakore
Nov 28, 2011 at 2:32 pm
Nov 28, 2011 at 3:16 pm -
hi Well today i have another dude, I have a HTML file like this content: </td </tr <tr <td colspan="2" <hr </td </tr <tr <td <span class="host_info" Remote host information</span <br <table ...
Raito Garcia
Nov 27, 2011 at 5:31 am
Nov 27, 2011 at 7:43 am -
Here is the prob description in short: 1.   post your url in browser: https://myrel/files/file.doc 2.   you get a logon page (URL still looking same) 3.   enter field ...
Rajeev Prasad
Nov 22, 2011 at 9:43 pm
Nov 23, 2011 at 9:19 pm -
I am working on a Perl script that is getting quite lengthy so I thought I would put the sub routines, hashes, and arrays in a seperate script from the main. The program will run when I turn use ...
Chris Stinemetz
Nov 22, 2011 at 10:04 pm
Nov 22, 2011 at 11:05 pm -
hello, what would be the best module to download a file from an https://url ? I am trying to download some files over secured website and am willing to try the most correct (no overkill) module for ...
Rajeev Prasad
Nov 22, 2011 at 4:09 am
Nov 22, 2011 at 1:58 pm -
Hi, I'm a newbie to perl and am having trouble with list vs scalar. There is an example in Programming Perl where an object is blessed and returned from its constructor as: return bless \$value = ...
Blawson
Nov 17, 2011 at 3:14 am
Nov 17, 2011 at 7:32 am -
Hello, We are in the process of writing a perl program that can send network traffic on the native pc network port. Essentially, the perl program emulates as if different traffic type sources are ...
Sharan Basappa
Nov 5, 2011 at 4:32 pm
Nov 5, 2011 at 11:55 pm -
Does anybody know of any modules to create console applications for windows? I don't want a GUI like tk does. I want it to be text based and run in a DOS window. I saw the below example but couldn't ...
Steven Perry
Nov 5, 2011 at 4:56 pm
Nov 5, 2011 at 6:13 pm -
Hi all, I would like to perform the following, start X (say 10) number of threads to perform some operation (ex. Copy command), I would like to exit or return out of the thread(s) that takes too long ...
Danny Wong (dannwong)
Nov 2, 2011 at 12:23 am
Nov 2, 2011 at 2:20 am -
<p Hi friend.<br i'm around to watch my children grow<br <a href="http://www.raysgiftcard.com/profile/34DarrenBailey/" http://www.raysgiftcard.com/profile/34DarrenBailey/</a <br see you later</p
Harish behl
Nov 27, 2011 at 7:24 pm
Nov 27, 2011 at 7:24 pm -
<p Hi Friend!<br I kept telling myself things would get better my expectations were more than exceeded this is proof that miracles do exist seriously consider this<br <a ...
Harish behl
Nov 27, 2011 at 4:44 pm
Nov 27, 2011 at 4:44 pm -
Hi, Is there the good document or samples for running Thrift clients with Perl? The document on CPAN is too less. Thanks. -- Jeff Pang jeffpang@mail.ru
Jeff Pang
Nov 27, 2011 at 1:14 pm
Nov 27, 2011 at 1:14 pm -
I am generating pdf files with http://code.google.com/p/wkhtmltopdf/ I want to password protect the PDF's .. How can I do this ?
Ramprasad Prasad
Nov 25, 2011 at 12:46 pm
Nov 25, 2011 at 12:46 pm -
I installed perl-support as per instructions but no go. This on OS X 10.6.8 & vim 7.3. Cheers, Phil... -- Nothing to see here... move along, move along
Phil Dobbin
Nov 20, 2011 at 8:15 pm
Nov 20, 2011 at 8:15 pm -
<p Hey Friend!<br I remembered hearing about a quick and easy solution this was my free ride ive been crowned with success dont hesitate trying this out<br <a ...
Harish behl
Nov 19, 2011 at 2:51 pm
Nov 19, 2011 at 2:51 pm -
<p Hi Friend<br I remembered hearing about a quick and easy solution this was my free ride ive been crowned with success dont hesitate trying this out<br <a ...
Harish behl
Nov 16, 2011 at 4:31 pm
Nov 16, 2011 at 4:31 pm -
Hi, All, Has anybody on this list even successfully implemented Crypt::GpgME to either encrypt or decrypt some data? I am a bit confused as from what I can tell the function list does not have the ...
Daniel Patrick Sullivan
Nov 9, 2011 at 2:06 pm
Nov 9, 2011 at 2:06 pm
75 users for November 2011
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)