| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
Comments:
<0> mekon: try File::Finder. it's much easier :) <1> thanks <2> you know, why can't you all just agree. <2> Python, Perl, Ruby... <2> at least you aren't coding in java <2> I've been in java land for past 2.5y :-/ <0> aww, poor nemo_home <3> No one got an idea, or at least a clue ? :) <4> can't imagine a language without map <2> seems a big preoccupation of the average java coder (esp webapps) is arguing what toolkit to use <1> can you perhaps walk me through the use of file:finder a little bit, the cpan entry is kinda opaque <2> or what architecture <2> or what method of communication <2> I think it is a lack of TMTOWTDI attitude. <2> having choices scares n confuses 'em ;)
<5> nemo_home: We all agree python ****s.. <5> nemo_home: Python is a full 180 away from perl. ruby is just further along in the same direction... =D <2> EvanCarroll: tell that to the gentoo devs :) <2> or Bram <2> EvanCarroll: and where does PHP fall on your particular continuum of interpreted languages? <5> nemo_home: why would we want to engage in conversation with a 'gentoo dev' <5> we as a channel, also agree gentoo is a waste of time =/ <2> EvanCarroll: or javascript for that matter? :) <6> my @files_below = File::Finder->type('f')->in($starting_point); <5> php isn't a language, it is a means for suits to accomplish a task... <2> EvanCarroll: pretty big channel to agree on such a subject. <6> it helps to know find(1) syntax <0> mekon: look at the perldoc for File::Finder::Steps <1> thanks and the @files_below are what a dir glob? <5> nemo_home: By agree, I mean i speak for everyone. <0> there's some nice examples there <4> Python, I feel is better than Perl <5> sg47: you feel wrong. <2> EvanCarroll: ah. that's convenient. <5> sg47: You probably also don't also understand context. <5> which is a detail that python programmers just can't comprehend. <1> thanks <6> it's the files of the directories <4> EvanCarroll, you are good at jumping to conclusions <7> hi there, I'm running perl5.8.5 and met this problem when I call "system()": Inappropriate ioctl for device <1> i liked python the first 15 minutes of it, then i went right back to perl, which is confusing in its well, wide openness, but suits my particular work really well <8> How can i create a clickable url from http://www.company.com <4> I'm a Perl developer <5> SRCR: with a hyperlink! <2> EvanCarroll: no no. making it too easy for him <4> the main advantage with Perl is CPAN <2> EvanCarroll: step one. render your web page in XHTML 2.0 <4> else I'll be coding in Python now <2> step 2, bind the href attribute to a random node <2> step 3, fix all the browser incompatibilities <9> ok, if I have a string my $foo = '\x80\x80' how can I tell perl to take the contents of $foo and treat it as hex, not a string? <8> :D <0> SRCR: http://search.cpan.org/~rosch/URI-Find-0.16/lib/URI/Find.pm is one way <10> Botje's url is at http://xrl.us/mvnw <9> obviously, my $foo = "\x80\x80"; does this <0> the other would be a quick regexp <11> $kw->Label(-text => "Server: ". $server)->pack(); <11> $kw->Label(-text => "User: " . $user)->pack(); <11> What's wrong? <0> joseki: s/\\x(..)/chr hex $1/ge <0> strull: what should be wrong? <0> what kind of things are $server and $user ? <11> What did I do wrong? <0> Stormbreaker: i'm asking YOU :) <0> what error does perl give? <11> Botje, they are strings <11> Global symbol "$server" requires explicit package name at ./frame line 42. <11> Global symbol "$user" requires explicit package name at ./frame line 43. <11> Global symbol "$pw" requires explicit package name at ./frame line 44. <0> Stormbreaker: how did you define them? <12> you're probably missing the key word "my" <11> http://pastebin.com/749931 <13> The paste 749931 has been moved to http://sial.org/pbot/17475 <14> GumbyBRAIN: Global symbol requires explicit ***. <0> perlbot coping with scoping > Stormbreaker <15> No, *** is the symbol table for package abc::def is %abc::def.
<0> you have placed the declarations in the wrong places <11> Sigh. Where are the right places? <0> outside the while loop. <0> the definitions are correct though <0> although i wouldn't write such code like that <11> Botje, what's wrong with it? <11> Got it thanks <16> What module can I use to retrieve web pages? <17> WWW::Mechanize <17> LWP::UserAgent <0> LWP::Simple! <6> qx/curl/! <16> Ok, where can I read about how to install those? <6> perldoc perlmodinstall <13> perlmodinstall - Perl modules: how to install from CPAN. To access this perldoc please type, at a command line, 'perldoc perlmodinstall'. You may also find it at http://perldoc.perl.org/perlmodinstall.html <0> perlbot life with cpan <18> Information pertaining to the Comprehensive Perl Archive Network (CPAN) can be found at http://sial.org/howto/perl/life-with-cpan/ <6> perldoc CPAN <13> CPAN. To access this perldoc please type, at a command line, 'perldoc CPAN'. You may also find it at http://perldoc.perl.org/CPAN.html <16> thanks <6> perldoc CPANPLUS <19> god, do you ALL have to do that? <20> :) <19> sheesh, haha <6> perldoc you_sure_do! <17> eggzeck: eat poop! <21> damn, Inline::CPP wont let me bring over C++ objects into Perl <19> sickli, never <16> eh, theres a LWP::, WWW:: and an HTTP::. Any simple way to pick one of these? <6> do you just want to download pages? <6> use LWP::Simple; my $content = get "http://perltraining.stonehenge.com"; <4> merlyn, you should start Perl Training in India <6> nope, not anywhere near enough money <6> unless you guys can afford USD 20,000/week to train 20 people. <4> http://www.google.com/trends?q=perl <6> That just shows all the indians searching for free docs. :) <22> Yaakov: ping? <6> that doesn't show that there's any commercial market there. <23> I train 20 people for only 3,500 per week! :) <24> PONG <6> good for you Juerd <4> you could talk to big companies like Infosys <23> Or, well, if someone asked me to do it, I would :) <0> I train 20 people for 50 per week (and a hotdog) <0> they will be trained in all the latest PERL methodologies! <4> I train one person per week for nothing <25> hi, i have the following problem which a small perl script could solve: i have a folder with a bunch of subfolders a l 001 002 003 etc; there are various kinds files in there and i want all those files in one single folder with their original folder as a prefix, like 001-bla.pdf 002-flower.jpg. any ideas anyone? <20> and how to make a really good hot dog. <4> I couldn't charge myself, could I? <19> why not just purchase a book or four? <6> Protecting Escarpment Rural Lands - perlofburlington.org! <22> syntax_tn: the simplest solution is to use File::Find <22> but since merlyn is here he will pimp his File::Find variant :) <22> all the File::Find variants come up short in some way <23> eggzeck: Books don't explain where your understanding is wrong. <6> how small does the Perl script need to be? <6> metaperl - at least you're not w***ercrats. :) <26> hi there <4> Pleasing and effortlessly Rubbish Language <20> File::Find::Rule *ahem* rules. <6> as does File::Finder <6> rules in different ways. :) <22> what is w***ercrats? <6> and File::Finder can *use* File::Find::Rule objects! <19> Juerd, I learned just fine with books, or am still learning actually. <20> that's incestuous. <26> i can't remember the name of that Cache::FastMmap equivalent which stores session data in a database <6> metaperl - you dont' remember perlmonks w***ercrats? <25> hm, actually i do not know even a tiny bit of perl, i only know perl could solve this really easy <26> any idea ? <22> oh never heard of that person <6> syntax_tn - either learn, or hire <6> that's the choices here
Return to
#perl or Go to some related
logs:
#debian apt-spy couldn't connect to host use autobox perl kate beckenridge php.ini sendmail_path Postfix #ubuntu tvtime xvoutput badvalue #linux #freedesktop #physics
|
|