FAQ

Search Discussions

337 discussions - 1,351 posts

  • Can someone tell me how to go about running a cron job with perl? Here's what I have thus far: 1) I have a cron job: 04 09 * * 1-7 /cygdrive/c/Documents\ and\ ...
    Trina EspinozaTrina Espinoza
    Aug 16, 2003 at 4:16 pm
    Aug 29, 2003 at 10:11 pm
  • hi i wonder how i can list all the methods availible from a given object? martin
    Martin A. HansenMartin A. Hansen
    Aug 5, 2003 at 10:21 am
    Aug 7, 2003 at 8:36 pm
  • Howdy, I read in an earlier email that some people put in front of variables/function/etc to show that they are "important and should be handled by the program only" and it said that some "modules ...
    Dan MueyDan Muey
    Aug 13, 2003 at 6:38 pm
    Aug 15, 2003 at 4:51 pm
  • Just a quick tip, which the docs mention that 'exists' and 'defined' will let you know if a particular element of a hash exists, or is defined, they work on arrays just as well. (I didn't know that, ...
    Paul ArcherPaul Archer
    Aug 26, 2003 at 8:30 pm
    Sep 5, 2003 at 6:17 am
  • hi, The statement ($a,$b) = ($b ,$a); is swapping without a third variable. But looking at a lower level , it is storing a temporary variable in the registers. How can i get that temporary ...
    Ryan10975073Ryan10975073
    Aug 23, 2003 at 5:08 pm
    Sep 4, 2003 at 4:25 am
  • Hello, I am a relatively new PERL beginner and have been trying to work with simple bioinformatics stuff. I have so far written some very useful but simple bioinformatics scripts. However.... ...
    Mike RobesonMike Robeson
    Aug 24, 2003 at 7:26 pm
    Aug 31, 2003 at 4:10 pm
  • Does anyone know of a pronunciation guide for the special variables and such in Perl? I came up empty on Google. I've been learning Perl by reading and doing, but I haven't talked to anyone ...
    Paul ArcherPaul Archer
    Aug 25, 2003 at 12:07 pm
    Aug 26, 2003 at 3:58 pm
  • Still having problem with unlink. My original problem began with deleting files from a list. I seem to have fixed the problem reading the list but the unlink does not work. Here is the test script ...
    PerlwannabePerlwannabe
    Aug 9, 2003 at 12:01 am
    Aug 12, 2003 at 4:43 am
  • I am writing a script that relies on retrieving the $ENV{REMOTE_ADDR} from the user's browser. I'm depending on this for database information retrieval rather than cookies or some type of ...
    Ron GoralRon Goral
    Aug 12, 2003 at 6:58 pm
    Aug 13, 2003 at 6:26 pm
  • I know that the number returned by the length function is the number of characters. With ascii text is that the bits or bytes also? If not is there a function similar to length() that tells you the ...
    Dan MueyDan Muey
    Aug 26, 2003 at 3:56 pm
    Aug 29, 2003 at 4:11 am
  • I have a perl script that I developped in a windows machine and it had to be transfered by ftp to a UNIX server. The codes worked fine when I tested them on my windows machine. Is it true that the ...
    MmbodjiMmbodji
    Aug 25, 2003 at 8:42 pm
    Aug 28, 2003 at 2:23 pm
  • I was just reading the File::Copy module. Now on a pure Win32 environment will this work copy("\\machine1\share\file1","\\machine2\share\file2"); Or should I do something else???????
    Saadat SaeedSaadat Saeed
    Aug 19, 2003 at 3:20 pm
    Aug 21, 2003 at 9:33 pm
  • Any one have or know of a function to convert ugly "NAME, USER" to "User Name"? TIA Scott.
    Scott TaylorScott Taylor
    Aug 15, 2003 at 9:18 pm
    Aug 18, 2003 at 2:52 pm
  • Howdy: I'm looking for information that will let me open an ftp connection and grep / search for files and then FTP them back to me. I saw something about FTP and macros, but the other articles about ...
    Johnson, ShaunnJohnson, Shaunn
    Aug 28, 2003 at 2:35 pm
    Sep 12, 2003 at 6:52 am
  • Hi, I have no idea how to do this. I have a name Anthony Bob I want to put each letter in an array (no space) for(0..$numbersofletters){ @letters[c]= A LETTER } so when i do print @letters i get A N ...
    AwardsAwards
    Aug 18, 2003 at 3:29 pm
    Aug 29, 2003 at 8:13 pm
  • I want to make the case of the first letter of all the words in a selected string to upper case. The code s/\b(\w+)/\u$1\E/g; enables me to do this for the whole document. But the string I want to ...
    BisBis
    Aug 22, 2003 at 1:17 pm
    Aug 26, 2003 at 4:28 pm
  • Hi everyone I am pretty new to regex's, so I was happy when my text wrapping expression worked - for the most part. It messes up when I need to wrap lines with \n that don't end in a space. If there ...
    WebmasterWebmaster
    Aug 13, 2003 at 4:34 pm
    Aug 15, 2003 at 2:51 am
  • Is mod_perl a replacement for CGI? If just getting involved with perl and the web (Not new to perl) what is the better option mod_perl or cgi? This is on an apache server. I choose mason thinking it ...
    Paul KrausPaul Kraus
    Aug 29, 2003 at 5:44 pm
    Sep 17, 2003 at 12:51 pm
  • Dear Gentle Readers, Please be gentle with me as this is only my first day trying to learn perl. I am using an online tutorial, however it must be written for *nix and I am trying to use it on win32. ...
    Robert Mark WhiteRobert Mark White
    Aug 16, 2003 at 5:44 am
    Aug 17, 2003 at 5:58 pm
  • Anybody know what version of Perl our was introduced? I'm using our in a module and want like to use 5.6.0; or whatever version in that module so that I can make sure the our's aren't a problem. ...
    Dan MueyDan Muey
    Aug 12, 2003 at 8:00 pm
    Aug 14, 2003 at 4:12 pm
  • Hi, I have a problem maybe it is normal. My problem is with using lib now to retrieve my module i do this use lib "/path/to/Module"; it works just fine but created a configuration file. with $dir = ...
    AwarsdAwarsd
    Aug 2, 2003 at 2:01 pm
    Aug 2, 2003 at 8:26 pm
  • Hello everyone, Having been a Perl programmer for several years now I have become accustom to using the following as my normal "start" of any Perl script: #!/usr/bin/perl use warnings; use strict; ...
    K OldK Old
    Aug 28, 2003 at 8:15 pm
    Sep 1, 2003 at 2:55 pm
  • Hi, I have the following 12/08/2003, 11:00 13/08/2003, 23:00 Now I would like to compare them and then calculate the how long time was elapsed in terms of hours. For the example above it will return ...
    AwardsAwards
    Aug 11, 2003 at 6:23 pm
    Aug 27, 2003 at 6:06 pm
  • Here's a sure sign of someone with too much time on his hands: I was curious how to implement an algorithm in perl to sort the candidates in California's recall ballot. According to the news, here's ...
    KEVIN ZEMBOWERKEVIN ZEMBOWER
    Aug 14, 2003 at 1:16 pm
    Aug 15, 2003 at 2:07 pm
  • Hi All, I am really tired now: -------------------------------------- package Foo; use strict; use LWP::UserAgent; sub new { return bless {},shift; } sub Foo::INC { my ($self,$filename) = @_; my ...
    Gupta, SharadGupta, Sharad
    Aug 9, 2003 at 5:49 am
    Aug 11, 2003 at 12:05 am
  • Hi, How do I divide a variable in an array ? Lets say element one need to be divided by 1000? $line[1] = $line[1]/1000; Thanks, Henrik
    Sommer, HenrikSommer, Henrik
    Aug 5, 2003 at 3:13 pm
    Aug 9, 2003 at 4:00 am
  • Lo all, I want to create large number of documents (mainly invoices) using perl. In a couple of months, I should be creating a few hundred documents per month with a few million records in total for ...
    Chris KnipeChris Knipe
    Aug 9, 2003 at 9:05 pm
    Sep 2, 2003 at 9:09 am
  • Hello all, Just wanted to look into a "for fun" project, after a recent project that wasn't much fun at all... Our organization got hit by the blaster worm, which hit many, many windows boxes. The ...
    Akens, AnthonyAkens, Anthony
    Aug 27, 2003 at 8:19 pm
    Aug 29, 2003 at 3:52 pm
  • Home PC using XP Prof. SP1 with Oracle 9.2 DB installed. PERL5.005.03.exe installed. I am new to the world of PERL. I have searched my PC and DBI.pm has not been installed on my PC. I understand that ...
    KENNETH JANUSZKENNETH JANUSZ
    Aug 8, 2003 at 3:46 pm
    Aug 29, 2003 at 3:42 pm
  • Hello all, I have a database with JPEGs stored in a blob field and I want to display them on an HTML web page with out creating a new file.jpg for each connection. I'm currently hunting on Google, ...
    Scott TaylorScott Taylor
    Aug 27, 2003 at 6:32 pm
    Aug 27, 2003 at 10:16 pm
  • Luckily I was easily able to recreate the problem. See code below: print 37.75 - 33.67 - 4.08 ; <STDIN ; I find these things all the time. Is there a particular module I can use to fix these things? ...
    Peter_farrarPeter_farrar
    Aug 21, 2003 at 7:10 pm
    Aug 22, 2003 at 7:39 pm
  • How can i generate such a file?
    Sc00170Sc00170
    Aug 20, 2003 at 2:08 pm
    Aug 21, 2003 at 3:40 am
  • Hi, all -- If I have a string like my $string = "Hello, #NAME_FIRST# #NAME_LAST# from #STATE#!" ; and I want to replace those chunks each with another string, what is a good way to approach that? I'd ...
    David T-GDavid T-G
    Aug 17, 2003 at 12:26 pm
    Aug 17, 2003 at 8:59 pm
  • I've posted the ebook Beginning Perl for downloading at: <A HREF="http://websiteprogrammin.com/wsp/docs/Beginning_Perl.zip" http://websiteprogrammin.com/wsp/docs/Beginning_Perl.zip</A
    MotherofperlsMotherofperls
    Aug 13, 2003 at 8:15 pm
    Aug 14, 2003 at 12:11 pm
  • Does a forked process share the memory locations of the global variables from the parent process? Thanks in advance!
    Ahmed MoustafaAhmed Moustafa
    Aug 9, 2003 at 8:05 pm
    Aug 11, 2003 at 2:12 pm
  • Hi, I have a path which may look like: UNIX: --------- PATH=/usr/local/share:/usr/local:... Where each path is seperated by ":". Windows: ------------------ PATH=E:\foo:D:\bar Again the path ...
    Gupta, SharadGupta, Sharad
    Aug 2, 2003 at 10:02 pm
    Aug 4, 2003 at 9:20 pm
  • Hi, Newbie here. I am writing a program that takes a file that has two columns of words, extracts the second column, then saves the original file with only the data in the first column. Question #1 - ...
    Absolut NewbieAbsolut Newbie
    Aug 20, 2003 at 1:12 pm
    Aug 31, 2003 at 6:56 pm
  • Hi all : I am running a process "n" number of times with a for loop. I am interested in looking for the status at specific intervals(say at every 10 iterations). I wrote the below shown code for this ...
    T.S.Ravi ShankarT.S.Ravi Shankar
    Aug 27, 2003 at 5:41 am
    Aug 28, 2003 at 9:30 pm
  • Howdy: I have a script where I want to * connect to database * create a subroutine where it executes and returns the value of the SQL * pass that value to another area to check and IF statement * ...
    Johnson, ShaunnJohnson, Shaunn
    Aug 27, 2003 at 2:52 pm
    Aug 27, 2003 at 10:05 pm
  • Howdy all: I'm trying to figure out the best way to test a string agains a list of regexs like so: my @regex = qw(qr(joe$) qr(^mama) qr([abc])); if($string does not match any of the regexs in @regex) ...
    Dan MueyDan Muey
    Aug 19, 2003 at 11:06 pm
    Aug 25, 2003 at 4:05 pm
  • I have a program that would read a directory and then do some renaming. Up until recently it always seem to read by oldest file first to newest. Which is great because my renaming involves ...
    Paul KrausPaul Kraus
    Aug 22, 2003 at 6:31 pm
    Aug 23, 2003 at 11:23 am
  • Hi, all -- I've gotten rusty and so I'm back again as a rank amateur :-) I have a script that will make a database connection, pull out some rows, repeatedly generate personalized message bodies, and ...
    David T-GDavid T-G
    Aug 17, 2003 at 11:15 am
    Aug 17, 2003 at 7:28 pm
  • Can someone explain the interaction of POSIX ERRNO and PERL scripts? When does ERRNO get set and is it set with each PERL call? I cant seem to track when '$!' is set. Sometimes it will be set to 0, ...
    Allison, Jason (JALLISON)Allison, Jason (JALLISON)
    Aug 7, 2003 at 5:43 pm
    Aug 12, 2003 at 1:53 pm
  • Hi, I found a strange problem. like the subject says i'm using Net::SMTP I don't have any error in my code. But when I'm using a server i.e mail.xxx.com Only domain @xxx.com will receive an e-mail. ...
    AwardsAwards
    Aug 9, 2003 at 10:16 pm
    Aug 10, 2003 at 5:17 pm
  • HI, I am trying to use regex to extract the city,state and zip out of a file. Now, the problem is the city can have more then one word to it like San Antonio San Francisco etc, I have also, bumped ...
    Trevor MorrisonTrevor Morrison
    Aug 8, 2003 at 12:06 am
    Aug 9, 2003 at 1:58 pm
  • Hi, I am novice to Perl and learning very basic things. I want to replace a text in a file with new text. I want to do it programatically. How can I do that? I do not want to use Perl command line ...
    Vinay ThombreVinay Thombre
    Aug 5, 2003 at 10:00 am
    Aug 8, 2003 at 4:57 pm
  • Hi, I am trying to step through each line of a file that contains orders that were place through a internet shopping cart. I have this code: open(ORDER,$order) or die "Error opening \"$order\": ...
    Trevor MorrisonTrevor Morrison
    Aug 5, 2003 at 5:42 pm
    Aug 6, 2003 at 11:52 pm
  • Hi, I am trying to get the maximum number in a file looking like: 1 5001 2 5002 3 5003 4 5004 5 5005 6 5006 7 5007 8 5008 9 5009 10 5010 11 5011 12 5012 13 5013 14 5014 15 5015 16 5016 17 5017 18 ...
    Jakob KofoedJakob Kofoed
    Aug 5, 2003 at 10:52 pm
    Aug 6, 2003 at 5:04 pm
  • can anyone help me on how to do paging of records i want a few records per page, im using oracle 8i.!!! and cgi. david
    Coello, DavidCoello, David
    Aug 6, 2003 at 12:40 pm
    Aug 6, 2003 at 2:06 pm
  • Hi I am trying a way to get input from user in GUI mode.. Like Inputbox in Visual Basic.....How do i go about? with regards D.P.S
    PANNEER SELVANPANNEER SELVAN
    Aug 5, 2003 at 11:57 am
    Aug 6, 2003 at 12:11 pm
Group Navigation
period‹ prev | Aug 2003 | next ›
Group Overview
groupbeginners @
categoriesperl
discussions337
posts1,351
users261
websiteperl.org

261 users for August 2003

Dan Muey: 111 posts Rob Dixon: 47 posts Jeff 'japhy' Pinyan: 46 posts Bob Showalter: 42 posts John W. Krahn: 41 posts Wiggins d'Anconia: 41 posts Zsdc: 35 posts Awarsd: 32 posts Jenda Krynicky: 31 posts James Edward Gray II: 27 posts Pablo Fischer: 23 posts Paul Kraus: 23 posts Ramprasad A Padmanabhan: 23 posts Hanson, Rob: 22 posts Gupta, Sharad: 20 posts NYIMI Jose (BMB): 20 posts David Wall: 19 posts Janek Schleicher: 18 posts Marcos Rebelo: 16 posts David: 15 posts
show more
Archives