Newbie

2002-09-04 Thread James Parsons
This is probably a very simple question for the group.but here's goes. Please keep in mind I'm just a beginner. I have the following file and I would like to add the lines in the file and get a total with a floating $ sign. fileA. 0010 0032 0043 0032 0014 0042 003

newbie

2002-12-20 Thread [EMAIL PROTECTED]
hi, i'm newbie in perl language and i need help. I search from 3 days how give parmeter ti perl script same as shell script. If someone can help me? thanks Damien - SPECIAL ADSL L'ADSL Tiscali est à partir de 15,95 EUR/mois ! Plus modem ADSL et frais d'activ

Newbie

2004-01-22 Thread João Figueira
Well, I'm a newbie. Just got started in Perl and was stunned by its power. The thing is i'm running the scripts in WinXP. Can you tell how to use CGI scripts in XP, because if ai try to set a CGI script as ACTION in a forme it just gets read and doesn't execute. I've heard ab

Newbie

2006-10-10 Thread Darwin Pintado
Hi David, I fresh beginner in perl and I'd like to know how what started you in doing perl. What are other benefits of learninng perl and what use will it be in the future. Can you also provide other learning sites. Thank you in advance for your help! __

Parsing newbie

2001-04-22 Thread Pang, Joseph
Is there any lib/module I could use for data parsing? I has some data format that the grammar is known (quite simple actually), but I need to write some function/API such that I could read the data and reformat (to XML maybe), dump it into database, and recall those data easily in the future.

perl newbie

2001-05-15 Thread Peter
hi, i just started learning perl and i'm kinda stuck i want to pass two querystrings from an asp page to a perl script. ie ..cgi?&tickers=yyy&refresh=x the script accepts the tickers by itself, but when i try to add the refresh it says i have a compile error, here's how its coded...

newbie question

2001-05-16 Thread little
I am more raw than a newbie. I don't know a command yet, but I'm here to listen and learn. When y'all pick yourself up off the floor from laughing too hard, here's a serious question. I have an idea for a simple screensaver for a Linux box. Can I use Perl to create it? Thanks, Pj

Another Newbie

2001-07-06 Thread Robert Omatsu
Hi gang, As others, I am attempting to learn Perl. I have enrolled into a local Community College class, but from reading up and talking with the instructor, all I'll get out of it is a very basic overview. Now I would like to try and get a head start on learning Perl. Can anyone recommend a

newbie DBI

2001-07-27 Thread Steve.Few
** Using ActiveState Build 522 (NT) I'm trying to decide on using DBI or an ODBC connection for moving data into or out of MS ACCESS 97 (or 2000) and back into the ACCESS table [yep, or change inside table]. Given I need to perform all the usual extract and append, etc. tasks, do any of you have

Newbie question

2003-02-11 Thread Steve Lobach
I've been doing some work on AIX and using grep to find data in files, but I frequently run into situations where the lines are much longer than 2k characters. I found a nice tool using Perl to do this.. Now I would like to beef up this script a little bit.. How can I run that Perl script re

Newbie help

2003-07-17 Thread Keith Olmstead
Hello, Been searching though this list for awhile now, and now I am needing some help. I am not asking for someone to do my code for me, I am trying to learn perl and the only way for me to do that is to dive staight into it. My problem is with the theory of the script that I am trying to wri

Newbie about

2002-07-13 Thread Thumper
Hello List, I've got an easy one probably, however, I can't figure it out. I'm writing a command line script which asks the user to complete some simple information. I use the pushing the value into a variable, however when I got to post the variable to another variable or array, it has a

functions newbie

2002-07-22 Thread Charlie Farinella
I'm trying to get a grip on functions. I want to connect to a database, execute a SELECT statement, and print each line where the criteria is met. This does what I want. my $comment; while ( $comment = $sth->fetchrow_array) { print "$comment\n"; } ===

newbie question

