#perl - Mon 23 Apr 2007 between 14:45 and 14:59



rindolfperlbot: sort
perlbotsorts are at http://www.perldoc.com/perl5.6/pod/func/sort.html and http://www.sysarch.com/Perl/sort_paper.html
infiperlbot parse html
perlbotDon't even THINK about using regular expressions; to parse HTML go to http://search.cpan.org/search?query=parse+html&mode=module
rindolfperlbot: html
perlbotdon't use regular expressions! See HTML::TokeParser, HTML::TokeParser::Simple, WWW::Mechanize, HTML::TreeBuilder, etc. See also http://htmlparsing.icenine.ca/
rindolfHeh what perlbot said is a Princess Bride-ism.
"You're in the pit of despair."
Daveman...
rindolfPit of disperl!
perlbot: pbride
__mmapyou're likely to be eaten by a grue.
rindolfperlbot: princess bride
Jmax-uberspaced: again, you're wasting time using stat instead of -x
Daveman:D
actionDaveman frantically ignites his rusty lantern
Davemanfrantically ignites his rusty lantern
rindolfperlbot: pbride is The Princess Bride - http://en.wikipedia.org/wiki/The_Princess_Bride_(film) - only the best film ever.
perlbotadded pbride to the database
actionCPAN upload: InSilicoSpectro-1.0.17 by ALEXMASS
CPANupload: 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_bidonf00li5h: 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
infiion_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.
infiion_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_bidonAni-_: o right
infiyeah, that was confusing, too.
ion_bidoninfi: 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.
Davemangumbybrain: roflcopter
GumbyBRAINHttp://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
bpalmeryou can always resolve the imports manually
infiion_bidon: no.
ion_bidon: plz to readink the docs.
ion_bidonAni-_: ok
bpalmerdarn, ([undef,undef])x8 ; uses the same reference for all 8 slots

Page: 1 8 15 22 29 36 43 50 57 64 71 78 85 

IrcArchive