girarde has asked for the wisdom of the Perl Monks concerning the following question:
The source file has one field per line. The <REGISTRATION_DATE> fields look like ' Thursday, April 13, 2006 at 16:11:53 (CDT) '. It is not missing from any of the records. What am I missing? UPDATE: Removed some lines of commented out code.open (BOX, "<", "U:/documents/mpcrequeststack.txt"); my $can = ''; my $case = ''; while ($can = <BOX>) { $can = <BOX>; $case .= $can; if ($can =~ /^<\/ACCESS_REQUEST>/) { my (@stamp) = gettimeofday(); my $stamp = join '.', @stamp; open CLIP, ">", "\\\\server\\share\\dbgroom\\$stamp.xml" or di +e $!; print "$case\n"; close CLIP; $case = ''; } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: I can't believe this string is that weird
by FunkyMonk (Bishop) on Sep 19, 2008 at 20:03 UTC | |
by girarde (Hermit) on Sep 19, 2008 at 20:15 UTC | |
|
Re: I can't believe this string is that weird
by ikegami (Patriarch) on Sep 19, 2008 at 20:04 UTC |