Talk:Perl Programming
From Wikibooks, the open-content textbooks collection
Contents |
[edit] Placement of exercises
I apologize for inserting exercises in simple examples without checking for exercises elsewhere. I kind of feel like having the exercises inline is a good idea, since this is not a reference work. Still mulling this one over, advice welcome. --Yath 00:21, 20 Sep 2004 (UTC)
[edit] if
Does anyone know a decent reason why "the if control structure" should get its own section? Shouldn't it just be covered in the section on control-flow operators? -- MrItty 13:37, 17 Nov 2004 (UTC)
[edit] Gui Programming
Does anyone know why the Gui programming bit is left out? 203.173.160.10 19:01, 19 Feb 2005 (UTC)
[edit] Problem with navigation
I saw a problem with the prognav. The articles do not follow the order specified in the index. I tried to fix it. Since I'm not very experienced it would be best if someone can check-out the changes. --213.240.227.183 10:37, 16 September 2005 (UTC)
[edit] Maybe rename to slash-split pages
Apparently, on MediaWiki, if the pages were named
- Programming:Perl / Getting started
- Programming:Perl / First program
- Programming:Perl / Strings
- Programming:Perl / Numbers
- Programming:Perl / Operators
- Programming:Perl / Data Types
- Programming:Perl / Data Types / Scalar Variables
- Programming:Perl / Data Types / Array Variables
- Programming:Perl / Data Types / Hash Variables
- Programming:Perl / User I/O
- Programming:Perl / Advanced Output
- Programming:Perl / Making choices: if and else
- Programming:Perl / Doing things over and over: while and for loops
- Programming:Perl / Filehandles
(and so on), then we'd get navigation and table-of-contents for free. The Grand_Theft_Auto:_San_Andreas wikibook moved to this. Why aren't the pages named like this? If no-one objects, I'd be happy to start the renaming. --Randal L. Schwartz 19:39, 16 September 2005 (UTC)
Sounds perfect. Is there any way to make the watching work the same way so we can watch the whole book, not just individual pages --155.91.19.73 00:02, 28 September 2005 (UTC)
- You should not add spaces arround the '/' - only without spaces the page is considered a "subpage." --Krischik T 07:29, 11 October 2005 (UTC)
You should remember, that WB:NP does not force renaming of old books - it's often too complicated.
- Having just renamed the largest of the programming books (205 modules - the remaining of programming is now only 481 modules), I can say: it's not to complicated to rename a book if you plan it propper (Talk:Ada_Programming/New_Name_needed). It's just a choice if you want to do it or not. --Krischik T 12:02, 11 October 2005 (UTC)
I won't reccomend slash convention as navigation is already present in the book and automatic links would only mess up. IMO if you want to change naming convention, you should use flat semicolon convention:
- Programming:Perl:Operators
- Programming:Perl:Data Types
- Programming:Perl:Scalar Variables
It also has advantage of consistency with Programming: prefix - if we use both semicolon and slash in names, we would confuse reader. --Derbeth 08:16, 11 October 2005 (UTC)
- Indeed. Books inside Programming are better off using ":" - only it's called a colon not semicolon - the later is the ";". --Krischik T 12:02, 11 October 2005 (UTC)
[edit] Wikibooks:Naming policy
You might want to consider the WB:NP. You current naming convention is deprecated and has several disadvantages - like it has no navigational links. Also you worthy effort is neiter considered a book nor a section inside a book. See wikistats which implements an exstensive book and section detector.
--Krischik T 07:15, 11 October 2005 (UTC)
- Alright I renamed a good portion of the pages. I've been getting many server errors and am going to stop now. To the next reader...keep the torch lit! Justforasecond 05:34, 5 June 2006 (UTC)
[edit] PerlScript
I am discussing the Windows Script Host in the Windows Programming book, and I have touched on the topic of "PerlScript". I notice that this book currently doesn't have a section on PerlScript, but I think it is a usefull enough topic to have a place somewhere here in Wikibooks. My question is, should I discuss it in the Windows Programming book, or should we discuss it here at Perl? --129.32.61.130 00:24, 24 February 2006 (UTC)
- It could be mentioned in passing here maybe with some examples, but it probably doesn't make sense to have a ton of detail. 71.112.2.226 05:19, 14 June 2006 (UTC)
[edit] Perl Wikibot
I am currently working on a perl framework for interfacing with mediawiki. The framework has a number of components, including components that actually interface with the wikibooks server (or any other mediawiki server, if specified), and components that manipulate and analyze wiki-formatted text. At the moment, I have about half a dozen individual modules, some of which are in very rough shape, and I would like to expand the framework to include more functionality:
- graphical interface using TK widgets
- scripting interface for batch jobs
- remote interface for receiving and executing remote commands (either from a dedicated wiki-page, an IRC chatroom, email, etc)
- tied filehandle class for reading and writing to wiki using open, print, read, close, etc.
- RC monitoring (probably via irc://irc.wikimedia.org/en.wikibooks), to find obvious vandalism ("On Wheels!") and revert it automatically
Now, I'm not a great perl programmer, but I could pick my way through all these tasks over time. I am thinking about creating a sourceforge project to work on this, if other people want to join the project. If nobody else wants to work on it, I'll keep it to myself. I don't necessarily want to create a replacement/competitor for the "pywikibot" that is a popular tool, especially on wikipedia. If anybody is interested in this project, drop me a line on my talk page, or send me an email at wknight8111 <at> hotmail <dot> com, with a subject line containing "wikibooks". --Whiteknight (talk) (projects) 12:59, 21 August 2006 (UTC)
[edit] New section about DBI
I added a new section about DBI programming. It is based on a tutorial i wrote once for colleagues. You are welcome to improve it, of course. Currecntly it has only one example for Oracle. An example for a free database, such as MySQL, would be most welcome. --Amire80 10:18, 16 January 2007 (UTC)
[edit] Picking Up Perl to WikiBook site?
I have a book that I started writing called Picking Up Perl that I have long since abandonded. I'd like to simply bring it over to WikiBooks. The question is whether to merge it into this book, or to put it up as its own thing. The latter is much easier, so I'd prefer that as I don't have a lot of time, but if folks think that's a bad idea, I won't do it. Thoughts? -- bkuhn 16:57, 24 August 2007 (UTC)
[edit] lots of modifications
Just updated a lot of stuff wanted to give users a place to talk about my mods, re: here if you have anything to say about them EvanCarroll 09:43, 23 September 2007 (UTC)

