I came here hoping to find some code templates, with no luck. I found an XML file that needed some major touch-up work here: http://www.perlmonks.org/?node=Eclipse%203%20%2B%20EPIC%200.3.9
I know nothing about XML or making code templates ... yet, and the code didn't work for me as cut-and-paste so I went through and cleaned up the XML as best as I could. The file seems to work all right. I've posted the XML file to my site if you would like to download it from there. http://www.w3bvision.com/?p=28
Yeah, I had the same problem some time ago. A wonderful template facility, but empty by default. Too bad.
I happened to have quite some templates for XEmacs, which I converted to EPIC. Additionally, I added a lot of templates created by Matthias Faulstich (see http://www3.fh-swf.de/fbin/faulstich/0A3AB0C33084499F9A2C2C0B587BE751_FCE89749634D4758830006CD2D7A39EF.htm\), so most of the credit goes to him.
Here is my current template file, I think it already includes everything yours has, and much more:
It has all special perl variables included (thanks to Matthias Faulstich), so it is kind of reference information also :-) Just type a dollar sign and hit Ctrl-Space, and you get a list of special variables, with their English names. Very cool.
If you are unsure about character classes in regular expressions, type "ch" and hit Ctrl-Space.
There are some commonly used "use xy" directives included, too.
Very nice templates are the ones for the different "open" operations, and the "filter" template. Give it a try, saves hours of typing.
Wow, thanks a lot. I just started a Perl class and I don't know any of the syntax yet. I'm sure this will help a lot. Do you mind if I post this on my site? Would you like credit or a link back?
You'll get to love Perl, it's simply the best :-)
Post it if you want to, but maybe it's better to include the link that I gave you - from time to time I'll update the file there.
Would be nice if you mentioned Matthias Faulstich and me as contributors...
Have fun with Perl, and of course with EPIC!
I'll definitely give credit where it is due. I hope to be able to add something to the file as well by the end of my course. Have you thought about submitting this to the EPIC developers?
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.