FAQ

Search Discussions

51 discussions - 266 posts

  • Hi, $ perl -le 'open HD,"/etc/passwd" or die $!; <HD ; print $!' Bad file descriptor what does this error mean? why it happens? Thanks.
    Ken PengKen 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 DMike 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 ...
    JPHJPH
    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 PrasadRajeev 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 WagnerMark 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 KalraParag 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 FechineTessio 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, ...
    NoahNoah
    Nov 8, 2011 at 7:02 pm
    Nov 9, 2011 at 11:05 am
  • 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 StinemetzChris 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 PrasadRajeev 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, SatyaNemana, 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 DobbinPhil 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 ...
    JeswinJeswin
    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 ...
    ArvindArvind
    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 LMohan 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 StinemetzChris 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 bA 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 WiederoderStefan 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 StinemetzChris 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
    SamjesseSamjesse
    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 ...
    MasayoshiMasayoshi
    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 ...
    FlebberFlebber
    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
    SamjesseSamjesse
    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 GarciaRaito 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 PrasadRajeev 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 MurugaiahSaravanan 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 PrasadRamprasad 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 LokuBogahawattaCharith 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 ...
    NoahNoah
    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 GeorgeAgnello 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
    ElodieElodie
    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 KalraParag 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 ...
    Rent0nRent0n
    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 ThakoreKartik 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 GarciaRaito 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 PrasadRajeev 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 StinemetzChris 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 PrasadRajeev 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 = ...
    BlawsonBlawson
    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 BasappaSharan 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 PerrySteven 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)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 behlHarish 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 behlHarish 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 PangJeff 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 PrasadRamprasad 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 DobbinPhil 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 behlHarish 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 behlHarish 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 SullivanDaniel Patrick Sullivan
    Nov 9, 2011 at 2:06 pm
    Nov 9, 2011 at 2:06 pm
Group Navigation
period‹ prev | Nov 2011 | next ›
Group Overview
groupbeginners @
categoriesperl
discussions51
posts266
users75
websiteperl.org

75 users for November 2011

Shawn H Corey: 21 posts Shlomi Fish: 19 posts Jim Gibson: 14 posts Rajeev Prasad: 14 posts Brandon McCaig: 11 posts Dr.Ruud: 11 posts John W. Krahn: 11 posts Ken Peng: 11 posts Rob Dixon: 10 posts Uri Guttman: 9 posts Chris Stinemetz: 8 posts Phil Dobbin: 8 posts Timothy adigun: 6 posts Anneli Cuss: 5 posts Peter Scott: 5 posts Brian Fraser: 4 posts David Christensen: 4 posts Harish behl: 4 posts Noah: 4 posts Shawn wilson: 4 posts
show more
Archives