FAQ

Search Discussions

221 discussions - 873 posts

  • Hello List, To explain the problem I am having, I wrote a simple snipet that doesn't do anything meaningful other than illustrating the behaviour I want to avoid: my %hoh = ( 1 = { a = 5, b = 5 }, 2 ...
    Peter RabbitsonPeter Rabbitson
    Dec 30, 2004 at 3:58 am
    Jan 5, 2005 at 4:11 pm
  • I'm working on a program with some 433 lines of perl code. Some where in the course of editing today I've run up on an error that I need some way to debug. the code includes use diagnostics; And the ...
    Harry PutnamHarry Putnam
    Dec 12, 2004 at 7:53 pm
    Dec 15, 2004 at 3:03 pm
  • I can usually figure out regexes, and this one seems simple, but it still eludes me-- I'm looking for a regex (or a couple of regexes) to do the following: blahblah{ab,abcd}blah -- ...
    Bryan R HarrisBryan R Harris
    Dec 6, 2004 at 8:19 pm
    Dec 8, 2004 at 10:35 pm
  • I would like to hear the views of some of the other regular answerers. It would help me make up my mind. -- Gunnar Hjalmarsson Email: http://www.gunnar.cc/cgi-bin/contact.pl
    Gunnar HjalmarssonGunnar Hjalmarsson
    Dec 1, 2004 at 9:43 pm
    Dec 3, 2004 at 6:27 am
  • Hi, guys, I am looking for a free perl compiler. I tried PDK-Pro-6.0 from ActiveState. It works pretty well. But it's not free. Where can I get a free perl compiler, as powerful as PDK-Pro-6.0 from ...
    Xun YuXun Yu
    Dec 8, 2004 at 2:54 am
    Dec 8, 2004 at 9:55 pm
  • Hello Everyone. Whil e reading the Python Cookbook as a means of learning Python, I came across the script by Nicola Larosa. Not knowing anything about PERL, I was wondering if there were a ...
    GMane PythonGMane Python
    Dec 27, 2004 at 8:12 pm
    Dec 29, 2004 at 7:42 pm
  • Hello Is there any special function for that job?
    JohnJohn
    Dec 1, 2004 at 12:15 pm
    Dec 2, 2004 at 3:57 pm
  • Hi, I'm writing a paper comparing the use of Perl, Python and Java. My Perl is pretty bad (as is my Python), so I thought I would check to see if there is a more efficient way of doing it. Here is ...
    Richard Monson-HaefelRichard Monson-Haefel
    Dec 21, 2004 at 10:29 pm
    Mar 30, 2005 at 6:01 pm
  • I'm writing a Perl script where I ask the user a question similar to: Would you like to remove this file? Type y or n. How do I get Perl to receive the answer and act on it? I've been looking in some ...
    Christopher SpearsChristopher Spears
    Dec 14, 2004 at 11:35 pm
    Dec 15, 2004 at 11:01 pm
  • And what programming language were you learning? C requires all variable declarations to come first, for the benefit of the compiler. [This requirement may not apply to the latest C specification] In ...
    Jonathan PatonJonathan Paton
    Dec 17, 2004 at 3:44 pm
    Dec 17, 2004 at 6:52 pm
  • Duplication alert: I hope this isn't a duplicate but I think something strange happened to my first try === Something I've wanted a few times was a way to write to two places at once or really I mean ...
    Harry PutnamHarry Putnam
    Dec 12, 2004 at 8:05 pm
    Dec 13, 2004 at 6:42 am
  • Hello folks, I'm wondering if any of you could help me with a code problem? I'm relatively new to Perl, coming to it from AppleScript, and I've written a Perl script that parses my server access_log ...
    James marksJames marks
    Dec 11, 2004 at 11:58 pm
    Dec 12, 2004 at 5:31 pm
  • I tried everything I could think of to get this to work before pleading for help! I need to check if a file is either a TIFF or JPEG graphics file. (Case-insensitive variations of qualifying suffixes ...
    Jeffrey Paul BurgerJeffrey Paul Burger
    Dec 7, 2004 at 12:05 am
    Dec 7, 2004 at 9:53 am
  • Hello, I have one question - I know how to do this, but maybe someone shows me, how to do it better (for sure!). Ok, here we comes: I have: my @array = ( '1/2/1', '1/2/2', '1/4/2', '2/1/1', '2/1/1', ...
    Ing. Branislav GerzoIng. Branislav Gerzo
    Dec 8, 2004 at 12:04 pm
    Dec 10, 2004 at 11:32 pm
  • 8

    CGI

    Hi all would any know of a link, or doc etc as to how I can get perl to work with apache (CGI) This is section of my apache conf file: =================================== <VirtualHost xyz ...
    Brent ClarkBrent Clark
    Dec 6, 2004 at 4:00 pm
    Dec 6, 2004 at 8:08 pm
  • Greetings, It's fairly well known that one should use "open" with an "or die". Is there really any condition where "close" fails, making the "or die" necessary? felix
    Felix LiFelix Li
    Dec 5, 2004 at 3:58 am
    Dec 6, 2004 at 1:32 pm
  • Howdy folks, Here's something I was wondering (and wondering why its never come up sooner for me ;p) if I make a module, say Foobar.pm how do you make it so if a function returns false you can die ...
    JupiterHost.NetJupiterHost.Net
    Dec 2, 2004 at 11:59 pm
    Dec 3, 2004 at 2:59 am
  • Hey All ! I know this is not the place to ask cgi doubts but since cgi is just a small part of my work, I had subscribed to only this list. Anyways, I am writing a perl-cgi script which will accept a ...
    Manas KulkarniManas Kulkarni
    Dec 1, 2004 at 9:24 pm
    Dec 2, 2004 at 9:00 pm
  • Hi all. I would like to write a simple monitoring tool that basically performs an action on a list of servers (ping, port check, etc) at a specified time interval. So let's say I want to ping each ...
    Brian BartoBrian Barto
    Dec 17, 2004 at 8:25 pm
    Dec 17, 2004 at 10:06 pm
  • Hi, i am new to perl and to this mailing list. My name is Hameed and I am 20 years old. I am doing BCS from Biztek (http://biztek.edu.pk). i have joined this mailing list because i am learning perl. ...
    Hameed U. KhanHameed U. Khan
    Dec 5, 2004 at 5:45 am
    Dec 6, 2004 at 3:00 pm
  • Hi All, I have a file with thousands of line like : /abc/def/ijk/test.txt /pqr/lmn/test1.t I want to get the directory where the files test.txt and test1.txt are lying. I tried split but was not able ...
    Nilay Puri, NoidaNilay Puri, Noida
    Dec 2, 2004 at 8:56 am
    Dec 5, 2004 at 1:33 pm
  • HI! I need to do something to automatize one process. When a file in directory reach 1 GB I need transfer file for other machine (ftp). I'm waiting for solutions. Thanks.
    Perl_covaPerl_cova
    Dec 3, 2004 at 7:35 pm
    Dec 3, 2004 at 9:27 pm
  • I am dealing with a problem that I have compressed down to the following code: foreach my $number (0 .. 6129){ $msgs .= "$number,"; } unless($msgs =~ /^(\d+,?)+$/){ die "syntax error"; } What's ...
    Jeremy KisterJeremy Kister
    Dec 2, 2004 at 9:48 pm
    Dec 3, 2004 at 1:24 am
  • Is there any good function to convert an array (this is the content of a file) to scalar (for email sending as the body)
    JohnJohn
    Dec 23, 2004 at 12:26 pm
    Dec 23, 2004 at 2:42 pm
  • copied the /usr/bin/perl to the /chroot/usr/bin/perl and the /usr/lib/perl5 to the /chroot/usr/lib/perl5 now when i try to run a perl script for example #!/usr/bin/perl use MIME::Lite; $msg = ...
    JohnJohn
    Dec 18, 2004 at 4:24 pm
    Dec 20, 2004 at 3:50 pm
  • I've been running RH 8 on my server for some time and regularly ran a fairly complex perl script that parsed an XML file and contained the following line:- last if /^\t{0,2}<$tag $/; which would exit ...
    Ken GillettKen Gillett
    Dec 13, 2004 at 8:33 am
    Dec 14, 2004 at 9:49 am
  • I've read a directory into an array called @file_list and need to remove any files that start with period from the list (".", "..", ".DS_Store", etc.). This is what I've got so far, but it's only ...
    Jeffrey Paul BurgerJeffrey Paul Burger
    Dec 7, 2004 at 6:08 pm
    Dec 8, 2004 at 1:01 am
  • I want to write an app that starts up when squid starts that will monitor access.log. everytime a line is written out to the log file the script will parse the line and then do some "stuff to it" I ...
    Paul KrausPaul Kraus
    Dec 7, 2004 at 2:23 pm
    Dec 7, 2004 at 9:58 pm
  • Is there a Perl equivalent of Java String.toArray method? I need to get an Alpha-Numeric string (16 plus consecutive characters) into an array or hash of characters to allow manipulation of the ...
    Frank WestfieldFrank Westfield
    Dec 6, 2004 at 11:26 pm
    Dec 7, 2004 at 7:18 am
  • I'm writing perl cgi and I like to buffer my output in an array of strings. I just decided it would be very useful to be able to have nested arrays. Below is a little function that does what a want. ...
    Siegfried HeintzeSiegfried Heintze
    Dec 28, 2004 at 1:36 am
    Dec 31, 2004 at 9:55 pm
  • Hi all, I am currently using the MIME::Lite module to send Emails, However my boss wants me to line the tables up better and generally pretty it up A bit (bold) etc. I can't use HTML as our company ...
    Hawkes, Mick IHawkes, Mick I
    Dec 21, 2004 at 4:22 am
    Dec 22, 2004 at 3:51 am
  • Hi all, I have tried to install Gd using the following: perl -MCPAN -e "install Gd;" Perl downloaded the package, and tried to install it, but it ended telling "Cannot install Gd. Don't know what it ...
    Octavian RasnitaOctavian Rasnita
    Dec 20, 2004 at 2:21 pm
    Dec 21, 2004 at 8:56 am
  • Hello, i have intensively searched the web for a solution on the following problem, but could not find any indication for it. The following code does basicelly nothing else then reading in a file on ...
    Tim23456Tim23456
    Dec 16, 2004 at 6:18 pm
    Dec 17, 2004 at 11:18 pm
  • Hey all, Need some pointers to perl projects that use all the major functionalities of perl. Please pass your ideas as soon as you can. I've been working on perl in theory and tried some small ...
    Harbhajan JulkaHarbhajan Julka
    Dec 15, 2004 at 7:10 am
    Dec 15, 2004 at 6:38 pm
  • Not a beginner's question, but I don't know what other mailing list to use. Please direct me accordingly. I have a Perl program that defines numerous functions by eval'ing a string (read from an ...
    Kirk BauerKirk Bauer
    Dec 9, 2004 at 2:16 pm
    Dec 9, 2004 at 4:50 pm
  • Does anyone know if I should be able to write a cookie like : <snip $secure{USER}=$user- {USER_ID}; $secure{LEVEL}=$REQUEST{LEVEL}; %{$secure{USER_CATEGORIES}}=%USER_CATEGORIES; ...
    Moon, JohnMoon, John
    Dec 8, 2004 at 7:34 pm
    Dec 8, 2004 at 9:27 pm
  • Hi folks, Running $ perl wget_window.pl Can't locate Tk.pm in @INC (@INC contains: /usr/lib/perl5/5.8.3/i386-linux-thread-multi /usr/lib/perl5/5.8.3 ...
    Stephen LiuStephen Liu
    Dec 4, 2004 at 10:21 am
    Dec 5, 2004 at 11:52 am
  • hi experts I want to delete a line in a file depending on the content of line, if my file is like this aaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbb ccccccc ddddddddd eeeeeee eeeeee perl ffffffff gggggggg ...
    Chandu B SChandu B S
    Dec 2, 2004 at 4:15 pm
    Dec 3, 2004 at 2:41 am
  • G'day... Ahh... But how do you set $! in the enclosing scope? Thanks... Regards, Michael S. E. Kraus Software Developer Wild Technology Pty Ltd ABN 98 091 470 692 Level 4 Tiara, 306/9 Crystal Street, ...
    Michael KrausMichael Kraus
    Dec 3, 2004 at 12:45 am
    Dec 3, 2004 at 1:16 am
  • perldoc Test::Tutorial http://www.perldoc.com/perl5.8.4/lib/Test/Tutorial.html http://danconia.org
    Wiggins d AnconiaWiggins d Anconia
    Dec 2, 2004 at 3:23 pm
    Dec 2, 2004 at 6:28 pm
  • Does anyone know somebody or some company that does Perl source code auditing? I have written a Perl Server application that is leaking memory and cannot find the leak. Thanks, Josh Berry | CISSP ...
    Joshua BerryJoshua Berry
    Dec 1, 2004 at 9:56 pm
    Dec 1, 2004 at 10:22 pm
  • Hi, this is just a test. I've been having a lot of problems posting to this list, as I keep getting the following message (even though I'm sending a text message): <perlmail-beginners@onion.perl.org ...
    Sandy SantraSandy Santra
    Dec 31, 2004 at 4:45 pm
    Dec 31, 2004 at 9:59 pm
  • Hello list, I am working with UNIX Sockets and have some questions that I cant seem to find answers to on the web. 1: Are UNIX sockets bi-directional? 2: If so, what is the proper way to 'setup' the ...
    Dave KettmannDave Kettmann
    Dec 30, 2004 at 10:24 pm
    Dec 31, 2004 at 3:57 pm
  • Hello, Been trying to figure out how to encrypt a password w/Perl so it's uses the same scheme used in a webmin control panel for password protecting directories. It says it's the MD5 method, but I ...
    Mike BlezienMike Blezien
    Dec 28, 2004 at 2:13 pm
    Dec 30, 2004 at 10:47 am
  • Maybe this is a little OT but since I am a beginner @ perl, I thought that I would post it! So, I am trying to move data from one sql table to another table called logs_archive. It seems that I am ...
    Chris LyonChris Lyon
    Dec 28, 2004 at 6:08 pm
    Dec 28, 2004 at 11:28 pm
  • Long time lurker, first time poster...please be gentle. I am attempting to move through a directory, pull out only files of a .fin extension (which is Word document format), save each one as .rtf ...
    CutterCutter
    Dec 22, 2004 at 5:56 pm
    Dec 23, 2004 at 5:15 am
  • Using the example code below, I find that I can use getopt handily to pass all sorts of variables to my script, as long as a value passed is not a 0 (zero) How to I use getopt::long and be able to ...
    Mike DonnellyMike Donnelly
    Dec 21, 2004 at 3:21 pm
    Dec 21, 2004 at 10:41 pm
  • Hello there! I have some dataset got by the executing of some query. For example: my $sth = $dbh- prepare('select * from sometable'); $sth- execute(); Going through this dataset by $sth- ...
    Nicolay VasilievNicolay Vasiliev
    Dec 16, 2004 at 3:14 pm
    Dec 17, 2004 at 3:13 am
  • Hi everybody - is there a way to make a perl program find out whether a valid X-Server is running? I.e. $ENV{DISPLAY} is not a dummy address, if set. Thanks, Matthias
    Matthias KraatzMatthias Kraatz
    Dec 16, 2004 at 4:32 am
    Dec 16, 2004 at 3:20 pm
  • Hi all, Does anyone know if MySQL uses flock when it modifies the data from a database.... for locking the files in which are kept the modified tables? I want to make a perl program which gets the ...
    Octavian RasnitaOctavian Rasnita
    Dec 14, 2004 at 1:32 pm
    Dec 15, 2004 at 4:00 pm
Group Navigation
period‹ prev | Dec 2004 | next ›
Group Overview
groupbeginners @
categoriesperl
discussions221
posts873
users186
websiteperl.org

186 users for December 2004

Jonathan Paton: 53 posts JupiterHost.Net: 53 posts Lawrence Statton: 41 posts Chris Devers: 36 posts John W. Krahn: 34 posts Ing. Branislav Gerzo: 28 posts Bob Showalter: 26 posts Octavian Rasnita: 19 posts Harry Putnam: 15 posts Siegfried Heintze: 15 posts Jenda Krynicky: 14 posts Charles K. Clarkson: 13 posts Dave Gray: 13 posts John: 12 posts Edward WIJAYA: 11 posts Randy W. Sims: 11 posts Casey West: 10 posts Michael Kraus: 10 posts Moon, John: 10 posts Paul Johnson: 10 posts
show more
Archives