FAQ

Search Discussions

29 discussions - 154 posts

  • Can somebody suggest me good book to learn/practice object oriented Perl programming. Regards, Kavita :-)
    Kavita kulkarniKavita kulkarni
    Feb 5, 2014 at 10:31 pm
    Feb 17, 2014 at 6:45 am
  • What would be the perl'ish way using map or some other sugar to check if a list of values meet some criteria? Instead of doing something like my @issues = qq(123,456,a45); my $max = 999; for ...
    Bill McCormickBill McCormick
    Feb 25, 2014 at 10:30 pm
    Feb 26, 2014 at 2:52 pm
  • Hi all, From the below file names I only need the version number 1.2.4 without explicitly specifying it. check_mk-1.2.4.tar.gz check_mk-agent-1.2.4-1.noarch.rpm ...
    Wernher EksteenWernher Eksteen
    Feb 21, 2014 at 2:22 pm
    Feb 24, 2014 at 3:26 am
  • Why doesn't $foo show up in the object? Ways around it are obvious - just have a helper method: sub foo {return [qw/one two three/]} but I don't understand why I don't have access to the variable ...
    Shawn wilsonShawn wilson
    Feb 11, 2014 at 4:35 am
    Feb 11, 2014 at 7:39 am
  • Trying to map the array list into a hash, but loose the double quotes surrounding the key's value. This is close, but it's not removing the quotes. Solutions? #!/usr/bin/perl -w use strict; use ...
    Bill McCormickBill McCormick
    Feb 9, 2014 at 9:25 pm
    Feb 10, 2014 at 11:52 am
  • I'm having a problem with the script below. I want to alter just the first line of a CSV file, removing the prefix "tag_" from each value in that line. However, because the new line is shorter than ...
    SSC_perlSSC_perl
    Feb 4, 2014 at 1:13 am
    Feb 5, 2014 at 1:25 pm
  • Hi everyone! I'm new to this mailing list as well as to programming and Perl in general. So there is a chance I might ask relatively stupid questions with very obvious answers... Please bear with me! ...
    Parysatis SachsParysatis Sachs
    Feb 14, 2014 at 7:48 am
    Feb 15, 2014 at 1:11 am
  • Having trouble making this work. my @alarm = ("xyz", "abc"); my $name = "ab"; unless (grep {/$name/} @alarm) { # do this } Since "ab" is contained in the array I want it to NOT 'do this'. What have I ...
    MattMatt
    Feb 20, 2014 at 7:05 pm
    Feb 21, 2014 at 12:37 am
  • I'm currently loading some new servers with CentOS6 on which perl5.10 is the standard version of perl provided. However, I've also loaded perl5.18 and I don't think the version of perl is significant ...
    Phil SmithPhil Smith
    Feb 17, 2014 at 8:41 pm
    Feb 18, 2014 at 2:33 am
  • Has anyone else encountered this? I had to dig down deep in my testing lore and run 'prove -v t/simple.t' before I could find the STDERR that revealed this. When I reviewed the files in the Module, ...
    Marc PerryMarc Perry
    Feb 15, 2014 at 9:34 pm
    Feb 17, 2014 at 5:47 pm
  • Is there a way to see the data difference when is_deeply fails? proove -d doesn't give me the structure that fails. I end up 'print STDERR "one " . Dumper($foo); print STDERR 'two " . Dumper($bar);' ...
    Shawn wilsonShawn wilson
    Feb 11, 2014 at 6:17 pm
    Feb 11, 2014 at 8:02 pm
  • Hi all, while installing Catalyst::Devel on my machine I got the following: Fetching with LWP: http://www.planet-elektronik.de/CPAN/authors/id/D/DC/DCANTRELL/CHECKSUMS Catching error: "'<HANDLE ' ...
    Luca FerrariLuca Ferrari
    Feb 10, 2014 at 3:01 pm
    Feb 11, 2014 at 7:37 am
  • Hi all, Perl 5.14 allows package blocks. Assume i have a file Hello.pm package Hello; { ... 1; } # or better here # 1; My question is: Would I put 1; inside the { } or should I put it outside the { ...
    Manfred LotzManfred Lotz
    Feb 5, 2014 at 9:52 am
    Feb 5, 2014 at 1:38 pm
  • Hello List: I am trying to go through a folder of php scripts to add a database prefix to lines that have a select statement. Since the database prefix will differ, I am simply trying to add ...
    Omega -1911Omega -1911
    Feb 1, 2014 at 8:40 am
    Feb 1, 2014 at 5:23 pm
  • Chaps, Any quick one liner code in perl were i can get rid off the before and after wwn each line for file as below file ------- device name lz_09_red_e10 vsan 200 * fcid 0xef0013 [pwwn ...
    Jet speedJet speed
    Feb 26, 2014 at 3:59 pm
    Feb 26, 2014 at 4:59 pm
  • Dear Perlers, I need to download a file from a server using FTP and then I need to compare both files (MD5 Checksum) to ensure that I am testing the right build. Here is the program I have attempted ...
    Shaji KalidasanShaji Kalidasan
    Feb 22, 2014 at 1:44 pm
    Feb 25, 2014 at 7:55 pm
  • What I want is to be able to make a program /think/ that it's like a week in the future without messing with the system time at all. So something that overrides gmtime and localtime and the like with ...
    Shawn wilsonShawn wilson
    Feb 14, 2014 at 9:22 pm
    Feb 20, 2014 at 11:22 am
  • Hello everyone, I'm somewhat confused on a topic of CGI vs a web frame work for creating simple applications. I've been reading Beginning Perl by Ovid and seems like it's recommend to use a frame ...
    Robert FreibergerRobert Freiberger
    Feb 7, 2014 at 6:30 am
    Feb 7, 2014 at 9:30 am
  • $s="ab"; $s=~s/a/AA/; # $s is now "AAb" I would like to achieve the same with something similar to the x multiplier: $n=2; $s="A"x$n."b"; # $s is "AAb" $s="ab"; $n=2; $s=~s/a/Ax$n/; # doesn't work, ...
    Jorge AlmeidaJorge Almeida
    Feb 5, 2014 at 7:52 pm
    Feb 5, 2014 at 8:29 pm
  • I am running a script under perl -d and want to break execution at line 243 in this case. perl -d scriptname loads the script in to the debugger and b 243 sets the break point. c then Enter starts ...
    Martin G. McCormickMartin G. McCormick
    Feb 27, 2014 at 9:34 pm
    Feb 28, 2014 at 4:40 pm
  • Hi, A few years ago I wrote a script to search a couple of dozen sites like CalJobs, craigslist, Dice, Indeed, several temp agencies in the area and a few of the major companies who use electronics ...
    Mike McClainMike McClain
    Feb 17, 2014 at 9:59 pm
    Feb 21, 2014 at 12:12 am
  • I'm helping someone retrieve some info from a MySQL db and I'm having trouble sending multiple select statements with Perl. Here's a portion of the code: use SQL::SplitStatement; my $query_4 = ...
    SSC_perlSSC_perl
    Feb 18, 2014 at 1:27 am
    Feb 20, 2014 at 8:45 pm
  • I know I'm overlooking something real simple here but I just don't see it: The test: $ipt- _list_set({ 'name' = "test", 'direction' = [qw/src dst/], 'useipset' = 1, }), ['-m set --match-set test ...
    Shawn wilsonShawn wilson
    Feb 13, 2014 at 11:05 am
    Feb 13, 2014 at 11:44 am
  • Hi I am a new to perl.Wanted to know how to master some of the daily used perl libraries.Most of the examples are different in usage, some are OO and others are scalar.I want to learn the OO way of ...
    Rakesh sharmaRakesh sharma
    Feb 8, 2014 at 5:23 am
    Feb 8, 2014 at 6:55 am
  • Hi, I am attempting to write a regex but it is giving me a headache. I have two log entries 1. Feb 3 12:54:28 cdrtva01a1005 [12: 54:27,532] ERROR [org.apache.commons.logging.impl.Log4JLogger] 2. Feb ...
    Paul FontenotPaul Fontenot
    Feb 3, 2014 at 8:30 pm
    Feb 4, 2014 at 11:02 am
  • I have a Perl module that calls a function from in a Swig generated module, which in turn calls a function in a shared library. It's been a while since I put it all together and made it work, so I'm ...
    Bill McCormickBill McCormick
    Feb 13, 2014 at 8:43 pm
    Feb 14, 2014 at 2:42 pm
  • Hi all, I'm attempting to do a very simple Net::Server listening on two different ports, one being TCP and one being SSLEAY. So far this is working, but as soon as I make an normal unencrypted ...
    Chris KnipeChris Knipe
    Feb 22, 2014 at 11:22 pm
    Feb 22, 2014 at 11:22 pm
  • I've come across an odd issue with -d on a windows box I have a script which recurses through a directory structure down two levels eg: ─Customers Reports └───Customers Reports ─Internal Reports ...
    Mike MartinMike Martin
    Feb 19, 2014 at 11:28 am
    Feb 19, 2014 at 11:28 am
  • 0

    rr

    发自我的小米手机
    Qq1083704059Qq1083704059
    Feb 18, 2014 at 2:58 am
    Feb 18, 2014 at 2:58 am
Group Navigation
period‹ prev | Feb 2014 | next ›
Group Overview
groupbeginners @
categoriesperl
discussions29
posts154
users54
websiteperl.org

54 users for February 2014

Shawn wilson: 13 posts Bill McCormick: 10 posts Shlomi Fish: 10 posts Uri Guttman: 10 posts Shawn H Corey: 8 posts Octavian Rasnita: 6 posts Shaji Kalidasan: 5 posts Wernher Eksteen: 5 posts Jim Gibson: 4 posts Manfred Lotz: 4 posts Omega -1911: 4 posts Paul Johnson: 4 posts SSC_perl: 4 posts Charles DeRykus: 3 posts Dr.Ruud: 3 posts Jim Gibson: 3 posts Luca Ferrari: 3 posts Marc Perry: 3 posts Phil Smith: 3 posts Rob Dixon: 3 posts
show more
Archives