Re: Could anyone point me to a good site for pearl compiler download.

2008-08-23 Thread Jim
On 21 Aug., 20:04, [EMAIL PROTECTED] (Rich Murphy) wrote: > Could anyone point me to a good site for pearl compiler download. On windows I use the ActiveState distribution. They have a free PERL interpreter too. http://www.activestate.com/Products/activeperl/index.mhtml -- To unsubscribe

Re: Could anyone point me to a good site for pearl compiler download.

2008-08-22 Thread Rob Dixon
rich murphy wrote: > > Could anyone point me to a good site for pearl compiler download. The short answer is here http://www.perl.org/ But it depends on what platform you are working on, and whether you know what the perl compiler is. Tell us more about what you want to do if this d

Could anyone point me to a good site for pearl compiler download.

2008-08-22 Thread rich murphy
Could anyone point me to a good site for pearl compiler download. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Re: Files Operations in Pearl

2007-03-16 Thread Jeff Pang
>> @tmp = map { (split)[2] } grep { /localhost/ } ; > >This is a bad idea if the file you are reading from is at all large. Yes memory consuming of using map and grep is the fact. But AFAIK postgresql.conf is not big at all (just a few lines) b/c I'm pretty familiar with it. :) -- To unsubscr

Re: Files Operations in Pearl

2007-03-16 Thread Chas Owens
On 3/16/07, Jeff Pang <[EMAIL PROTECTED]> wrote: snip @tmp = map { (split)[2] } grep { /localhost/ } ; snip This is a bad idea if the file you are reading from is at all large. It is better to use a real loop rather than map or grep when reading from a file. The problem lies in the fact that

Re: Files Operations in Pearl

2007-03-16 Thread Jeff Pang
>In shell-script I get a variable with command line: > >AUXIP=`cat $INPUTDB/postgresql.conf | grep "localhost" > | awk '{print $3}' | head -n1` > Hello, In Perl it can most likely be written as: open FILE,"$INPUTDB/postgresql.conf" or die $!; @tmp = map { (split)[2] } grep { /localhost/ } ; c

Re: Files Operations in Pearl

2007-03-16 Thread John W. Krahn
` > In C++, I use the functions read, write and others for > manipulation files. Aren't read and write low level file IO functions? Why would you use them instead of cin and cout? > And Pearl ? Perhaps you mean Perl? > After I open the file, perldoc -f open > i like to g

Files Operations in Pearl

2007-03-16 Thread Rodrigo Tavares
Hello, In shell-script I get a variable with command line: AUXIP=`cat $INPUTDB/postgresql.conf | grep "localhost" | awk '{print $3}' | head -n1` In C++, I use the functions read, write and others for manipulation files. And Pearl ? After I open the file, i like to g

Re: Files Operations in Pearl

2007-03-16 Thread Chas Owens
On 3/16/07, Rodrigo Faria Tavares <[EMAIL PROTECTED]> wrote: snip After I open the file, i like to get a simple word and store in a scalar variable. Or write after line 10 for example. And others. snip In Perl file operations are generally handled by file handles. If you want to use the object

Re: Files Operations in Pearl

2007-03-16 Thread Igor Sutton Lopes
pulation files. And Pearl ? After I open the file, i like to get a simple word and store in a scalar variable. Or write after line 10 for example. And others. use strict; use warnings; open my $fh, "<", "$ENV{'INPUTDB'}/postgresql.conf" or die $!; my $aux

Files Operations in Pearl

2007-03-16 Thread Rodrigo Faria Tavares
Hello, In shell-script I get a variable with command line: AUXIP=`cat $INPUTDB/postgresql.conf | grep "localhost" | awk '{print $3}' | head -n1` In C++, I use the functions read, write and others for manipulation files. And Pearl ? After I open the file, i like to get a s

RE: Pearl

2003-09-15 Thread Bob Showalter
Al Green wrote: > I am new to Perl and I would like a script that I can uxse to search > for text pattern with a file or files as a wild card or with a given > extension. Please reply of list. You're describing the standard Unix utility "grep". A perl implementation of grep can be found at: http:

Re: Pearl

2003-09-14 Thread David Wall
--On Sunday, September 14, 2003 8:40 AM -0600 Al Green <[EMAIL PROTECTED]> wrote: I am new to Perl and I would like a script that I can uxse to search for text pattern with a file or files as a wild card or with a given extension. Please reply of list. You can use File::Find for that, but if yo

Re: Pearl

2003-09-14 Thread R. Joseph Newton
Al Green wrote: > I am new to Perl and I would like a scrip People will gladly point you towards modules that can assist you, but do not look here for completed scripts, please. > t that I can uxse to search for > text pattern with a file or files as a wild card or with a given extension. There

Pearl

2003-09-14 Thread Al Green
I am new to Perl and I would like a script that I can uxse to search for text pattern with a file or files as a wild card or with a given extension. Please reply of list. cheers marty -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: linux pearl??

2002-11-07 Thread WALTER HUNNEL
I did a fresh instal of RedHat8.0, and a WHICH PERL returns /USR/BIN/PERL so I think it is installed by default - you might look for it even if you did not specifically request it be installed. I could be totally out in left field, too. Walt >>> Charlotte Oliver <[EMAIL PROTECTED]> 11/06/02 1

RE: linux pearl??

2002-11-06 Thread Charlotte Oliver
> At 01:43 PM 11/6/2002 -0500, Charlotte Oliver wrote: > >You could also try "locate perl" or "whereis perl" on the > command line. > >Usually it's someplace like \usr\bin\perl, though. > > > >I don't run Redhat though, so your mileage may vary. > > 'locate' and 'whereis' work only if perl is a

RE: linux pearl??

2002-11-06 Thread Robert Citek
At 01:43 PM 11/6/2002 -0500, Charlotte Oliver wrote: >You could also try "locate perl" or "whereis perl" on the command line. >Usually it's someplace like \usr\bin\perl, though. > >I don't run Redhat though, so your mileage may vary. 'locate' and 'whereis' work only if perl is already installed.

RE: linux pearl??

2002-11-06 Thread Charlotte Oliver
> If you purchased RH8.0, then your best resource is to call > Red Hat. They have very good technical support and will > guide you. Their manuals are also very good. If you got the > CD's from your local Linux Users Group, then they would be > the best people to ask. If you downloaded the C

Re: linux pearl??

2002-11-06 Thread Robert Citek
Hello Stacy, At 07:56 PM 11/5/2002 -0800, stacy wilmshurst wrote: >hey can someone give me a tip to where i can find the pearl >packages on redhat8? >i'm getting real confused trying to set them up >but i know they're there... > >help please Since this is a perl l

Re: linux pearl??

2002-11-06 Thread Jenda Krynicky
From: stacy wilmshurst <[EMAIL PROTECTED]> > hey can someone give me a tip to where i can find the pearl > packages on redhat8? > i'm getting real confused trying to set them up > but i know they're there... well this mailing list is about Perl. W

linux pearl??

2002-11-05 Thread stacy wilmshurst
hey can someone give me a tip to where i can find the pearl packages on redhat8? i'm getting real confused trying to set them up but i know they're there... help please _ http://www.gamedev.net";>GameDev.net Email Serv