2002-08-19 Thread Chad Kellerman
Hello, I have only been writing perl for a few months, so forgive me if this sounds stupid. what is the difference between: $| = 1; and $|++; Or can you point me in the right direction on where I can read boutit? Thanks, Chad -- To unsubscribe, e-mail: [EMAIL PROTECTED] For addition

Newbie Question.

2002-08-27 Thread Ashutosh Jog
Hello, This might be a very simple question, but being a newbie I have to ask. :) How can I copy the line by line contents of a file to a array? For eg: @animals should look like @animals = ('tiger','lion','elephant'); And the text file would have entries for th

Re: Newbie

2002-09-04 Thread david
what you can do is open the file, read it line by line and add it to a total: #!/usr/bin/perl -w use strict; #-- our total my $total = 0; #-- try open the file. if we can't, print the reason open(FILE,"fileA") || die $!; #-- read the file line by line and add it to $total. #-- normally, when

Newbie Question

2002-09-18 Thread James Parsons
Ok since I'm new to Perl I've written this fairly simple script to add number from a text file, I have about 20-30 of these file with different names and I would like to know how to add this to my script, I know how to do it korn shell but in a perl script I'm really now sure, can anyone point

newbie - in

2002-09-27 Thread Kyle Babich
Does Perl have an in operator or something similar? If not how would I find out if a certain list has a certain element? Thank you, -- Kyle -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Newbie Question.

2002-10-07 Thread montana
I am trying to combine the powers of applescript and perl to better search data on some flat files. Because I'm using a Mac, I do not believe there is GUI toolkit for Perl and OSX "Aqua", so I'm using the GUI tools associated with AppleScript to gather the data from the user. Applescript will t

Newbie Question

2002-10-10 Thread James Parsons
Hi all Perl Is extremely new to me and I'm having a problem were to start.. I would like to create a script that reads the header in each file in a directory and when it finds a match then redirects all of the data in the file to another file. Any help would be great.. thanks James Parsons

Newbie Question.

2002-10-16 Thread montana
I've been looking through the manual perlboot. This is a beginners tutorial on Perl OOP. One of the practice programs in this manual had the following line: my $class = shift; This was located in the subroutine: sub Sheep::s

Newbie Intro

2002-11-08 Thread Michael J Alexander
Mike here. Just wanted to introduce myself. I'm teaching myself Perl, and discounting the Pascal class I took in college 13 years ago, I'm a newbie at this language stuff . I am working on CCNA cert. Windows XP is my main OS, but I toy around with any Linux Distro I can get my h

Total Newbie

2002-12-06 Thread ComplexedOne
Ok I am a total newbie when it comes to perl. Could anyone please direct to a site or something that will help me learn and start programing. Any help would be great. Thanks.

Newbie question

2002-12-11 Thread Ashutosh Jog
Hello all, I am a complete newbie and am trying to do a couple of things but was not able to. Any assitance is welcome. If I have a dir structure G:\abc\efg\qrs.txt: 1) How can I list the entire structure under G:\abc along with all the dirs. under G:\abc\ right upto the file qrs.txt ? In

RE: newbie

2002-12-20 Thread wiggins
AIL PROTECTED]> wrote: > hi, > > i'm newbie in perl language and i need help. > > I search from 3 days how give parmeter ti perl script same as shell script. > > If someone can help me? > > thanks > > Damien > > > - > SPECIAL ADSL

RE: newbie

2002-12-20 Thread Kipp, James
cember 20, 2002 8:38 AM > To: beginners > Subject: newbie > > > hi, > > i'm newbie in perl language and i need help. > > I search from 3 days how give parmeter ti perl script same as > shell script. > > If someone can help me? > > thanks > >

RE: newbie

2002-12-20 Thread [EMAIL PROTECTED]
"Kipp, James" <[EMAIL PROTECTED]> To : "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>, beginners <[EMAIL PROTECTED]> Cc : Date : Fri, 20 Dec 2002 08:51:31 -0500 Subject : RE: newbie > do you mean command line parameters? >

Re: newbie

