| matteo | march 9 2007? stale mirror? do i need to update the list from time to time? |
| Ani-_ | perlbot: life with cpan |
| perlbot | Information pertaining to the Comprehensive Perl Archive Network (CPAN) can be found at http://sial.org/howto/perl/life-with-cpan/ |
| Ani-_ | Look there on how to update your mirror Ciantic: you are not making sense... |
| Ciantic | Ani-_, huh? buffering output? not making sense? |
| Ani-_ | That's not what you said... You saud buffer prints and storing *something* in variables? What exactly do you want? Perl already does output buffering. (Unless you enable autoflush) |
| Ciantic | Ani-_, buffering specific parts of my output and storing it to variable, for usage |
| Ani-_ | Why are you printing them in the first place then?? |
| Ciantic | Ani-_, probably I can't control wether they print or not? like functions |
| Ani-_ | If you use print then it will print something. Sure you can manipulate some things and make it end up in a variable but why are you printing it then in the first place? And not storing it in a variable? |
| Ciantic | Ani-_, because the printing or storing is not in my control the function provided just *prints* therefore |
| Ani-_ | It is in your control. You can always patch something. |
| matteo | Ani-_: that's explained how t obuild a mirror list, but how to upgrade an existing one? |
| Ciantic | Ani-_, you mean I should go and fork the 3rd party stuff just to get them return stuff in string rather than their default print? |
| Ani-_ | Ciantic: No, I mean you should patch the 3rd party stuff and then mail it to them. Explaining why you need it and why it is addition to the thing. |
| davecardwell | having some trouble with a regexp - I thought [^(foo)]* would match anything but the three characters "foo" in a row |
| Ciantic | Ani-_, the recursive output buffers is the usual way to deal this, if Perl can't handle it then fine |
| davecardwell | but there is no match with: perl -e 'print "<td adsds>asdsaf</td>" =~ m{<td[^>]*>[^(foobar)]*<\/td>}' |
| rindolf | Hi all. |
| f00li5h | rindolferson! |
| Ani-_ | matteo: learn to read... |
| mauke | davecardwell: wrong. [^(foo)]* will match 0 or more characters that aren't '(', 'f', 'o' or ')' |
| Ani-_ | matteo : 'For example, other o conf commands can be used to list, remove, and add mirror sites, and then to save the changes to disk.' ... some examples ... |
| rindolf | davecardwell: [] is for individual characters. |
| f00li5h | davecardwell: [ is a character class, it matcheds any of the characters witin |
| rindolf | Hi f00li5h |
| davecardwell | how do I match the entire string? |
| mauke | you don't |
| f00li5h | davecardwell: anchor it with ^ and $ |
| davecardwell | there is no way of saying 'not "foo"' ? |
| Khisanth | matteo: there might be something wrong with your Metadata file as well, if you run m /Video::Info/ in the cpan prompt it should tell you went it was generated |
| Ani-_ | Ciantic: I never said Perl can't handle it. I'm saying that it will be an ugly (and probably confusing - for the maintainer) solution. Ciantic: open a filehandle to a scalar, then select that output handle, then call the function, then select STDOUT. That's all you need. |
| Ciantic | Ani-_, thanks |