more useful options | |
PerlMonks |
Re: Working with Binary Numbersby blokhead (Monsignor) |
on Sep 24, 2007 at 21:09 UTC ( [id://640824]=note: print w/replies, xml ) | Need Help?? |
Perl already has a nice built-in way to expand wildcards, it's called glob. It's just a simple matter of converting your wildcard syntax into one that glob recognizes.
Update: There is also an easier built-in way to convert them to integers from binary:
blokhead
In Section
Seekers of Perl Wisdom
|
|