Home Page   #c  #ruby-lang  #cisco  #mysql  #apache  #javascript  #java  #perl  #php  #openmoko   Wallpapers Girl
Reliable $1 Web Hosting by 3iX

Channels


#perl

13 October 2007


Total 39 pages. You are browsing page 3/39.

First :: Prev :: [1] [2] [3] [4] [5] [...] :: Next :: Last

00:45 <****> dude, trees can't run
00:45 <****> The amble.
00:45 <****> they roll well enough after some surgery though
00:45 <****> but you can use B::Bytecode !
00:45 <****> mauke, they can without root
00:45 <****> yes, trees can run :)
00:45 <****> ENT ENT ENT
00:45 <****> rolling is not running
00:45 <****> the sap runs :)
00:45 <****> I was just wondering because i've seen really large perl programs run very fast
00:45 <****> for pizza?
00:46 <****> watch out for really long lines though.. they slow perl down a lot!
00:46 <****> so i shouldn't put all my code on one line?
00:46 <****> I would thought it would be slow but I ran large programs that returned reasonably fast for large amounts of data.
00:46 <****> rei_0000: perl -wle 'print scalar getpwuid($<)';perl -le 'print scalar getpwuid($<)' # both work for me (again with ldap/krb)
00:46 <****> PERL IS FAST
00:47 <****> convivial, you're used to Java's idea of "fast", not Perl's
00:47 <****> preaction, yes, you shouldn't, though not because of what I said, since it's not true.
00:47 <****> perl has been optimized for quite a while now...
00:47 <****> yes, i'm a java programmer by nature
00:47 <****> all these regexp are difficult to get use to.
00:47 <****> convivial: I'm terribly sorry.
00:47 <****> convivial: condolences...
00:47 <****> java's implementation of regexp is worse :p
00:47 <****> although, the fact that I like vi does help.
00:47 <****> woo
00:47 <****> regexes are a lot uglier to use in java, yes.
00:48 <****> (or in any language but perl, really.)
00:48 <****> yes, java regexpr is not fun either.
00:48 <****> I wish everyone would stick to a standard regexpr BNF :(
00:48 <****> Perl
00:48 <****> perl
00:48 <****> iank: I did the following command where it didn't work 'perl -ew "print getlogin($<)"
00:48 <****> wolverian: they aren't that bad in JS
00:49 <****> I like saying "perl".
00:49 <****> I know,sed and a lot of other utilites use Perl regexpr type BNF
00:49 <****> rei_0000: w before e
00:49 <****> rei_0000: the next thing after -e is the code to run :)
00:49 <****> Khisanth, right, though ruby is even closer to perl than js.
00:49 <****> Khisanth, (but still, neither is quite as nice as perl)
00:49 <****> so it's position dependant, I'll keep that in mind
00:49 <****> rei_0000: you just did "perl -e 'w'", effectively.
00:49 <****> but sed is a nightmare, I switch perl after 3 hours of following around with sed and awk :(
00:50 <****> cool, thanks for the info :)
00:50 <****> rei_0000, also, only use "" to quote the code if you're on windows
00:50 <****> (and not using cygwin)
00:50 <****> perl has saved my life
00:50 <****> it's regexpr are hard but everything else is pretty simple, but I don't know how to write optimized perl scripts and will probably never learn that skill
00:51 <****> optimise only if it's too slow, not before
00:51 <****> is there a tool that makes suggestions on how to optimize perl scripts?
00:51 <****> or is it an artform?
00:52 <****> not really. just use good algorithms and data structures.
00:52 <****> ok.
00:52 <****> (good = right for the job)
00:52 <****> convivial: if it was easy to do programmatically, the perl interpreter would do it for you ;)
00:52 <****> In fact, in a lot of cases it does.
00:52 <****> I guess I should stop using bubble sort then
00:52 <****> khisanth: use fucksort, of course.
00:52 <****> I noticed that perl has a multitude of modules I bet there is a module for almost anything I wanna do :))
00:53 <****> woggle: Added to perl core as of 5.006
00:53 <****> cfedde: ''ERROR: 9461: 9461: Can't locate Term/ANSIColor.pm in @INC (@INC contains:) at (eval 213) line 1.BEGIN failed--compilation aborted at (eval 213) line 1.
00:53 <****> mauke: ''ERROR: 9502: Can't locate Term/ANSIColor.pm in @INC (@INC contains:) at (eval 213) line 1.
00:53 <****> hehe
00:53 <****> LeoNerd: [1,2,3,undef,5]
00:53 <****> althoug, ooperl scares me, is that difficult to do?
00:53 <****> iank: Right here
00:53 <****> Khisanth, well, yeah, there's no good situation for bubblesort
00:53 <****> buubot: JERK IT
00:53 <****> aIIRRR
00:53 <****> iank: WHEN I SAY I LICKED ~9 DICKS COULD THAT MEAN 8 OR 10 OR 9.25 BECAUSE HONESTLY THIS TIME I DON'T REMEMBER
00:53 <****> Chris62vw: ME AND THE MISSUS HAD A GOOD CRY AND IT TURNS OUT IT'S OKAY THAT I'M GAY CAN I PLEASE STAY IN YOUR HOUSE UNTIL MARCH
00:53 <****> iank: ANOTHER BIG FAT RAPPER WEARING REALLY BRIGHT CLOTHES TO EMPHASIZE HOW FUCKING FAT HE REALLY IS ALL I HAVE IN THIS WORLD IS MY BALLS AND MY WORD I'LL THROW MY BALLS INTO THE MIX ALSO AND THIS GUN AND THEREFORE YOUR ATM CARD SIR (POINTING)
00:53 <****> oh dear
00:53 <****> khisanth: it's done
00:54 <****> That could have been worse ;)
00:54 <****> it's /done/ -_-
00:54 <****> that depends on how many times you did that!
00:54 <****> khisanth: that was the last, I counted.
00:54 <****> convivial, only if you don't know what you're doing. see perldoc perlboot, perldoc perltoot, Beginning Perl, Learning Perl.
00:54 <****> khisanth: you banned it several seconds after the last one, anyway. It'd have to be /really/ slow at jerking it for there to be more.
00:55 <****> ok, I will. thanks a lot for the help!
00:55 <****> convivial, and after those, consider using a ready-made OO framework like Moose.
00:55 <****> (it's on CPAN.)
00:55 <****> ok :))
00:55 <****> actually that wasn't a ban :)
00:55 <****> bye people!
00:55 <****> cheers
00:55 <****> +b with a % on the front is a gag
00:55 <****> yeah
00:55 <****> +q or whatever
00:55 <****> But it's the same effect as +b if you never leave the channel :)
00:55 <****> +b w/o kick is effectively a gag until they leave the channel, then it's a ban
00:55 <****> oh, nice, does that work on efnet?
00:56 <****> wolverian: doubt it
00:56 <****> wolverian: It's something freenode crapped out^W^Wmade up
00:56 <****> heh
00:56 <****> but it wasn't a +b either :)
00:58 * CPAN upload: Test-Weaken-0.001_003 by JKEGL
00:59 <****> buubot loves to be gagged
00:59 <****> Chris62vw: Stored loves


Total 39 pages. You are browsing page 3/39.

First :: Prev :: [1] [2] [3] [4] [5] [...] :: Next :: Last


Tutti i nuovi CAP Italiani. Come ottenere il database completo