Recent content by DaveE

  1. D

    Why are risk assessment important for primary schools?

    What dangers could you face taking childern on school trips?
  2. D

    Perl Script - find line beginning with X?

    You want a regular expression (regex or regexp). They can be very in depth, but they're easy once you get the hang of them. You want something like this: if(open(FILE,"myfile.txt")) { while(<FILE>) { if(/^IDX/) { #Code here-- your line is in the $_ variable, complete with newline...
Back
Top