Search Discussions

28 discussions - 126 posts

  • Hello all, long time lurker, first time requester... I have a Perl exam tomorrow and came across a question that I just cannot find an answer to (past paper, this isn't cheating or homework etc.) ...
    James KerwinJames Kerwin
    May 29, 2014 at 8:20 pm
    May 29, 2014 at 11:20 pm
  • I guess I need a mnemonic device to trick myself into remembering which way the pipe with dash symbol goes. And I suppose I should apologize for the cry baby rant in advance: Even now I'm flopping ...
    Harry PutnamHarry Putnam
    May 9, 2014 at 8:42 pm
    May 10, 2014 at 4:46 pm
  • Hello, Do you know why these days cpan.org has been unavailable? I always got: 503 Service Unavailable No server is available to handle this request. Thanks. 
    Yonghua PengYonghua Peng
    May 21, 2014 at 1:22 am
    May 21, 2014 at 7:59 am
  • So I've written a Perl utility and packed it with Fatpacker that I now want to distribute among the world. I've included an "install" script that the user should run: sudo ./Install.sh But the script ...
    Mike DunawayMike Dunaway
    May 16, 2014 at 7:17 pm
    May 20, 2014 at 10:52 am
  • Hi I have requirement to make the key of a perl hash to be read only so that no other function can modify it. I got Hash::Util package and managed to do what I needed use strict; use warnings; use ...
    Satya Prasad NemanaSatya Prasad Nemana
    May 12, 2014 at 8:59 am
    May 13, 2014 at 3:51 pm
  • Hi Guys, I have the following strings. my $str1="^Modifications made by Danny Wong (danwong) on 2014/05/06 18:27:48 from database brms"; #$str1="^Modifications made by danwong on 2014/05/06 18:27:48 ...
    Danny Wong (dannwong)Danny Wong (dannwong)
    May 7, 2014 at 5:20 am
    May 7, 2014 at 6:11 am
  • Hi there, I want to check if a file is a plain file but not a symlink. It seems because -f returns true for a symlink that I have to do this: my $fname = 'somefile'; if ( -f $fname and not -l $fname ...
    Manfred LotzManfred Lotz
    May 22, 2014 at 8:40 pm
    May 23, 2014 at 4:20 am
  • What's a good use of references? When is it ideal to use them? Why would you want to use them?
    Mike DunawayMike Dunaway
    May 14, 2014 at 5:32 am
    May 14, 2014 at 6:01 pm
  • So I've just gotten back into Perl and I've written a tarring utility for my first application. It seems to work okay, but I'm wondering how it could better be written. Any ideas? #!/usr/bin/perl -w ...
    Mike DunawayMike Dunaway
    May 10, 2014 at 9:01 am
    May 10, 2014 at 9:57 am
  • Disclaimer: I am 67 and not in school. I am doing this for my own satisfaction. How do I get a new line at the end of a non-quoted text. I am doing the following: Use Math::Trig; print pi * 2; print ...
    Sherman WilldenSherman Willden
    May 23, 2014 at 9:45 pm
    May 23, 2014 at 11:08 pm
  • I need to extract some information from source code.
    May 22, 2014 at 9:04 am
    May 23, 2014 at 12:03 pm
  • Hello everyone. Let's say I have a user provide @list of words and I want to match each words against a file or a another @list of words and increase a counter every time a word in the given list ...
    Mike DunawayMike Dunaway
    May 13, 2014 at 7:36 am
    May 13, 2014 at 6:53 pm
  • Hi, I want to fetch rawuuid from below file for each partition name. I tried to use while loop and all but no luck. example : partition name : ada0p2 rawuuid: 5899824d-e019-11e3-9cbc-08002731cc9a ...
    Benjamin FernandisBenjamin Fernandis
    May 20, 2014 at 11:19 pm
    May 21, 2014 at 5:04 am
  • Hello, I am uploading my module Net::Netconf http://search.cpan.org/search?mode=all&query=net%3A%3Anetconf in CPAN, but its giving error of dependency not found for Bundle::Expect. I am mentioning ...
    Priyal JainPriyal Jain
    May 16, 2014 at 8:41 am
    May 17, 2014 at 9:56 am
  • Hi All, I'm having a bit of a strange issue executing a system command through perl. The system command reads a bunch of parameters through STDIN, and responds via STDOUT. The problem is that special ...
    Chris KnipeChris Knipe
    May 15, 2014 at 8:10 am
    May 16, 2014 at 8:58 am
  • Hello, I have uploaded my Perl module in CPAN, http://search.cpan.org/search?mode=all&query=net%3A%3Anetconf, but when I am trying to install it using 'cpan Net::netconf' its saying don't know what ...
    Priyal JainPriyal Jain
    May 29, 2014 at 5:32 am
    May 29, 2014 at 7:59 am
  • I have multiple processes running cygwin/bash that= are accessing the same files in a certain directory.I want to c= reate a lock or semaphore or gate to serialize access to this directory so = that ...
    May 24, 2014 at 4:40 pm
    May 24, 2014 at 6:10 pm
  • Hello members, I run this command to install Starman webserver working along with Dancer. $ sudo cpanm Starman This run successfully. Then I take a look at the source of Starman, found it has only 6 ...
    Yonghua PengYonghua Peng
    May 22, 2014 at 2:51 am
    May 22, 2014 at 4:00 am
  • Hello members, I wrote the code like below: try { $dbh = DBI- connect("dbi:mysql:database=$db;host=$host;port=$port", $user, $passwd) or croak $DBI::errstr; } catch { if ($_) { write_log($_); exit ...
    Yonghua PengYonghua Peng
    May 20, 2014 at 2:20 am
    May 20, 2014 at 11:00 am
  • I am a complete and total novice to irc. Never used and never wanted to before. Rather than put my vast ignorance on display and annoy the heck out of others on the channel, I'd like to extract ...
    Harry PutnamHarry Putnam
    May 7, 2014 at 7:25 pm
    May 8, 2014 at 6:52 pm
  • Hello, I want to change my username in PAUSE, how should I do that. Thanks Regards Priyal
    Priyal JainPriyal Jain
    May 29, 2014 at 11:00 am
    May 29, 2014 at 11:44 am
  • I see a lot of modules for curl, like LWP::Curl, Net::Curl, WWW::Curl etc. I wonder which of these will most closely mimic the functions provided by the curl command? For example, this curl command ...
    Unknown UserUnknown User
    May 28, 2014 at 5:03 pm
    May 28, 2014 at 5:07 pm
  • Hi I have about 300 + ip regex in my apache file like this 11\.45\.3[2-9]\..*$ ^11\.45\.4[0-9]\..*$ ^11\.45\.5[0-9]\..*$ I have to convert like this into CIDR . · · · ...
    Agnello GeorgeAgnello George
    May 28, 2014 at 8:08 am
    May 28, 2014 at 8:30 am
  • Hi I just came across this special var $| , autoflush , jsut wondering how and where to use this . Can some one help me understand the concrete use of this special var. Thanks -- Regards Agnello ...
    Agnello GeorgeAgnello George
    May 22, 2014 at 6:13 am
    May 22, 2014 at 7:16 am
  • I have a large perl script that checks clean when running perl -c scriptname. It also executes when called without throwing error messages but suddenly, any line I give it while in the debugger ...
    Martin G. McCormickMartin G. McCormick
    May 22, 2014 at 1:41 am
    May 22, 2014 at 6:13 am
  • So, it's been a while since I've used Perl and I never really got THAT deep into it to begin with, but I was reading over the source code for MetaCPAN::Client ...
    Mike DunawayMike Dunaway
    May 9, 2014 at 6:56 pm
    May 9, 2014 at 9:45 pm
  • Hi, I created a $dbh object in the main body, and pass it to a subroutine, then close the $dbh in the subroutine, does it influence the $dbh in the main? $dbh = DBI- connect($data_source, $username, ...
    Jeff PangJeff Pang
    May 8, 2014 at 12:54 pm
    May 8, 2014 at 1:01 pm
  • Here's a bit of code you might want to bat around a bit. This is a perl script to accept a script from the user and check all permutations of that script to see how many words, if any, can be made ...
    Cy KurtzCy Kurtz
    May 10, 2014 at 12:13 am
    May 10, 2014 at 12:13 am
Group Navigation
period‹ prev | May 2014 | next ›
Group Overview
groupbeginners @

47 users for May 2014

Shlomi Fish: 14 posts Mike Dunaway: 11 posts Jim Gibson: 8 posts Yonghua Peng: 7 posts Harry Putnam: 6 posts Shawn H Corey: 6 posts Priyal Jain: 5 posts Rob Dixon: 4 posts Andy Bach: 3 posts David Precious: 3 posts Ken Peng: 3 posts Manfred Lotz: 3 posts Satya Prasad Nemana: 3 posts Shaji Kalidasan: 3 posts Uri Guttman: 3 posts Siegfried: 2 posts Agnello George: 2 posts Benjamin Fernandis: 2 posts Chris Knipe: 2 posts Danny Wong (dannwong): 2 posts
show more