From: "Paul Johnson" <[EMAIL PROTECTED]> > AustinTanney said: > > > I'm a total novice and just teaching myself perl. I'm going thru the > > "beginning perl" book. One thing about it is that it recommends > > using the extension *.plx rather than *.pl. I am using active state > > 5.8 and it doesnt seem to recognise the extension. Now realistically > > this doesnt matter in the slightest, however, i was just wondering, > > is the book slightly outdated and should i just be using *.pl? > > Not a stupid question at all. > > .pl signifies a Perl Library. These are not seen much since Perl 5 > introduced Perl Modules (.pm) (the first alpha of Perl 5 was nearly 10 > years ago). > > .plx is the sanctioned extension if you are running on a system that > requires an extension to identify the file type, but since Active > State don't appear to be following the rules, people are (mis)using > .pl. > > I would suggest sending a bug report to Active State.
May I ask who set such a rule? .pl has been used for Perl scripts widely much sooner than the .plx extension. And originaly the difference between .pl and .plx was the interpreter used to execute them under MS Internet Information Server (IIS). It's quite possible that the author of some book suggested that the .pl extension is not used for scripts, but I don't think this advice is followed widely. And I would definitely not call this a bug. Besides ... you said yourseld that Perl Libraries are very unusual to see these days so why should we care about them and forbif the usage of .pl for scripts? Jenda ===== [EMAIL PROTECTED] === http://Jenda.Krynicky.cz ===== When it comes to wine, women and song, wizards are allowed to get drunk and croon as much as they like. -- Terry Pratchett in Sourcery -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]