milktree: (Default)
[personal profile] milktree
if you have something like this:


    if ( glob "$local_vm_path/$os_info{$os_dns}{path}-$ins/*.vmx" ) {


in a perl script, but you don't have this:


    use File::Glob ':glob';


at the top, it fails, but not in any way that's predictable, or easy to debug. In this case, I only got *vmx files in odd numbered directories.


yea, yea, any decent programmer knows (or should know) that, but yeesh! No errors, no warnings, just bizarre behavior.

On the other hand, most stuff I write works the way I expect and doesn't require debugging once I re-learn the syntax, so maybe it doesn't suck that much.

Profile

milktree: (Default)
milktree

December 2025

S M T W T F S
 123456
78910 111213
14151617181920
21222324252627
28293031   

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Apr. 26th, 2026 03:22 am
Powered by Dreamwidth Studios