| rindolf | perlbot: sort |
| perlbot | sorts are at http://www.perldoc.com/perl5.6/pod/func/sort.html and http://www.sysarch.com/Perl/sort_paper.html |
| infi | perlbot parse html |
| perlbot | Don't even THINK about using regular expressions; to parse HTML go to http://search.cpan.org/search?query=parse+html&mode=module |
| rindolf | perlbot: html |
| perlbot | don't use regular expressions! See HTML::TokeParser, HTML::TokeParser::Simple, WWW::Mechanize, HTML::TreeBuilder, etc. See also http://htmlparsing.icenine.ca/ |
| rindolf | Heh what perlbot said is a Princess Bride-ism. "You're in the pit of despair." |
| Daveman | ... |
| rindolf | Pit of disperl! perlbot: pbride |
| __mmap | you're likely to be eaten by a grue. |
| rindolf | perlbot: princess bride |
| Jmax- | uberspaced: again, you're wasting time using stat instead of -x |
| Daveman | :D |
| action | Daveman frantically ignites his rusty lantern |
| Daveman | frantically ignites his rusty lantern |
| rindolf | perlbot: pbride is The Princess Bride - http://en.wikipedia.org/wiki/The_Princess_Bride_(film) - only the best film ever. |
| perlbot | added pbride to the database |
| action | CPAN upload: InSilicoSpectro-1.0.17 by ALEXMASS |
| CPAN | upload: InSilicoSpectro-1.0.17 by ALEXMASS |
| pasteling | "ion_bidon" at 134.157.204.208 pasted "undefined subroutine (2)" (75 lines, 850B) at http://sial.org/pbot/24436 |
| ion_bidon | f00li5h: I have compacted my problem on a small example; you can find all the file contents and the error if anyone could give me a hint about the problem, it's appreciated |
| infi | ion_bidon: use Test::A qw(:all); also, b1 and b2 are not listed in @EXPORT or @EXPORT_OK. which it plainly says is necessary in the docs. |
| Ani-_ | ion_bidon: you should start by naming your subroutines properly. |
| infi | ion_bidon: Names in EXPORT_TAGS must also appear in @EXPORT or @EXPORT_OK. |
| Ani-_ | ion_bidon: in Test::A I expect to see the subroutines a1 and a2. In Test::B I expect to see the subs: b1 and b2 . |
| ion_bidon | Ani-_: o right |
| infi | yeah, that was confusing, too. |
| ion_bidon | infi: the export_tags('all') should put them into @EXPORT ? |
| Ani-_ | ion_bidon: either way, if Test::A needs to import subroutines from Test::B and Test::B needs to import subroutines from Test::A then you might be screwed. |
| Daveman | gumbybrain: roflcopter |
| GumbyBRAIN | Http://www.thethirteenthstep.com/stfu/roflcopter7.gif omgrofl!1!!!1! Or see lollerskates. |
| Ani-_ | ion_bidon: what you can try: add an explicet import in the code. That is: use Test::B; Test::A->import(); |
| Daveman | ;p |
| bpalmer | you can always resolve the imports manually |
| infi | ion_bidon: no. ion_bidon: plz to readink the docs. |
| ion_bidon | Ani-_: ok |
| bpalmer | darn, ([undef,undef])x8 ; uses the same reference for all 8 slots |