Age | Commit message (Collapse) | Author |
|
No need for if (-d node) { return ...
can just use use return ( -d node )
|
|
Global file handles are trap waiting to happen.
|
|
When returning boolean no need to have
if (expr) return 1; else return 0
Also the proper boolean for false is undef not 0.
|
|
|
|
Using three argument open is safer against global handle clash,
and accidental scripting.
|
|
Save is broken by this, so do in smaller chunks.
|
|
Make this code pass perl critic. Mostly by changing it to return
proper booleans, and use three argument open.
|
|
I wanted to use Vyatta::Config::Output, but the perl part of the
autoconf installer is to stupid to handle directory trees, so had
to limit it to one directory per package. So name should have
been Vyatta::ConfigOutput...
|
|
Use hierarchal directory structure
|