2002-12-20 Thread Paul Johnson
On Fri, Dec 20, 2002 at 03:10:16PM +0100, [EMAIL PROTECTED] wrote: > #!/usr/bin/perl > > use Mail::Sender; > $i = scalar (@ARGV); > > $sender = new Mail::Sender > {smtp => 'server.smtp.com', from => '[EMAIL PROTECTED]'}; > $sender->MailFile({to => '[EMAIL PROTECTED]', >subjec

Re: newbie

2002-12-20 Thread Ramprasad
in shell scripts you get arguments in $1 $2 $3 etc similarly in perl scripts you get $ARGV[0] ( starts from 0 ) $ARGV[1] etc [EMAIL PROTECTED] wrote: hi, i'm newbie in perl language and i need help. I search from 3 days how give parmeter ti perl script same as shell script. If someon

RE: newbie

2002-12-20 Thread Kipp, James
> > #!/usr/bin/perl > > use Mail::Sender; > $i = scalar (@ARGV); > > $sender = new Mail::Sender > {smtp => 'server.smtp.com', from => '[EMAIL PROTECTED]'}; > $sender->MailFile({to => '[EMAIL PROTECTED]', >subject => '$arg[0]', >msg => "$arg[1]", >

RE: newbie

2002-12-20 Thread [EMAIL PROTECTED]
lose; Thnks to all. Damien -- Initial Header --- >From : "Kipp, James" <[EMAIL PROTECTED]> To : "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>,"Kipp, James" <[EMAIL PROTECTED]>,beginners <[EMAIL PROTECTED]>

RE: newbie

2002-12-20 Thread Jenda Krynicky
From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> > Thanks to all, > > it working!!! > > RobR: for $i,I thinking i need give parameter into table before use > it. > > fi each "ARGV" i put " from ' and it working > > the correct script is : > #!/usr/bin/perl -w > > use Mail::Sender; > > > $sende

Re: Newbie

2004-01-22 Thread Chuck Fox
[EMAIL PROTECTED] wrote: Well, I'm a newbie. Just got started in Perl and was stunned by its power. The thing is i'm running the scripts in WinXP. Can you tell how to use CGI scripts in XP, because if ai try to set a CGI script as ACTION in a forme it just gets read and doesn'

RE: Newbie

2004-01-22 Thread Dan Muey
> Well, I'm a newbie. Just got started in Perl and was stunned > by its power. > > The thing is i'm running the scripts in WinXP. Can you tell > how to use CGI scripts in XP, because if ai try to set a CGI > script as ACTION in a forme it just gets read and doesn&

Re: Newbie

2004-01-22 Thread Dan Anderson
On Thu, 2004-01-22 at 14:13, JoÃo Figueira wrote: > Well, I'm a newbie. Just got started in Perl and was stunned by its power. > The thing is i'm running the scripts in WinXP. Can you tell how to use CGI > scripts in XP, because if ai try to set a CGI script as ACTION in a f

Perl Newbie

2004-02-24 Thread Peterson, Darren - Contractor.Westar
Hello, all. I'm as green a Perl programmer as can be. As a matter of fact, I am green in OO programming and network communications. I spent 12 years maintaining FORTRAN code on 1970's mainframe computers. I do love FORTRAN... But my boss has asked me to coordinate app execution on a handful of

h2xs newbie

2004-05-16 Thread JupiterHost.Net
Hello, http://mathforum.org/~ken/perl_modules.html#skel has an example for using h2xs to create your base files for a module. So the first question is: To create the tar.gz file needed for upload to cpan I simply tar/gz ify the NewModule/ directory, correct? Secondly: If I was making a module

Newbie question

