| mrpengu1n | like somehow selecting that output go to an array |
| Chris62vw | mrpengu1n, you mean like this: use File::Slurp; my @file= read_file("filename"); ? |
| mrpengu1n | like I have a lot of print statements, and instead of it going to STDOUT can I send it to an array |
| Aankhen`` | I think he wants all `print` calls to be redirected to the array... |
| Chris62vw | or in a while loop, push $_, @stuff |
| mrpengu1n | ya |
| Aankhen`` | There isn't any way to do that, AFAIK... |
| Chris62vw | change then to push statements :-) |
| Aankhen`` | Aye. PUSH MA'AM, PUSH |
| Chris62vw | theoretically you could hijack print() (I think, but it is core, so I am not sure) and turn it into something else but that just sounds dirty |
| sili | eh, just tie STDOUT |
| action | CPAN upload: Catalyst-Model-S3-0.02 by DCARDWELL |
| CPAN | upload: Catalyst-Model-S3-0.02 by DCARDWELL |
| warpzero | god i love perl |
| Ani-_ | Stop stating the obvious things... |
| Aankhen`` | LOL PERL IS R0X |
| action | Aankhen`` ducks. |
| Aankhen`` | ducks. |
| warpzero | we don't happen to have an Adam Kennedy in here do we or someone who is up with the AppConfig |
| Randal | .seen alias |
| Ani-_ | Chris62vw: You can't hijack print() AFAIK |
| Randal | hmm - that doesn't do anything |
| Chris62vw | Ani-_, I wasn't sure... |
| Randal | his name here is alias |
| warpzero | oh |
| Chris62vw | Randal, can you hijack print(), and if not, why not? |
| Ani-_ | Chris62vw: but you can - ofcourse - open a filehandle to a scalar reference and then select that filehandle. That way all prints go to the scalar. |
| Chris62vw | Ani-_, aha! that's right |
| warpzero | .seen alias |
| Ani-_ | Chris62vw: I know there are several functions you can't hijack using CORE::GLOBAL. |
| warpzero | !seen alias bot not working? |
| Aankhen`` | Ding dong, the bot is dead. |
| Chris62vw | Ani-_, right. I remember trying before and not getting it to work |
| Ani-_ | Who cares? There are plenty of other bots to replace it... |
| Chris62vw | warpzero, use /msg seenserv seen NICK |
| hobbs | warpzero: bot not in existence. We have no bot that answers to !seen. :) |
| warpzero | 15:03:25 -SeenServ- I haven't seen alias recently well anyway someone want to give me AppConfig advice |