Jump to content

Caught up on all the Perl episodes


G+_L I
 Share

Recommended Posts

Caught up on all the Perl episodes. Here ( http://pastebin.com/rKB65C9f ) is an example drawing from some of the other examples (including https://plus.google.com/u/0/105251402627912792094/posts/i3MuYqdTi1W from Irene Smith  for reading a text file). The program allows you to search a text file - in this case it's the text of MacBeth ( http://pastebin.com/PV5YUBuA ). It does some regular expression stuff to highlight the search term. It also tries to detect if someone is trying to hack the querystring. :)

http://pastebin.com/rKB65C9f

Link to comment
Share on other sites

 Share

×
×
  • Create New...