On Jul 19, 2004, at 10:56 AM, [EMAIL PROTECTED] wrote:
Hi,
I am trying to edit an ASCII file in place…
I tried …
perl -pi -ne "s/ERROR/TRACKED/g" status.log
Well, we definitely don't need -p and -n, since -p is -n plus some.
and received…
Can't do inplace edit without backup…
Okay, le
Original Message-
From: Edward WIJAYA [mailto:[EMAIL PROTECTED]
Sent: Monday, July 19, 2004 11:37 AM
To: [EMAIL PROTECTED]
Subject: Processing files in Multiple directories (Bash or Perl?)
Hi,
I have a perl code, with usage:
mycode.pl file.txt > file1.out
Now I would like to execute this c
NAME
beginners-faq - FAQ for the beginners mailing list
1 - Administriva
1.1 - I'm not subscribed - how do I subscribe?
Send mail to <[EMAIL PROTECTED]>
You can also specify your subscription email address by sending email to
(assuming [EMAIL PROTECTED] is your email address):
Hi,
I have a perl code, with usage:
mycode.pl file.txt > file1.out
Now I would like to execute this code
for files in multiple directory (e.g. dir1, dir2, dir3, ...dir10).
As I am new for both Bash and Perl, would like to know
if it is be easier to do this with Perl or Bash?
I have already have a b
On Jul 18, 2004, at 7:59 PM, gohaku wrote:
Hi everyone,
Howdy.
after writing perl scripts for about 3 years now, I still have trouble
with the
basic datatypes.
I know that variables that start with '$' are scalars.
This covers Hashes ($HASH{$key}), Arrays ( $_[0] ), and
regular scalar values ( $fo
Thanks James. I am going to try this method also. Your input is very much appreciated.
JC
James Edward Gray II <[EMAIL PROTECTED]> wrote:
On Jul 16, 2004, at 3:46 PM, jason corbett wrote:
> I want to eliminate the ". " (periord) or "," (comma) from records
> that I return from a query, but I c
> I still don't know how to declare arrays using only '$' instead of '@'
You can't. But you can store a *reference* to an array in a scalar.
This will work:
# the backslash ("\") returns a reference to the
# variable, so this doesn't actually pass the array,
# it passes a reference (pointer sor
>
This isn't well-formed XML. The n=3 must be n="3". All attributes in XML
must be quoted, either single-quotes or double-quotes.
Rob
-Original Message-
From: David Arnold [mailto:[EMAIL PROTECTED]
Sent: Monday, July 19, 2004 2:04 AM
To: [EMAIL PROTECTED]
Subject: Perl and XML::Simple
Thanks. I was using the Pipe thing, but the fact is my client wants it in Excel and to
be able to open it immediately and not "click around with the parameters" as they are
not Excel friendly (go figure). I appreaciate your willingness to carry the question
out to a solution/example and not a qu
Hello out there,
I try to build a DBD:Adabas driver for DBI. And I got this dump:
# perl Makefile.PL
Configuring DBD::Adabas ...
>>> Remember to actually *READ* the README file!
And re-read it if you have any problems.
Multiple copies of Driver.xst found in:
/usr/local/lib/perl5/5.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Mon, 19 Jul 2004 12:59, gohaku wrote:
> To get the length of an array, it's $#array, not [EMAIL PROTECTED] or #$array.
> Usually, I use scalar @array;
They do different things, afaik. $#array gives you the index of the last entry
in the array, scal
11 matches
Mail list logo