>>>>> "William" == William J 'Bill' Willyerd <[EMAIL PROTECTED]> writes:

> I am trying to break down a file and create a db table with the lines
> from the file.  The input is a record definition of a Mainframe area
> (Unisys).  The record comes in two different methods 1 update existing
> 2 new area.  I have a matching routine that works fine with the new
> but I am having trouble with the "update" ones.

[...]

Sorry, but I did not have time to find your problem, but I do have
a suggestion. Whenever I am working on a gnarly regex, it always helps
to debug the pattern by first starting up an interactive Perl session
with:

  c:\> perl -de 0

Note that the last character is a zero. This prints out:

  Default die handler restored.
  
  Loading DB routines from perl5db.pl version 1.07
  Editor support available.
  
  Enter h or `h h' for help, or `perldoc perldebug' for more help.
  
  main::(-e:1):   0
    DB<1> 

You can then type in any valid Perl expression and have it evaluated
immediately. Hope this helps.

Sarir

_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activeperl

Reply via email to