Moin After struggling with Perl I fixed a bug in the Perl-script that generates our XML. Meanwhile I found an "issue" I would like to address.
Currently we do this to skip lines with comments (#)
my @line = split;
my $atomicNum = shift @line;
next if ($atomicNum eq "#");
I want to change to to this everywhere:
ยท next if ($_ =~ m/^#/);
my @line = split;
my $atomicNum = shift @line;
That saves us a couple of CPU-cylces and is the right thing to do (tm) in my
opinion. It shouldn't effect the XML at all, of course.
If you give me a thumbs up I will changes the Perl-script to change this.
Carsten
signature.asc
Description: This is a digitally signed message part.
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________ Blueobelisk-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/blueobelisk-discuss
