News

By using perl as a scripting language instead of a “traditional” shell, you can use much more C-like syntax without sacrificing functionality.
Example Script: Filament Counter The above script doesn’t yet modify the G-code, so let’s write one that actually does something.
Basically, use <B>open</B> to create a filehandle (in the appropriate mode -- e.g. read, write, append, whatever) and then pass that as the first argument to printf, then close the filehandle.