[Boston.pm] perl document license?

2004-01-24 Thread email
use the perl license for their documentation too? I know there's a GNU documentation license too. Has anyone on the list open-sourced a document? what license did you use? and why? ___ Boston-pm mailing list [EMAIL PROTECTED] http://mail.pm.org/mailman

[Boston.pm] iperl.20040215.xxx

2004-02-05 Thread email
are scheduled for deletion. Enjoy. Greg ___ Boston-pm mailing list [EMAIL PROTECTED] http://mail.pm.org/mailman/listinfo/boston-pm

[Boston.pm] test::something that captures/hide expected stderr

2022-03-07 Thread email
I'm not very experienced with Test::* type modules. I'm using Test::More, but I'm not attached. If there is some otehr test module that solves the below problems, I will switch. First thing, when I run Test::More and there are problems, I get a summary report at the end like: # Looks like

Re: [Boston.pm] converting a thing to a number

2022-02-22 Thread email
Third option is to use oct() and hex() based on pattern ~/perl -le 'print hex("0xdeadbeef")' 3735928559 ~/perl -le 'print oct("0177")' #also handles 0b 127 my $match = /^\s*0([xb])?[0-9a-f]+?/; my $num; if( $match && $1 eq 'x' ){ $num = hex() } elsif( $match && ( $1 eq 'b' or $1 eq undef) ){

[Boston.pm] more specific regex error messages?

2022-02-25 Thread email
I have a rather complex regex that I'm throwing text at. if($str=~m/\Athing1\:thing2\,thing3\@(\w+)\?(\d+)\Z/){ # process str } else { die "bad str 'str' "; } Is there a way to get better built in reporting with regexps? with the above, if the string doesn't match, I get "bad input".

Re: [Boston.pm] converting a thing to a number

2022-02-23 Thread email
Copy/pasting a regexp for checking would probably work in my situation. That numpack idea is great. It solves another issue i didnt even mention which is that some numbers can be arbitrarily huge. If i parse one char at a time, I should be able to use bignum and still get the correct answer.

[Boston.pm] converting a thing to a number

2022-02-22 Thread email
ok, so, I need to read in some numbers from a file. Numbers need to allow integer, float, signed/unsigned, as well as supporting decimal, hex, binary, octal. Extra level of annoyance: using modules from cpan is difficult. So, if it can be pure perl, all the better. What I came up with was this:

[Boston.pm] Perl for defining a complex register map

2022-02-10 Thread email
Looking for a perl tool, module, script that would help me define a register map for firmware, and take that map and generate code, documents, you name it. Needs to support 32 bit wide registers with sub fields, and sub-sub-fields. And needs to be something that can handle a large submap

Re: [Boston.pm] unit testing socket code

2022-09-13 Thread email
the amount of test code is likely to far exceed the amount of code being tested! The industry standard rule of thumb for ASICs is the pre-tapeout verification effort is 3x the desigm effort. On 2022-09-13 09:05, Bill Ricker via Boston-pm wrote: On Tue, Sep 13, 2022 at 9:38 AM Adam