Michael Anthony Heap

Tag :: perl

PHP Short Tags

After reading that PHP6 might drop support for short tags, I decided to update my main Codeigniter project to use full php tags. I didn’t want to have to go through each file and update them by hand, so I set about automating it. I managed to do it using grep, awk and perl, and…

[ Read More ]

Parsing Tables In Text Files

osfameron had to develop something to parse fixed width text files, as his boss decided they were more use than csv files. He linked us to it in the #geekup IRC channel and Caius decided to implement it in Ruby. Then, Will decided to implement it in Python. I didn’t understand osfameron’s version too much,…

[ Read More ]

Archives

2010010203040506070809101112
2009010203040506070809101112

Categories