2004-08-02 Thread Drue Reeves
Sorry for the newbie question but, I'm having trouble using the Perldap module. I downloaded the binaries and I am trying to install them into ActiveState's latest version of Perl for Windows. I put the contents of blib/lib/Mozilla from the zip file in the Perl/lib directory (where the r

Newbie question

2003-12-12 Thread Michael Sullivan
Can anyone recommend any free Perl tutorials? I know almost nothing about what I'm doing, only that it looks somewhat like C++... -Michael Sullivan- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Newbie question

2002-03-03 Thread suraj rajendran
Hello beginners, Here is a very basic question: I am trying to print only the zip code of massachusets Even though this works, i am pretty sure there is a better way doing this. Any ideas? #!/usr/bin/perl while () { ($name, $phone, $address, $dob, $salary) = split(":", $_); ($add1, $city, $state

Newbie Question

2002-03-11 Thread Eric Wang
Hi guys, I have a newbie question. I've tried to update my module packages and was using ppm on win2k. After I installed Tk, my ppm isn't working anymore. It'll still give me command prompt, but when I type verify -upgrade, nothing happens. Can anybody help me? Thanks Eric

newbie question

2002-03-25 Thread Anidil Rajendran-Raj
Firstname Lastname 650 156 7190:somfield:somefield:somefield Firstname Lastname 408 256 7290:somfield:somefield:somefield Firstname Lastname 510 3456 7390:somfield:somefield:somefield I have the above lines in a file and I am trying to create an array of = phone numbers open (FILE,"thefile") or

Newbie question

2002-03-25 Thread Anidil Rajendran-Raj
Firstname Lastname 650 156 7190:somfield:somefield:somefield Firstname Lastname 408 256 7290:somfield:somefield:somefield Firstname Lastname 510 3456 7390:somfield:somefield:somefield **more lines here *** Firstname Lastname 415 3456 7390:somfield:somefield:somefield I have

newbie question

2002-05-18 Thread Stuart Clark
Hi again, Thanks john for helping me with this solution to get the 16764 out of the $data string ($recievedmail) = $data =~ /\b(\d+)\b/; I have another question How would I pick out the 375 in the same string $data = "Received 921MB 16764 3955 375 2.2% 1296 7.7%"; -- To unsubscrib

perl newbie

2002-06-04 Thread ppriest
Unix Sys administrator, versed in most shells, ksh, bourne, bash etc. What is the best way for me to lean perl? Phil -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

newbie help

2001-09-06 Thread Mike Singleton
Is there a reference URL someone can point me to that would explain the rudiments of simple file copy and compare using Perl under NT/2000 ?? === Mike Singleton CCNA, CNE, MCSE Network Analyst (253) 272-1916 x1259 (253) 405-1968 (cellular) [EMAIL PROTECTED] DaVita Inc.

Newbie questions...

2001-09-06 Thread Scott P
Hi all... I have an attached program w/ text file, if anyone cares to look at... It is a small perl pgm that checks filesystem(s) which have a soft/hard limit. It mails the recipient when a limit is exceeded. I have just ported to a differnet linux box. The perl version on the linux box I'm tryin

Newbie splitting

2001-10-22 Thread "José A. Ferrer"
Please, I have a text file separated with one or more whitespaces. I need to extract each line to scalar variables everything but whitespaces. How can it be done in perl ? TIA. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Newbie question...

2001-12-28 Thread Richard.C.1
I'm just starting to learn PERL and loving it. I am looking at some scripts to see how they're written, and I had a question about script "flow". The script I'm looking at has a lot of subroutines in it. Am I correct in assuming that when a PERL CGI script runs, execution starts at the beginnin

newbie question

2002-01-03 Thread Pam Derks
I've been trying to understand program 6.21 in the Perl Cookbook, which changes URLs to html links here's a snippet: #!/usr/bin/perl $urls = '{http|telnet|gopher|file|wais|ftp'); $ltrs = '\w'; $gunk = '/#~:.?+=&%!\-'; $punc = '.:?@\-'; $any = "${ltrs}${gunk}${punc}"; I understand what

newbie question

2002-01-29 Thread Thunem, Tom
I've never understood what the 'make' and 'make install' commands do. Can someone shed the light? Thanks Tom Thunem Sr. Systems Specialist, Global E-Business Infrastructure, Americas Avnet, Inc. [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [

Queries - Newbie

2010-01-13 Thread dolphin
Hi, I want to use perl and print time before and after sleep but not successful, can anyone advice? #!/usr/bin/perl my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst)=localtime time; my $timenow="$hour$min$sec"; print "It is now $timenow\n"; sleep 15; my $timelater="$hour$min$sec"; print "

Newbie queries

2011-01-25 Thread dolphin
Hi, I'm learning perl now and would like to find out how to perform the following if given in a text file? ,12 ,437 ,124 ,45 ,789 ,67 CCC,567 DDD,5 How to sum up the 2nd column based on the 1st column with the following result: : BBB: CCC: DDD: Thanks in advance

Newbie Question

2006-09-19 Thread M K Scott
Hi all, Please forgive the newbie nature of this question but i'm just starting off teaching myself perl from scratch and so need a little clarification. I am trying to put together a script to do pattern matching and while I can get the basic syntax alright it doesn't seem to be

Re: Newbie

2006-10-13 Thread Romeo Theriault
Perl is cross-platform, extremely useful for working with large amounts of text, using regular expressions, it has a great repository of modules for you to use for just about any task you can think of (CPAN), it's open source, it's got a great community, the list goes on and on. I would r

Re: Newbie

2006-10-15 Thread Darwin Pintado
Thanks Romeo for the heads up! --- Romeo Theriault <[EMAIL PROTECTED]> wrote: > Perl is cross-platform, extremely useful for working > with large > amounts of text, using regular expressions, it has a > great repository > of modules for you to use for just about any task > you can think of

major newbie

2005-10-19 Thread Brian Franco
OK ...im working my way through "learn perl in a weekend" bookit's good but gets into OOP perl which im not interested in. Maybe I should skip that part. Im interested in learning perl to be ad better ADMIN on my RHEL server. I was just courious as to anybody else out there that uses perl for

Re: Parsing newbie

2001-04-22 Thread David M. Lloyd
On Sun, 22 Apr 2001, srl wrote: > > I think I need to write a parser but had little experience. I had looked up > > Lex and Yacc, or bison, with some little time I play, I know I could get > > promising result, but I want it written in Perl instead of C. > > Look at Parse::RecDescent. If you w

Re: Parsing newbie

2001-04-22 Thread srl
On Fri, 20 Apr 2001, Pang, Joseph wrote: > I think I need to write a parser but had little experience. I had looked up > Lex and Yacc, or bison, with some little time I play, I know I could get > promising result, but I want it written in Perl instead of C. Look at Parse::RecDescent. If you wa

Re: Parsing newbie

2001-04-22 Thread Paul Johnson
On Fri, Apr 20, 2001 at 06:30:34PM -0400, Pang, Joseph wrote: > Is there any lib/module I could use for data parsing? Try Parse::RecDescent. > I has some data format that the grammar is known (quite simple actually), Sounds promising -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.ne

Re: Parsing newbie

2001-04-22 Thread M.W. Koskamp
- Original Message - From: Pang, Joseph <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, April 21, 2001 12:30 AM Subject: Parsing newbie > Is there any lib/module I could use for data parsing? > > I has some data format that the grammar is known (

Re: perl newbie

2001-05-15 Thread Jos Boumans
A quick glance at your code shows a missing ; at the end of $refresh=$q->param('refresh') check if that's not the problem first! Regards, Jos Boumans Peter wrote: > hi, > > i just started learning perl and i'm kinda stuck > > i want to pass two querystrings from an asp page to a perl sc

Re: perl newbie

2001-05-15 Thread Jos Boumans
ter wrote: > yes there is a semicolon there. > > -Original Message- > From: Jos Boumans [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, May 15, 2001 9:39 AM > To: Peter Lee > Cc: [EMAIL PROTECTED] > Subject: Re: perl newbie > > A quick glance at your code shows

RE: perl newbie

2001-05-15 Thread Peter
yes, semicolon is there. -Original Message- From: Jos Boumans [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 15, 2001 9:39 AM To: Peter Lee Cc: [EMAIL PROTECTED] Subject: Re: perl newbie A quick glance at your code shows a missing ; at the end of $refresh=$q->param('refresh

RE: perl newbie

2001-05-15 Thread Peter
w which sends the value to an asp page. ie. .asp?refresh=x&symbol=. thanks, peter -Original Message- From: Jos Boumans [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 15, 2001 9:45 AM To: Peter Lee Cc: [EMAIL PROTECTED] Subject: Re: perl newbie Ok, it's hard to help you witho

Re: perl newbie

2001-05-15 Thread Jos Boumans
al Message- > From: Jos Boumans [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, May 15, 2001 9:45 AM > To: Peter Lee > Cc: [EMAIL PROTECTED] > Subject: Re: perl newbie > > Ok, it's hard to help you without knowing the exact error that is generated. > So it would help if

RE: perl newbie

2001-05-15 Thread Paul
--- Peter <[EMAIL PROTECTED]> wrote: > when i append the &refresh=x, i get a software error: > Execution of cgi aborted due to compilation errors so what are the other errors? try posting the whole code if necessary, and the whole output to the screen when you try to run it. =o) = print

Re: newbie question

2001-05-16 Thread Brett W. McCoy
On Wed, 16 May 2001 [EMAIL PROTECTED] wrote: > I am more raw than a newbie. I don't know a command yet, but I'm > here to listen and learn. When y'all pick yourself up off the floor > from laughing too hard, here's a serious question. I have an idea for > a si

Re: newbie question

2001-05-16 Thread little
. Thanks, Pj On 16 May 2001, at 6:38, Brett W. McCoy wrote: > On Wed, 16 May 2001 [EMAIL PROTECTED] wrote: > > > I am more raw than a newbie. I don't know a command yet, but I'm > > here to listen and learn. When y'all pick yourself up off the floor >

Re: newbie question

2001-05-16 Thread Brett W. McCoy
On Wed, 16 May 2001 [EMAIL PROTECTED] wrote: > I hate to admit ignorance but that's why I'm here. I did not realize > that text consoles used screensavers so I thought KDE or > something of that ilk. My idea is simple: alternating colored > screens/backgrounds containing short text messages. You

Re: newbie question

2001-05-16 Thread little
Oh sure Perl and html are different. For practical purposes Perl is universal while html is a faux language created expressly for the internet. Can you imagine ssh in html? I've never seen a console screen blanker, but I am comfortable in a console window and prefer it to GUI; my knowledge of

Re: newbie question

2001-05-16 Thread Brett W. McCoy
On Wed, 16 May 2001 [EMAIL PROTECTED] wrote: > Oh sure Perl and html are different. For practical purposes Perl is > universal while html is a faux language created expressly for > the internet. Can you imagine ssh in html? I wouldn't say it's a faux language any more than LaTeX is a faux langua

Re: newbie question

2001-05-16 Thread little
Exactly! I booted into a command line screen and not the GUI logon. I prefered CL because I didn't need to load a 16M color background and 50 icons to inititate a talk session or read mail in Pine. :-) .. Pj On 16 May 2001, at 17:21, Brett W. McCoy wrote: > > I've never seen a console screen

newbie need help

2001-05-26 Thread Foxpro
ok, i am a newbie at perl, i know this is going to be a very stupid question, but please just help me out then do the "hahaha", ok? :) well, i want to learn perl, but i just kwon it is for web pages, how do i start writing(learning) perl? what do i need to do that? please, any kind o

perl newbie tutorial

2001-06-08 Thread srikanth remani
Hi, I am new to PERL. Please suggest me a perl tutorial... thanx Srikanth _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Re: Another Newbie

2001-07-06 Thread Brett W. McCoy
On Fri, 6 Jul 2001, Robert Omatsu wrote: > As others, I am attempting to learn Perl. I have enrolled into a local > Community College class, but from reading up and talking with the > instructor, all I'll get out of it is a very basic overview. Now I would > like to try and get a head start o

Re: Another Newbie

2001-07-06 Thread dave hoover
Robert wrote: > Can anyone recommend a > good book/Website...something that could point me > into the correct > direction. Check out http://learn.perl.org for suggestions and links to some good books. Go here for online tutorials (Google-> "perl tutorial"): http://www.google.com/search?sourceid=

Re: Another Newbie

2001-07-06 Thread Tim Musson
Hey Robert, Friday, July 06, 2001, 4:01:39 PM, my MUA believes you used Internet Mail Service (5.5.2650.21) to write: RO> Hi gang, RO> Can anyone recommend a good book/Website...something that could RO> point me into the correct direction. As others have suggested, I like Learning Perl, and t

Re: Another Newbie

2001-07-09 Thread Rajeev Rumale
AIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Saturday, July 07, 2001 4:13 AM Subject: Re: Another Newbie > Robert wrote: > > Can anyone recommend a > > good book/Website...something that could point me > > into the correct > > directi

newbie whitespace question

2001-07-09 Thread Nat Durbin
Hi, I have a newbie whitespace question. Say I have a regular variable that has a string in it with something like " text". I just want to reassign the variable to the text inside the double quotes above. or, given the snippet... my $var=""; while ( ) {

newbie: Sort Question

2001-07-18 Thread Groove Salad
Hi All: If I have files like the following: checking: env-20010712-0 checking: env-20010712-1 checking: env-20010712-10 checking: env-20010712-11 checking: env-20010712-12 checking: env-20010712-13 checking: env-20010712-14 checking: env-20010712-15 checking: env-20010712-16 checking: env-20010

Socket Help Newbie

2001-07-25 Thread Scott Blatz
I cannot get a simple script to work. I get the following error when I debug it. 1 Can't locate socket.pm in @INC (@INC contains: /usr/lib/perl5/5.6.0/i686-linux /usr/lib/perl5/5.6.0 /usr/lib/perl5/site_perl/5.6.0/i686-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl .) line 2. 2 BE

Re: newbie DBI

2001-07-27 Thread Brett W. McCoy
On Fri, 27 Jul 2001, Steve.Few wrote: > I'm trying to decide on using DBI or an ODBC connection for moving data > into or out of MS ACCESS 97 (or 2000) and back into the ACCESS table > [yep, or change inside table]. If you use DBI, you will need to use DBD::ODBC anyway, since there isn't a specf

Re: newbie DBI

2001-07-27 Thread Akshay Arora
There are quite a few ODBC modules out there. One that lets you program using the actual OLE ( I think they all do really), is the Win32 set of modules written by Dave Roth. The book he wrote is decent, all about Perl Win32 programming. I personally found programming for Access using Perl was quit

Re: newbie DBI

2001-07-27 Thread Sean O'Leary
At 01:56 PM 7/27/2001, you wrote: >** Using ActiveState Build 522 (NT) > >I'm trying to decide on using DBI or an ODBC connection for moving data >into or out of MS ACCESS 97 (or 2000) and back into the ACCESS table >[yep, or change inside table]. > >Given I need to perform all the usual extract a

Re: newbie DBI

2001-07-27 Thread Brett W. McCoy
On Fri, 27 Jul 2001, Sean O'Leary wrote: > ODBC is a low-level API for connecting to databases, and is designed to be > accessible from many a programming language. To my knowledge, there's no > module for using ODBC from Perl, without using DBI. Win32::ODBC is an alternative to using DBD::ODBC

Re: newbie DBI

2001-07-27 Thread Sean O'Leary
At 04:54 PM 7/27/2001, you wrote: >On Fri, 27 Jul 2001, Sean O'Leary wrote: > > > ODBC is a low-level API for connecting to databases, and is designed to be > > accessible from many a programming language. To my knowledge, there's no > > module for using ODBC from Perl, without using DBI. > >Win3

Re: newbie DBI

2001-07-27 Thread Brett W. McCoy
On Fri, 27 Jul 2001, Sean O'Leary wrote: > > > ODBC is a low-level API for connecting to databases, and is designed to be > > > accessible from many a programming language. To my knowledge, there's no > > > module for using ODBC from Perl, without using DBI. > > > >Win32::ODBC is an alternative

Re: newbie DBI

2001-07-29 Thread Rachel Coleman
> >I'm trying to decide on using DBI or an ODBC connection for moving data > >into or out of MS ACCESS 97 (or 2000) and back into the ACCESS table > >[yep, or change inside table]. > > > >Given I need to perform all the usual extract and append, etc. tasks, do > >any of you have suggestions or poi

Re: Newbie question

2003-02-12 Thread Lance
My first thought is to make a little cgi script, but you don't have a webserver... What O/S is on the desktops? More importantly, what scripting or programming language do they have in common? You can make a script or program in you choice of language. As long as it supports running other langu

Re: Newbie question

2003-02-12 Thread Steve Lobach
Thanks for replying.. I can put perl on the Win 2000 desktops.. So I could, I suppose, use tk.pm and Telnet.pm (found on cpan)... So from this point I think I can go forward.. >>> Lance <[EMAIL PROTECTED]> 02/12/03 03:42AM >>> My first thought is to make a little cgi script, but you don't have

Re: Newbie question

2003-02-12 Thread Daryl Field
I wouldn't go down this route - consider this:- 1. Number of desktops x installing Perl + then the required modules = too much work 2. Your putting a user readable script onto each machine - that script may contain login details, unless evryone has their own login anyway. I would install a webs

Re: Newbie question

2003-02-12 Thread wiggins
On Wed, 12 Feb 2003 07:54:37 -0500, "Steve Lobach" <[EMAIL PROTECTED]> wrote: > Thanks for replying.. > I can put perl on the Win 2000 desktops.. So I could, I suppose, use tk.pm and >Telnet.pm (found on cpan)... So from this point I think I can

help to newbie

2003-02-27 Thread Alexander
regexp for 3 digits optional "," and if there is a comma 2 digits I've tried this but it simply didn't work "\\d{1,3}[.,]?\\d{0,2}" -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

newbie module question

2003-03-28 Thread Leon
Hi everyone, I am really really new to perl. I know this is dumb but I am using perl in the win 32 environement (perl 5.8.0 build 804) from active state. I am trying to figure out how to install modules. Where do you get them from? How do you install them? Other things I need to know? T

Perl CGI newbie

2003-06-29 Thread Mark Anthony Sioting
Dear Sirs, I am new to cgi and i am using perl with it to study. What i'm doing now is im making an interactive site which requests for the name/text then the perl/cgi script will process it upon submitting the submit button and the output will be displayed via html. My problem is that i can

newbie needs help

2003-07-07 Thread dakenah johnson
Hi I am writing a script that uses backquotes and the ps-ef command to print the UID and command for all currently running processes. #!/usr/bin/perl use strict; my $process = `ps -ef`; while (<>);{ push @process = spilt (/\|/,$_); print "Owner:[1] command:[8] where did I go wrong? thanks, DJ ___

Re: Newbie help

2003-07-17 Thread Paul D. Kraus
"Keith Olmstead" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello, > > Been searching though this list for awhile now, and now I am needing some help. I am not asking for someone to do my code for me, I am trying to learn perl and the only way for me to do that is to dive staig

Re: Newbie help

2003-07-18 Thread Jostein Berntsen
On 17.07.03,14:51, Keith Olmstead wrote: > Hello, > > Been searching though this list for awhile now, and now I am needing some help. I > am not asking for someone to do my code for me, I am trying to learn perl and the > only way for me to do that is to dive staight into it. > > My problem i

Re: Newbie help

2003-07-19 Thread denis
Dont know if anyone has replyed yet.. But why not use "time"? Here's what I'm thinking.. my @t = localtime(time); my $today; $today = sprintf "%4d%02d%02d", $t[5]+1900, $t[4]+1, $t[3]; print "$today"; will print out todays date.. this will give you a place to start.. Denis On Thu, 17 Jul

  1   2   3   4   5   6   7   8   9   10   >