| godzirra | sirhc: awesome! Thanks so much ;) that was it. |
| whoppix | PerlJam, ah, its perlvar, i was searching in perlretut, thx for the hint :) Terminus, hm, how does that work? |
| PerlJam | whoppix: There are 3 special variables that are exactly what you want. |
| Terminus- | eval: $s = "foo bar baz"; @r = $s =~ m/(foo)(bar)(baz)/; $s; |
| buubot | Terminus-: foo bar baz |
| Terminus- | eval: $s = "foo bar baz"; @r = $s =~ m/(foo)(bar)(baz)/; $r; |
| buubot | Terminus-: |
| Terminus- | whoops... eval: $s = "foo bar baz"; @r = $s =~ m/(foo)(bar)(baz)/; @r; |
| buubot | Terminus-: 0 |
| Terminus- | i think i'm being stupid. |
| PerlJam | whoppix: note however, that their use will impact the performance of every RE in your program. (It's relatively minor, but you should be aware) Terminus-: your approach is also valid if your implementation flawed :) |
| Terminus- | eval: $s = "foo bar baz"; @r = $s =~ m/(foo)(bar)(baz)/; $r[0]; |
| buubot | Terminus-: |
| whoppix | PerlJam, hm, by means, if i dont use them the perl interpreter dont has to generate them? |
| adeltac | Anyone know - is it possible to pass a subroutine reference from perl in to an XS C function, and then for the C function to call the sub ref? |
| PerlJam | adeltac: I'm fairly sure it's possible though I don't know how to do it. |
| Terminus- | PerlJam: yeah. i haven't touched perl in weeks! >_< |
| Yaakov | eval: $_ = "foo bar baz"; @r = m/(foo) (bar) (baz)/; \@r |
| buubot | Yaakov: ['foo','bar','baz'] |
| PerlJam | whoppix: something like that. |
| adeltac | PerlJam: ya, I'm pretty sure as well. hoping I can find a sample or tutorial or something. |
| Terminus- | Yaakov: hehe. forgot about the spaces. =) |
| whoppix | well, much thanks to both of you, i think performance doesn't matter that much in this case. |
| Yaakov | It does cause the whole thing to work differently. |
| PerlJam | whoppix: That's often the case :) |
| whoppix | PerlJam, just a chat client which parses a simple markup language, so no worries about performance :) |
| Yaakov | Performance is overrated. |
| perlygatekeeper | anyone watch the office? |
| dunstabulos | is there a win32 Crypt::SSLeay available? |
| woggle | Yes. What perl distribution are you using? |
| dunstabulos | activeperl 5.8.8.820 |
| woggle | Please read http://aspn.activestate.com/ASPN/Downloads/ActivePerl/PPM/Repository , then. (Especially the second section.) |
| dunstabulos | woggle: thanks |
| integral | .noonretfa doog |
| DrSlump | hello |