FAQ

Search Discussions

772 discussions - 3,399 posts

  • Please reply to the list for the benefit of others. You should check out apache.org. Chances are you have apache on your mandrake machine already, if you selected it during the install. If not, then ...
    Mark SMark S
    Jun 7, 2001 at 11:48 pm
    Jun 12, 2001 at 10:32 pm
  • 27

    New

    Hello I have been using Linux for 1 year and I am just starting Perl. I just want to say that it is great to have a new user mailing list with out fear of looking stupid in the programing world. I ...
    David FarnumDavid Farnum
    Jun 15, 2001 at 2:52 pm
    Jun 18, 2001 at 9:29 am
  • Hi: I'm trying to write a regex expression so it will extract the attribute names from a tag. For example, <P attr1=3D"hello world" attr2 attr3=3D"hi" attr4 The regex should return attr1, attr2, ...
    Adrian PangAdrian Pang
    Jun 7, 2001 at 6:03 pm
    Jun 21, 2001 at 9:33 am
  • Mathew Fair enough, though for truly oneoff stuff find |while read is still my Mathew friend... Mathew find ./ -type f -name *.bak -mtime +30 |while read f; do echo "removing Mathew [$f]"; rm -f $f; ...
    Atul_khotAtul_khot
    Jun 8, 2001 at 7:02 pm
    Jun 10, 2001 at 2:15 pm
  • my $input = <STDIN ; my $username = chop( $input ); print "$username"; Why are double quotes around $username a "bad" thing in the print statement? Byron Rendar brendar@pcc.edu (503) 533-2792(w) ...
    Byron RendarByron Rendar
    Jun 7, 2001 at 4:51 pm
    Jun 8, 2001 at 7:40 pm
  • That is one way. Another would be to use: while ( /$pattern/g ) { $count++ ) Wags ;) -----Original Message----- From: Bradford Ritchie Sent: Friday, June 22, 2001 12:48 To: beginners@perl.org ...
    Wagner-DavidWagner-David
    Jun 22, 2001 at 7:52 pm
    Jun 25, 2001 at 4:41 am
  • -----Original Message----- From: Sally Sent: 14 June 2001 13:53 To: perlcgi Subject: Telnet I've seen lots of references to telnet, but I can't find an explanation of what it actually is. Is it ...
    SallySally
    Jun 14, 2001 at 1:17 pm
    Jun 21, 2001 at 6:35 am
  • I've been working on a little script for a while but I can't seem to get this part working. What I want to do is list all of the *.jpg files in a directory (ls *.jpg) and then have an array with each ...
    Evan McNabbEvan McNabb
    Jun 7, 2001 at 4:16 pm
    Jun 8, 2001 at 8:56 am
  • One of the things I've been struck by on this list is how often the "my" declaration is used. For example, I never would have thought of foreach my $i (@data) What are the advantages to doing this? A ...
    Gross, StephanGross, Stephan
    Jun 15, 2001 at 5:11 pm
    Jun 16, 2001 at 1:41 pm
  • hello, can anybody who uses ASPAN komodo tell me how to use <STDIN with it when i use <STDIN the run is stopped there and i cannot input anything anywhere.. neeraj
    Neeraj aroraNeeraj arora
    Jun 8, 2001 at 3:14 am
    Jul 18, 2001 at 10:45 pm
  • If I define a variable as a string my $var = "a"; I can get the increment to work print ++$var; -- prints b but the decrement print --$var -- prints -1 Why? and how can I decrement it? Thanks, -Nick ...
    Nick TransierNick Transier
    Jun 27, 2001 at 2:50 pm
    Jun 28, 2001 at 8:52 am
  • Hi I'm newbee perl developer and a rookie of xml :( Is there anyone who can give me some hints or help me out with a problem I have? Here is the problem. I will recive newsarticles three times a day ...
    MorganMorgan
    Jun 19, 2001 at 12:09 pm
    Jun 21, 2001 at 2:30 pm
  • I am having trouble understanding just what the following does, and how to you use it: $hash{$_}++ i.e. are we increment the value or the key? I would appreciate any guidance here! Thanks, Dave G.
    David GildenDavid Gilden
    Jun 18, 2001 at 7:53 pm
    Jun 19, 2001 at 9:13 am
  • ok, where did i go wrong now??? ############## ##set $previous site var. ############## if ($ENV{'HTTP_REFERER'} = "") {$previous = "an unknown site"} else {$previous = "$ENV{'HTTP_REFERER'}};
    Luinrandir HernsonLuinrandir Hernson
    Jun 8, 2001 at 9:55 pm
    Jun 11, 2001 at 7:32 am
  • i understand how to open and create files, but let's say that i want to open several files and insert them all into one large file. how would i do that? thanks, nichole
    Nichole BialczykNichole Bialczyk
    Jun 1, 2001 at 7:30 pm
    Jun 1, 2001 at 11:04 pm
  • Greetings all, I am doing work on a system where custom Perl Modules have been installed in at least two non-standard places -- no, not by me ;-). Since the primary application on this system is to ...
    Dennis FoxDennis Fox
    Jun 26, 2001 at 2:44 pm
    Jun 29, 2001 at 4:47 am
  • Your gonna have to remove yourself. Didn't you get a confirmation email with the details of the what, where, why and how? Mark Bergeron Perl Junkie -----Original Message----- From: "Debo ...
    Mark BergeronMark Bergeron
    Jun 20, 2001 at 11:18 pm
    Jun 25, 2001 at 6:38 pm
  • I have this script that reads in lines from a configuration file, processes them, and then stores them in a hash. Everything is working (mostly) but I really don't like the snippet below and wanted ...
    Peter CorneliusPeter Cornelius
    Jun 6, 2001 at 12:52 am
    Jun 7, 2001 at 3:57 pm
  • Folks, Is it possible to store an array name inside another array? IE: @array1 = bunch o' file names @array2 = { bah, @array1, blah, blah } actualy that would be a pointer from @array1 - @array2 ...
    Yacketta, RonaldYacketta, Ronald
    Jun 18, 2001 at 1:39 pm
    Jun 28, 2001 at 3:59 pm
  • Hi Perl guys I have another problem: I have three variables working: $var1 $var2 #and $var3 I want to join these three variables in a new one, with some formar, something like that: $newvar will be ...
    Diego RiañoDiego Riaño
    Jun 27, 2001 at 12:58 pm
    Jun 27, 2001 at 7:12 pm
  • HI, My unix system keeps saying I have a problem when I say use strict; can you not use strict on unix? Please advice. ===== Peter Lemus UNIX/NT Networks Engineer plemus11@yahoo.com --The universe ...
    Peter LemusPeter Lemus
    Jun 18, 2001 at 8:46 pm
    Jun 26, 2001 at 4:18 pm
  • What is chomp ? tks
    Stéphane JEAN BAPTISTEStéphane JEAN BAPTISTE
    Jun 26, 2001 at 2:30 pm
    Jun 26, 2001 at 4:05 pm
  • Hello, This is probably not a true beginners question - it refers to an example that I use in class when we discuss regexps. Here is the problem: take the regexp '.n+..?.?v*.' By all that is sacred, ...
    Martin WeinlessMartin Weinless
    Jun 7, 2001 at 3:25 pm
    Jun 26, 2001 at 2:49 am
  • Howdy, I'm tearing through my O'Reilly books and the CPAN search trying to find a module or built-in function call that will let me get statistics back from the system regarding memory. I'm trying to ...
    Chris HedemarkChris Hedemark
    Jun 19, 2001 at 3:48 pm
    Jun 21, 2001 at 11:00 pm
  • I got the following code from a tutorial. When I uploaded (FTP) it as a perl file I got more errors than you could shake a stick at. When I uploaded it as an html file it sort of worked, ie it ...
    SallySally
    Jun 14, 2001 at 8:54 am
    Jun 14, 2001 at 2:44 pm
  • Well i'm about to chuck perl out the window this is the command line from my index.htm file <!-- #exec cmd="/home/thx-1138/counter-.cgi" -- I've made this so darn simple it should work. this is the ...
    Luinrandir HernsonLuinrandir Hernson
    Jun 6, 2001 at 1:40 am
    Jun 6, 2001 at 8:07 pm
  • I need to pass a number of parms to my program. Is there a "best Practice" for how to do this? Command line is not something I want to do. I did search on "Config" from search.cpan.org, but it ...
    Tim MussonTim Musson
    Jun 27, 2001 at 4:10 pm
    Jun 30, 2001 at 9:26 pm
  • I have a very simple tab delimited file containing text and numbers , just the 2 columns and I would like to sort by ascending numeric. I have checked Learning Perl and Prog Perl but cannot get it to ...
    Mark BedishMark Bedish
    Jun 26, 2001 at 11:15 am
    Jun 27, 2001 at 2:54 am
  • 14

    help!

    I have the following code. This code prints a / for each occurance of a certain number/word in a file. How would I change this to print a / for each 5 instances of a given word/number? Thanks ...
    Chris robinsonChris robinson
    Jun 5, 2001 at 12:47 pm
    Jun 5, 2001 at 7:14 pm
  • I want to create an array, and populate it with random numbers, they should be unique and sorted (I can sort at the output). I'm stuck at the unique part: generate a random number; check if the ...
    Scott TaylorScott Taylor
    Jun 19, 2001 at 4:51 pm
    Jun 23, 2001 at 9:35 pm
  • I have a perl script which generates many compilation errors which scroll off the DOS window perl is running in. How do I capture (or recover) the lines that have scrolled away? -- james crease
    James creaseJames crease
    Jun 20, 2001 at 8:49 pm
    Jun 22, 2001 at 9:53 am
  • Check up my catalog at : http://geniek.net/books/books/Programming/Perl/index-list.html It's only a catalog but I upload titles from it upon request.
    Evgeny Goldin (aka Genie)Evgeny Goldin (aka Genie)
    Jun 13, 2001 at 4:12 pm
    Jun 18, 2001 at 7:09 am
  • Once upon a time I could use MS-Dos to run my Perl scripts at the C:\Perl prompt. Then use Perl nameofscript.pl or whatever the name was. That isn't working anymore. Anyone have any idea why? What ...
    Crystal GruetzmacherCrystal Gruetzmacher
    Jun 15, 2001 at 6:22 pm
    Jun 16, 2001 at 9:21 am
  • Hello, It seems that whenever I attempt to use the 'use' command, I get an error. The error says '"use" not allowed in expression at......'. Funny thing is that I have CGI scripts that execute just ...
    Bob MangoldBob Mangold
    Jun 5, 2001 at 7:03 pm
    Jun 5, 2001 at 8:42 pm
  • My question pertains to using command line variables in Perl. I created a script that uses SQL and runs from an application, and the only parameter is optional. This script works well when the ...
    Kim GreenKim Green
    Jun 29, 2001 at 2:17 am
    Jun 29, 2001 at 10:36 pm
  • Folks, I am trying to get some stats from a oracle DB (cant use DBI, dont ask why) I need to escape out v$session, but cant seem to find the right magic :( I have tried v\$session and get the ugly so ...
    Yacketta, RonaldYacketta, Ronald
    Jun 25, 2001 at 3:45 pm
    Jun 25, 2001 at 6:40 pm
  • Hi all! The problem is this: I don't fully understand how, when or why to use the map function - The first book I got on perl only mentions map in passing and says its syntax is the same as grep, but ...
    Tom WatsonTom Watson
    Jun 12, 2001 at 4:22 pm
    Jun 16, 2001 at 10:17 am
  • I'm trying, really I am, but I can't get this thing to work (yet). Here's what I have so far. Am I missing something crucial that doesn't give an error message? #! usr/bin/perl use strict; open ...
    Crystal GruetzmacherCrystal Gruetzmacher
    Jun 15, 2001 at 8:24 pm
    Jun 15, 2001 at 8:53 pm
  • i have a basic knowledge of regex but i want to know if there is a simpler way to pull patterns out of a line. if i have a line like: here is a sample with 123.456.123.456 in the middle. ...
    Brian T WallaceBrian T Wallace
    Jun 14, 2001 at 3:12 pm
    Jun 14, 2001 at 9:09 pm
  • Hi list. I am trying to learn PERL and decipher some code somone else wrote. I have the code snip -- $ENV{'QUERY_STRING'} -- I have not found this in the archives, so I am hoping someone will answer ...
    Bradshaw, BrianBradshaw, Brian
    Jun 7, 2001 at 2:56 pm
    Jun 8, 2001 at 7:30 pm
  • the bossman has requested the following: he wants my logfiles written to our server in the /tmp directory. my scripts are in the cgi-bin of our afs account. even though the files are set with 777 ...
    Nichole BialczykNichole Bialczyk
    Jun 4, 2001 at 9:33 pm
    Jun 5, 2001 at 3:31 am
  • im a newbie to PERL.. right now, im learning it but i dont have any exercises to work on. i need them because its how i learn.. can please someone tell me what is a nice thing to do when you are ...
    JM C. AlonzoJM C. Alonzo
    Jun 24, 2001 at 8:00 am
    Jun 25, 2001 at 7:31 pm
  • Hi I got the message: global symbol $user requires explicit pakage name at logout.pl line 10. please give a tip to solve this problem. ===== Peter Lemus UNIX/NT Networks Engineer plemus11@yahoo.com ...
    Peter LemusPeter Lemus
    Jun 20, 2001 at 11:22 pm
    Jun 21, 2001 at 10:03 pm
  • The book for learning Perl is de facto Learning Perl by Randal L. Schwartz and Tom Christiansen, follow by Programming Perl, both from O'REilly If you want learn CGI with Perl, I recommend CGI ...
    Fco. Javier Valladolid Hdez.Fco. Javier Valladolid Hdez.
    Jun 3, 2001 at 8:01 pm
    Jun 4, 2001 at 7:52 pm
  • Hi All, I just wonder why the if condition is always true regardless of the value of the array AB. @AB = [1,2], and $i gets printed even for values not inlcuded in array AB. foreach $i ( 0 .. $#{ ...
    F.HF.H
    Jun 28, 2001 at 3:42 pm
    Jun 29, 2001 at 1:25 pm
  • I too have questions on the same topic - Net::Telnet. I tried the following code: (I have deleted the hostname, username and passwd), and get the error: read timed-out at ./teltry.cgi line 13 ...
    Prabhu, Vrunda P (UMC-Student)Prabhu, Vrunda P (UMC-Student)
    Jun 22, 2001 at 3:07 pm
    Jun 29, 2001 at 9:22 am
  • How can I delete a file ? thanks
    Stéphane JEAN BAPTISTEStéphane JEAN BAPTISTE
    Jun 21, 2001 at 1:59 pm
    Jun 21, 2001 at 3:11 pm
  • Hi, I've just noticed that open() used for IPC isn't dying when forking an illegal (non-existing) process : my $command = "aaaaaaaaaaaaaaaaa 2 &1 |"; ( my $pid = open ( FOUT, $command )) or die ...
    Evgeny Goldin (aka Genie)Evgeny Goldin (aka Genie)
    Jun 19, 2001 at 1:04 pm
    Jun 19, 2001 at 4:53 pm
  • I have an existing file, called mockalias that contains entries in the following format: username : e-mail address I want to use a hash %ALIAS to read the mockalias file into the hash, and then be ...
    Prabhu, Vrunda P (UMC-Student)Prabhu, Vrunda P (UMC-Student)
    Jun 18, 2001 at 6:15 pm
    Jun 19, 2001 at 2:24 pm
  • Hello all, I have a script that opens a socket to a device, issues some commands, then writes the results to a datafile. That all works fine. I decided that I wanted to time stamp each of the entries ...
    Craig S MonroeCraig S Monroe
    Jun 13, 2001 at 2:49 pm
    Jun 14, 2001 at 2:18 pm
Group Navigation
period‹ prev | Jun 2001 | next ›
Group Overview
groupbeginners @
categoriesperl
discussions772
posts3,399
users581
websiteperl.org

581 users for June 2001

ISO-8859-1: 145 posts Paul: 134 posts Me: 133 posts Brett W. McCoy: 119 posts Jeff Pinyan: 114 posts Michael Fowler: 105 posts Jos I. Boumans: 96 posts Peter Scott: 92 posts Randal L. Schwartz: 88 posts Tim Musson (palm): 49 posts Aaron Craig: 41 posts Hasanuddin Tamir: 38 posts Kevin Meltzer: 33 posts Brett W. McCoy: 32 posts John Edwards: 32 posts Goldin Evgeny (aka Genie): 31 posts Peter Cornelius: 30 posts Yacketta, Ronald: 29 posts Paul Johnson: 28 posts Timothy Kimball: 28 posts
show more
Archives