Forgot to mention - am running it on solaris 8.
Thanks
-Original Message-
From: Chintakindi, Rajkishan [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 18, 2002 3:20 PM
To: [EMAIL PROTECTED]
Subject: [Perl-unix-users] write error
Hi gurus,
While running the follwing piece of code, am
Hi gurus,
While running the follwing piece of code, am getting this error "Can't call method
"write" without a package or object reference at subCA.broken at line 239".
What is wrong in this script.Can anybody correct this pls..
Thanks in advance...
>> Script >>
sub mergeArchives
{
Thanks Bill-
Yeah, I just tried that and it works fine now. Silly me trying to read a
file line by line and try to match mutiple lines.
-Original Message-
From: $Bill Luebkert [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 18, 2002 9:47 AM
To: Nikko Odiseos
Cc: [EMAIL PROTECTED]
S
Okay, I spoke too soon... I didn't notice the change from the usual /'s to
|''s.
Matt
___
Perl-Unix-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Nikko Odiseos wrote:
> I have just done an xml dump of several thousand records from a db.
> I have to actually go through each one as the xml from the db has the
> following:
>
>
>
>
>
> (all the values in these fields are empty)
>
> but needs to have this instead:
>
>
>
>
>
>
>
>
> while () {
> $_ =~ s|()|$1 name="features"/> name="features"/>|smg;
> print $_;
> }
Try it with backslashes in front of the slashes.
while () {
$_ =~ s|()|$1<\/value>|smg;
print $_;
}
Matthew Musgrove
__
I have just done an xml dump of several thousand records from a db.
I have to actually go through each one as the xml from the db has the
following:
(all the values in these fields are empty)
but needs to have this instead:
I thought this might work but it does not do a substituti