Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

perl

Name: Anonymous 2009-05-07 0:18

i was directed to ask you guys, so sorry for the copy/paste:

i have a quick question for you:

i have the itch to write a program in PERL. my ultimate goal is this: i have the learning program daisy.exe, and i would like to create a way for daisy to passively access wikipedia and use the articles as input. that way, when i'm not talking to daisy, it can access wiki and get more knowledge about a greater variety of things. when i brought this up on /r9k/ a while back, people were generally disinterested. the only helpful suggestion was that i write a program in PERL that would get this done.

originally i thought that there was maybe an app or add-on or something that somebody had already written for it, and i could just install that and tweak it a bit. but, since i have to apparently write a program, how hard is it to write in PERL? i have zero experience with writing in anything, but as this is just a hobby, i have plenty of time to teach myself if it is worth it.

so /g/, how hard is PERL? given the description of what i want to do, is this remotely feasible?

Name: Anonymous 2009-05-07 10:51

>>11,17,18
Perl lets you write as good or as bad a program as any other.
The point about Perl is that it lets you write this program any way you like. Functional, OO, Imperative, Declarative, etc.
"There's more than one way to do it" isn't a motto, it's a description for the multi-paradigm nature of Perl.

Thing is, because everything is so broad, it gets more confusing as you move on. Perl's learning curve starts off gently and then reaches a steep climb, until you've grokked it all. Then you get how logical and easy things are and it's smooth sailing.

Perl is as readable as you make it. The stereotype comes from using regular expressions as a first level operator. Regex isn't that hard, but yes, it does tend to be Write-Once-Read-Never at times. That, however, is not Perl; and trust me, once you start using regex, you won't understand how you lived without them.

C and its ilk are languages for programs.
Perl is a language for programmers.

Wait... A serious post? In my /prog/? Let the trolling commence.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List