> Bullshit, mixed the regexes together: OK, complete part looks like this now:
>
#
#testsystem
#
if ( // .. /<\/testsystem>/){ #lock for tag
paragraf testsystem
my $line =$_;
Got it, used unless ( // .. /<\/testsystem>/) instead of if (
// .. /<\/testsystem>/) and it works!!!
Thanks
Johannes
> so I would be working all of the sneek and peek
> that I recommend in
> http://www.wetware.com/drieux/pbl/RegEx/paraHablarRegular.txt
> all inside of
> so I would be working all of the sneek and peek
> that I recommend in
> http://www.wetware.com/drieux/pbl/RegEx/paraHablarRegular.txt
> all inside of the
> while() {
> }
[Theuerkorn Johannes] Ok, played around with the paraHablar..
g the XML Parser Modul. Is this
possible like:
$filenameDefinedBefore=$_
my $XMLFileHandle = XMLin("$filenameDefinedBefore");
> -Urspr> üngliche Nachricht-
> Von: kris hoch [SMTP:[EMAIL PROTECTED]]
> Gesendet am: Dienstag, 4. Juni 2002 16:53
> An: [EMAIL PROTECTED]
On Wednesday, June 5, 2002, at 08:31 , Theuerkorn Johannes wrote:
> Ok, found one easy solution: as I need to parse the whole file anyway, i
> am removing all newline by doing:
>
> if (open(LOG,"$fileName")) {
>
>open (temp1,"$temp");
>while ()
>{
> chomp;
>
; -Urspr> üngliche Nachricht-
> Von: kris hoch [SMTP:[EMAIL PROTECTED]]
> Gesendet am: Dienstag, 4. Juni 2002 16:53
> An: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Betreff: Re: AW: parsing xml files for variables
>
> Johannes,
> I have copied and pas
Johannes,
I have copied and pasted some same code and data. Look for the "Sample
Code" and Sample Data" in this message.
Let me know if this helps
Kristofer
=
-[ Sample Code file (TestSystem.pl) ]-