hi,
i was trying to calculate the no of silicon atoms in mesoporous material by using perl script but i get error"Can't modify subtraction (-) in scalar assignment at -e line 3, near ""Si";" Execution of -e aborted due to compilation errors."......now i m unable to shortout .plz help me as soon as possible......perl script is like this(given below)
use strict;
use MaterialsScript qw(:all);
my \$ SBA-15 = \$Documents{" dyn(2).xsd"}->ElementSymbol eq "Si";
printf "There are %d atoms in the document\n", \$ SBA-15->ElementSymbol eq "Si"->Count;