Search Discussions

56 discussions - 319 posts

  • Hi all, I recently finished working on a new document titled "How to Start Contributing to or Using Open Source Software" intended to get more people involved in the world of free and open source ...
    Shlomi FishShlomi Fish
    Dec 27, 2010 at 6:56 pm
    Jan 17, 2011 at 7:32 am
  • Hi, all Suppose file test.pl is: my @ins = @ARGV; foreach(@ins) { open IN, $_; while(<IN ) { chomp; print "@ins\n"; } close IN; } and file case is: a b c When I run it in shell, using: $ perl test.pl ...
    Odin LiuOdin Liu
    Dec 3, 2010 at 3:37 pm
    Dec 3, 2010 at 4:56 pm
  • Hi, I am quite new to this perl language-I am from biochemistry field. Now trying to write a script for my current work but could not make it. The idea is to calculate the composition (percentage) of ...
    Changrong GeChangrong Ge
    Dec 1, 2010 at 8:44 am
    Dec 2, 2010 at 12:08 pm
  • Hello, I hope someone can help me. I am trying to parse data from a txt file and output the results to a new file with timestamp in the name of the file. The format of the txt file is ";" delimited ...
    Chris StinemetzChris Stinemetz
    Dec 23, 2010 at 7:18 pm
    Dec 27, 2010 at 8:52 pm
  • The perlop document under "s/PATTERN/REPLACEMENT/msixpogce" says "Any non-whitespace delimiter may replace the slashes." I take this to mean that any non-whitespace character may be used instead of a ...
    Jonathan PoolJonathan Pool
    Dec 5, 2010 at 9:33 pm
    Dec 9, 2010 at 6:04 am
  • What are some of the best books for newbies to perl?
    Dec 26, 2010 at 6:55 pm
    Dec 30, 2010 at 12:41 am
  • Hi, I was under the impression that regex modifier '/x' ignores the white space. So in following script both the if-else blocks should print "Match" since the strings differ only in white space and ...
    Parag KalraParag Kalra
    Dec 27, 2010 at 10:34 pm
    Dec 28, 2010 at 1:31 am
  • Hai I have a new challenge based on the XML. I have tried with various combination s but could not able to resolve it. So i request you guys to help me out on this. ...
    Chaitanya YanamadalaChaitanya Yanamadala
    Dec 18, 2010 at 5:21 am
    Dec 20, 2010 at 8:52 am
  • I'm seeking a strategy for diagnosing a bug that seems difficult to reduce to a simple reproducible case. The bug is that a hash element apparently becomes undef. When used as an argument to "split" ...
    Jonathan PoolJonathan Pool
    Dec 4, 2010 at 7:12 am
    Dec 13, 2010 at 2:13 pm
  • I have a perl script but I want to exit it if the uptime on the server is less then say an hour. Any idea how I would get uptime with perl?
    Dec 17, 2010 at 1:32 am
    Dec 17, 2010 at 5:31 am
  • Hi everyone, This message is particularly referred to serious programmer (with serious I mean the ones who do programming for work). The question is this: What role do Perl have in your work? In ...
    Francesco Di LorenzoFrancesco Di Lorenzo
    Dec 18, 2010 at 4:30 pm
    Dec 20, 2010 at 6:07 pm
  • Hi, Just like $0 reveals the current script name is there any variable using which I can find the current sub-routine I am currently in. Snippet of what I am looking for: use strict; use warnings; ...
    Parag KalraParag Kalra
    Dec 31, 2010 at 2:38 am
    Dec 31, 2010 at 4:30 am
  • Hi Below is a Perl script which won't compile. My operating system is Windows XP Home and Perl version is #!/usr/bin/perl # import_track.prl use warnings; use strict; open (INFILE, ...
    Bill CaseyBill Casey
    Dec 19, 2010 at 8:23 pm
    Dec 27, 2010 at 8:50 am
  • Hi, I have an array file_list which contains absolute/relative paths of files. I want to remove duplicate elements and elements whose filenames(not the path) are same. How can i do this using grep ...
    Sooraj SSooraj S
    Dec 16, 2010 at 2:25 pm
    Dec 19, 2010 at 7:08 am
  • Hi, I have intalled activeperl 5.10 on windows and try to install a perl package. But I can't find the package in activeperl's "perl package manager" though this package does exist in CPAN. Also my ...
    Jeff PengJeff Peng
    Dec 15, 2010 at 2:08 pm
    Dec 16, 2010 at 6:10 am
  • Hi there, what is the easiest way to get all the filenames like *html in the root directory and all subdirectories? The glob command appears to just sit at the root directory. Cheers, Noah
    Dec 8, 2010 at 7:41 pm
    Dec 9, 2010 at 2:28 am
  • I have a csv file, and iam checking for a condition like : if (@columns=parse_csv($_)) { #print $columns[11]."__\n"; if($columns[11] =~ m/$field/i && $columns[12] ge "$\rating" ) { writeLog("Name: ...
    Dec 1, 2010 at 7:26 am
    Dec 2, 2010 at 2:02 pm
  • Hi all, The following perl program, for sorting files in a directory, without using any OS specific command, ordered by modified timestamp is not working. Please help. *Perl Program* #!perl.exe use ...
    Amit SaxenaAmit Saxena
    Dec 1, 2010 at 12:20 pm
    Dec 1, 2010 at 6:11 pm
  • Hi folks. I'm a Perl n00b, and I have a long ways to go yet. However, I was hoping someone looking down from the top could share some wisdom with me about the viability of Perl for 3D worlds. ...
    Dec 24, 2010 at 1:57 am
    Dec 27, 2010 at 9:20 pm
  • Hi I am trying pass a perl one-liner to at intact eg: echo 'perl -mLinux::DVB::DVBT -e 'my $dvb=Linux::DVB::DVBT- new(O_NONBLOCK,'O_RDONLY');$dvb- set_frontend('frequency' = '497167000','tsid' = ...
    Mike MartinMike Martin
    Dec 15, 2010 at 4:05 pm
    Dec 16, 2010 at 5:02 am
  • I want to nest a for loop in a for loop in a while loop, and I can't even get just the first nesting to work yet. Here is the relevant part of my scripting. open(XYZ,"$ARGV[0]ready.xyz"); #while ...
    Mark M HuntressMark M Huntress
    Dec 21, 2010 at 12:09 am
    Dec 21, 2010 at 2:30 am
  • Hi, Let say I said this kind of lines inside my file which I would like to extract the number and store them into array, how can I do that with pattern matching? Equation Set 1; Spec Set 2; Timing ...
    Dec 20, 2010 at 7:15 am
    Dec 20, 2010 at 7:26 pm
  • Hi folks. I've written a small perl script that reads from STDIN, parses the data and inserts into a database. It takes the output from syslog-ng and captures output from my firewall. I've configured ...
    Gary StainburnGary Stainburn
    Dec 15, 2010 at 11:19 am
    Dec 16, 2010 at 9:58 am
  • I'm sorting arrays by comparing corresponding entries. Take this example: @array = ([2,1],[2],[2,1],[1]); sub my_sort { for (0..@$a) { return $x if 0!=($x=$$a[$_]<= $$b[$_]) } } print ...
    Dec 15, 2010 at 3:57 am
    Dec 15, 2010 at 10:19 pm
  • I am assigning a number of elements to an array like so: my @new = `find /home/*/new -cmin 1 -type f`; That works fine. I would also like to append more lines to that array from here: find ...
    Dec 14, 2010 at 5:18 pm
    Dec 15, 2010 at 8:31 am
  • i'm trying to exclude undefined variables for that are to be put into a sql database date field, but none of this is working: sub correctdate { # make valid sql DATE field my $date = $_[ 0 ]; my ...
    Shawn wilsonShawn wilson
    Dec 13, 2010 at 1:11 am
    Dec 13, 2010 at 6:47 am
  • Is it possible to get a value from a given-when statement? Suppose I have a long comparison in which all branches affect the same variable. Here's a short example (minor variation from"perlsyn"): ...
    Peter DaumPeter Daum
    Dec 26, 2010 at 5:13 pm
    Dec 26, 2010 at 6:03 pm
  • This has been confused me: [angel@localhost tmp]$ ls [angel@localhost tmp]$ perl -le'print glob("foo.3")' foo.3 there is nothing in the tmp directory. but why glob("foo.3") returns the string? $ perl ...
    Dec 16, 2010 at 10:57 am
    Dec 16, 2010 at 5:28 pm
  • I just finished working on a solution for the exercises provided in the tutorial located here: A Beginner's Introduction to Perl 5.10 - Perl.com http://bit.ly/dHvsqC (shortened to prevent cutoff) ...
    Dec 13, 2010 at 12:52 am
    Dec 13, 2010 at 12:52 pm
  • Is there any way to reduce the amount of decimals math might be carried too short of printf? I always find printf to end up taking a fair bit of time, since I've forgotten most of what I ever knew ...
    Harry PutnamHarry Putnam
    Dec 7, 2010 at 4:07 am
    Dec 7, 2010 at 7:06 am
  • Hi there, I have the following problem: I want to read a logfile in which every line follows this rule: <value1 :<value2 :<value3 ... But the number of values differs. Sometimes a line has 2 values ...
    Dennis JakobiDennis Jakobi
    Dec 1, 2010 at 9:24 am
    Dec 1, 2010 at 10:56 am
  • Subject: Re: Writing 3D games with Perl... How's the Performance? Date: Friday 24 December 2010, 12:43:11 From: Shlomi Fish <shlomif@iglu.org.il To: beginners@perl.org CC: "U.N." ...
    Shlomi FishShlomi Fish
    Dec 26, 2010 at 1:07 pm
    Dec 28, 2010 at 10:09 am
  • Hi I have written a small script to input customer data in to a flat file, i would like some guidance on how i could write this script better , i would also like to know if i have optimally used HoH ...
    Agnello GeorgeAgnello George
    Dec 19, 2010 at 9:17 am
    Dec 19, 2010 at 10:52 pm
  • Hi, I have a file_list array containing paths to files. I want to delete duplicate elements from an array. Also i want to delete files with conflicting names ie those elements with same name but ...
    Sooraj SSooraj S
    Dec 15, 2010 at 4:27 pm
    Dec 19, 2010 at 8:30 pm
  • Hi everyone, this is my first message in this mailing list. I would love to know how to create a graphic user interface using Perl. I've read that there are a lot of resource to do this but I don't ...
    Francesco Di LorenzoFrancesco Di Lorenzo
    Dec 17, 2010 at 8:47 pm
    Dec 18, 2010 at 12:11 am
  • i decided to use another module to get my data but, i'm having a bit of an issue with xpath. the data i want looks like this: <table class="someclass" style="width:508px;" id="Any_20" <tbody <tr <td ...
    Shawn wilsonShawn wilson
    Dec 9, 2010 at 6:00 pm
    Dec 14, 2010 at 6:33 pm
  • i'm messing up somewhere along the way here... i'm trying to get data from a table in a page which should always get defined like this: <table class="schiffsdetails" style="width:508px;" id="Any_20" ...
    Shawn wilsonShawn wilson
    Dec 7, 2010 at 8:17 pm
    Dec 7, 2010 at 9:16 pm
  • Hi all, Have anybody used RTF::Tokenizer module? I'm struggling to find out how to retrieve the content of tokens. What I'm trying to do is to open a file (*.rtf) that a user uploaded on server add a ...
    Cristi OcolisanCristi Ocolisan
    Dec 3, 2010 at 1:09 pm
    Dec 3, 2010 at 4:38 pm
  • Dear Team, I have a Issue while using Filesys::SmbClientParser Below is my code : #!/usr/bin/perl use Filesys::SmbClientParser ; $smb = new Filesys::SmbClientParser(undef, (user = ...
    Anand ParthibanAnand Parthiban
    Dec 30, 2010 at 4:46 am
    Dec 31, 2010 at 3:24 am
  • Hello there, currently I try to develop a little module to call function of the StormLib library (http://www.zezula.net/en/mpq/stormlib.html). I have already created a directory structure with "h2xs ...
    Christoph FriedrichChristoph Friedrich
    Dec 21, 2010 at 10:54 pm
    Dec 22, 2010 at 9:09 am
  • Hi, I have started working with Perl since 3 days. I would like to debug an existing perl-web application and have already found a few links on how to use eclipse and EPIC. Here I am stuck though and ...
    Jan RüsselJan Rüssel
    Dec 19, 2010 at 8:46 pm
    Dec 19, 2010 at 11:22 pm
  • Hi, I’m using Perl 5.8.5 in RedHat Enterprise 4. And current Perl version is 5.12.2 Someone show me how to upgrade from perl 5.8.5 to 5.12.22 Thanks. Nguyễn Văn Dương Faculty of Information ...
    Nguyen DuongNguyen Duong
    Dec 14, 2010 at 9:52 am
    Dec 14, 2010 at 3:02 pm
  • Hi, Would you please recommend me a high performance message queue server? Currently I'm looking up at: ...
    Dec 9, 2010 at 2:38 pm
    Dec 9, 2010 at 5:35 pm
  • hi, how to get all digit from a file? the file like this: 12091025 test 11 fetches, 589 max parallel, 2.418e+06 bytes, in 60.0213 seconds 219819 mean bytes/connection 0.183268 fetches/sec, 40285.8 ...
    Dec 9, 2010 at 4:04 am
    Dec 9, 2010 at 5:54 am
  • hello , My name is ashwin and i am new to perl. I have a requirement where in i need to send messages to MQSeries.. I assume that for the same .. i need to install the MQSeries package in my existing ...
    Ashwin tsAshwin ts
    Dec 7, 2010 at 4:48 pm
    Dec 7, 2010 at 4:56 pm
  • Is there any efficiency gained using the modifier /o when used in a sub? $x = 'a string'; my $status = mysub($x); sub x { my ($string) = @_; if ($string =~ /^somepatternhere/o) { return 1; } return ...
    Dec 3, 2010 at 2:12 pm
    Dec 5, 2010 at 2:14 pm
  • Patrick DuprePatrick Dupre
    Dec 5, 2010 at 12:55 pm
    Dec 5, 2010 at 1:39 pm
  • hello, can some one please let me know about where i can find materials on perl MQSeries... Thanks in advance.. Regards Ashwin Thayyullathil Surendran #91 9884444732
    Ashwin tsAshwin ts
    Dec 1, 2010 at 8:44 am
    Dec 1, 2010 at 8:55 am
  • :: What are some of the best books for newbies to perl? I’ve been learning Perl now for a year and have already amassed quite a collection of books. Before putting money down on any of them I would ...
    Luis RocaLuis Roca
    Dec 29, 2010 at 8:19 pm
    Dec 29, 2010 at 8:19 pm
  • Beginners@Perl.Org: I'm working on some Perl code that generates Makefile code that invokes external programs. I'd like my code to check if a command is installed before writing to the Makefile (so ...
    David ChristensenDavid Christensen
    Dec 19, 2010 at 10:52 pm
    Dec 19, 2010 at 10:52 pm
Group Navigation
period‹ prev | Dec 2010 | next ›
Group Overview
groupbeginners @

94 users for December 2010

Shlomi Fish: 27 posts Shawn H Corey: 23 posts Brian Fraser: 20 posts Uri Guttman: 16 posts John W. Krahn: 14 posts Jim Gibson: 12 posts Rob Dixon: 10 posts Shawn wilson: 10 posts C.DeRykus: 8 posts Jonathan Pool: 8 posts Jeff Peng: 7 posts Parag Kalra: 7 posts Odin Liu: 6 posts Changrong Ge: 5 posts Erez Schatz: 5 posts Brandon McCaig: 4 posts Chaitanya Yanamadala: 4 posts David Christensen: 4 posts Francesco Di Lorenzo: 4 posts Meaculpa: 4 posts
show more