Quotthe
Bunch is a dictionary which supports attribute-style access, a la javascript. >>> b = Bunch() >>> b.hello = 'world' >>> b.hello 'world' >>> b['hello'] += "!" >>> b.hello 'world!' >>> b.foo = Bunch(lol=True) >>> b.foo.lol True >>> b.foo is b['foo'] True Dictionary Methods A Bunch is a subclass...
Platforms: *nix
License: Freeware | Size: 10.24 KB | Download (39): Bunch for Linux Download |
The string_glob_permute() function provided by the String::Glob::Permute Perl module expands glob-like notations in text strings and returns all possible permutations. For example, to run a script on hosts host1, host2, and host3, you might write @hosts = string_glob_permute( "host[1-3]" );...
Platforms: *nix
License: Freeware | Size: 10.24 KB | Download (40): String::Glob::Permute Download |
Regexp::Fields is a Perl module that adds the extended (? ...) pattern to Perl's regular expression language. This works like an ordinary pair of capturing parens, but after a match you can use $&{name} instead of $1 (or whichever $N) to get at the captured substring. The %{&} hash is global,...
Platforms: *nix
License: Freeware | Size: 491.52 KB | Download (31): Regexp::Fields Download |