#perl - Fri 9 Mar 2007 between 08:54 and 09:04



matteomarch 9 2007? stale mirror?
do i need to update the list from time to time?
Ani-_perlbot: life with cpan
perlbotInformation 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...
CianticAni-_, 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)
CianticAni-_, buffering specific parts of my output and storing it to variable, for usage
Ani-_Why are you printing them in the first place then??
CianticAni-_, 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?
CianticAni-_, 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.
matteoAni-_: that's explained how t obuild a mirror list, but how to upgrade an existing one?
CianticAni-_, 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.
davecardwellhaving some trouble with a regexp - I thought [^(foo)]* would match anything but the three characters "foo" in a row
CianticAni-_, the recursive output buffers is the usual way to deal this, if Perl can't handle it then fine
davecardwellbut there is no match with: perl -e 'print "<td adsds>asdsaf</td>" =~ m{<td[^>]*>[^(foobar)]*<\/td>}'
rindolfHi all.
f00li5hrindolferson!
Ani-_matteo: learn to read...
maukedavecardwell: 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 ...
rindolfdavecardwell: [] is for individual characters.
f00li5hdavecardwell: [ is a character class, it matcheds any of the characters witin
rindolfHi f00li5h
davecardwellhow do I match the entire string?
maukeyou don't
f00li5hdavecardwell: anchor it with ^ and $
davecardwellthere is no way of saying 'not "foo"' ?
Khisanthmatteo: 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.
CianticAni-_, thanks

Page: 2 9 16 23 30 37 44 51 58 65 72 79 

IrcArchive