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
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.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
>> @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
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
>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
`
> 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
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
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
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
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
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:
--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
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
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]
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
> 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
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.
> 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
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
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
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
22 matches
Mail list logo