| dazjorz | yes |
| eMish | wow |
| dazjorz | a mailing list iirc |
| eMish | they are serious |
| apr5 | then at the bottom return undef; |
| rindolf | apr5: you can try using the perl debugger or perl -d:Trace |
| apr5 | so you dont know why? |
| rindolf | apr5: to see what's going on. |
| apr5 | ARGH *cries* |
| rindolf | apr5: not based on the details you gave. apr5: what is your perl version? |
| apr5 | 585 |
| rindolf | apr5: 5.8.5... apr5: there's already 5.8.8 |
| apr5 | dude stop trying to guess |
| rindolf | apr5: but I think 5.8.5 should be OK. |
| apr5 | it's nothing to do with that |
| rindolf | apr5: I'm not guessing. apr5: what does perl -d:Trace says? |
| pasteling | "dazjorz" at 212.123.140.190 pasted "Proc::UID fails to build" (91 lines, 4.7K) at http://sial.org/pbot/23557 |
| dazjorz | any ideas? |
| apr5 | I cant use trace sigh! |
| dazjorz | t/01_defined_subs....Can't load 'blib/arch/auto/Proc/UID/UID.so' for module Proc::UID: /root/.cpan/build/Proc-UID-0.04/blib/arch/auto/Proc/UID/UID.so: Undefined PLT symbol "getruid" (symnum = 53) at /usr/pkg/lib/perl5/5.8.0/i386-netbsd-thread-multi/DynaLoader.pm line 230. |
| rindolf | apr5: why can't you/ apr5: do you have it installed? |
| apr5 | nope, neither can I install it |
| dazjorz | looks like netbsd doesn't know about getruid |
| rindolf | apr5: it's a pure-perl module. |
| dazjorz | Paul Fenwick.... do I know him? |
| apr5 | also it's obviously something wrong with this line return "Invalid Service Group Name: $newServiceGroupName" unless $newServiceGroupName =~ /^[A-Za-z\d \-]{1,20}$/; if I comment it the function works fine |
| dazjorz | apr5: try to put "warn($newServiceGroupName)" in front of it and see if it is what you wanted it to be also |
| rindolf | apr5: maybe it sets the regexp match variables. |
| dazjorz | why [A-Za-z\d\-]? |
| apr5 | return "Invalid Service Group Name: $newServiceGroupName" unless '1' eq '2'; also returns '2' |
| dazjorz | try [a-z\d-] and then with /i |