#perl - Sun 20 May 2007 between 03:46 and 03:54



zamolxesthinksInCode: very
thinksInCodeI eat breathe and sleep Java but at my company one of our products uses perl extensively, so I figure perl would be a good second language to start learning.
Davemanjdv! :o
stuufyou'll have trouble going back to java without going completely insane though
thinksInCodehaha, why do you say that?
just because the languages are so different?
MikiMousewhen perl6 will become the standart version
zamolxesthinksInCode: lol, that was obvious fromm your camel case nick :)
MikiMouse?
stuufand because java is so restrictive once you learn how to do cool things in perl
MikiMouse: chrostmas
umber_hulkits gr8!
stuufchristmas*
thinksInCodewell yeah, java is not known for its brevity
umber_hulkjava restrictive?
MikiMousestuff with perl6 interpreter, do we still program in perl5
umber_hulkwaoa
thinksInCodeI recently had to write some code that ran the "top" command and parsed the output to get the CPU utilization of a machine, and when I sent it around for code review, one of the perl guys was like, "this is how to do it in perl" and it was like 2 (cryptic) lines
umber_hulkperl 6 isnt out yet is it?
stuufperl6 can read perl5 code in compatibility mode, but perl6 code is completely different
umber_hulkuse vmstat
MikiMousestuff i mean do we still can program in perl5
stuufit's partially implemented, http://www.pugscode.org/
with a perl6 interpreter?
MikiMouseyes
stuufi believe that is the plan, you can use either version
MikiMousethanks
thinksInCodeso I thought I would start reading perl newsgroups and lurk in a perl irc channel once in a while, so, here I am.
;)
jjorethinksInCode: did you ever think to just capture the output of the vmstat command?
thinksInCodeno, but capturing the output of top was just as easy
zamolxesthinksInCode: read learning perl and intermediate perl, those should get you started, they're very concise. Then grab a copy of Perl Best Practices, it gives a lot of insight on what NOT to use. Also check out Moose
thinksInCodewhat's Moose?
zamolxesa distribution on cpan
http://search.cpan.org/dist/Moose
dre^gotta be careful any time you are parsing complex formats... they can change. there are many developers who feel that cli tool output isn't as strong as a true api 'contract'.
just in terms of 'the long run' and all that
Aankhen``MikiMouse: The plan is for this to work: use v6; ...some Perl 6 code...; { use v5; ...some Perl 5 code...; }; ...back to you, Perl 6...
zamolxesthinksInCode: if you're interested in database stuff, also check out DBIx::Class, if you're interested in web stuff, try Catalyst
or Jifty

Page: 5 12 19 26 

IrcArchive