comp.lang.perl.misc
  Home FAQ Contact Sign in
comp.lang.perl.misc only
 
Advanced search
December 2007
motuwethfrsasuw
     12 48
3456789 49
10111213141516 50
17181920212223 51
24252627282930 52
31       1
2007
 Jan   Feb   Mar   Apr 
 May   Jun   Jul   Aug 
 Sep   Oct   Nov   Dec 
2008 2007 2006  
total
comp.lang.perl.misc Profile…
RELATED GROUPS

POPULAR GROUPS

more...

 Up
  [TRAC] WikiInclude on 0.11 - Noah Kantrowitz blocks bug-fix         


Author: Ilias Lazaridis
Date: Dec 17, 2007 18:23

Essence:

* Deletion of valid defect reports on trac community resources

The "WikiInclude" plugin is not recognised on trac 0.11, thus I took a
look an made a small addition to the setup.py (the entry_point).

Other users have the same problem, thus I filed a ticket in the "trac-
hacks" community resource.

Mr. Noah Kantrowitz closed the ticket as "invalid". My comments within
this ticket are deleted, directly in the database, which is the same
as censorship. I've copied the email-notification from my comment
below. [1]

Please realize:

* this is a real-live defect, which remains unprocessed, thus more
users run into this trouble.
* My attemps to inform users in the user-threads do not show up in
all threads (moderation on trac-users!!!)
* The "IncludeMacro" is not compatible to the "WikiInclude" macro
* My comments were deleted in a non-trackable way
* Users of the WikiInclude plugin are not informed in any way
Show full article (2.90Kb)
1 Comment
  FAQ 3.25 Where can I learn about CGI or Web programming in Perl?         


Author: PerlFAQ Server
Date: Dec 17, 2007 18:03

This is an excerpt from the latest version perlfaq3.pod, which
comes with the standard Perl distribution. These postings aim to
reduce the number of repeated questions as well as allow the community
to review and update the answers. The latest version of the complete
perlfaq is at http://faq.perl.org .

--------------------------------------------------------------------

3.25: Where can I learn about CGI or Web programming in Perl?

For modules, get the CGI or LWP modules from CPAN. For textbooks, see
the two especially dedicated to web stuff in the question on books. For
problems and questions related to the web, like "Why do I get 500
Errors" or "Why doesn't it run from the browser right when it runs fine
on the command line", see the troubleshooting guides and references in
perlfaq9 or in the CGI MetaFAQ:

http://www.perl.org/CGI_MetaFAQ.html

--------------------------------------------------------------------
Show full article (1.49Kb)
no comments
  How to maintain hash relationship?         


Author: Fred
Date: Dec 17, 2007 17:07

I'm not sure if I'm phrasing the question correctly, but here goes -- In
the example below, the line:

print "CITY = $people{CITY}";

prints this:

CITY = Bedrock
CITY = Bedrock
CITY = Chicago

How can I return this hash from a function, and at a later time, and
access "Chicago" using $people{CITY}?

#!/usr/bin/perl

use strict;
use warnings;

my @people;
my %%people;

@people = qw/
FIRST_NAME
LAST_NAME
CITY
/;
Show full article (0.64Kb)
4 Comments
  Re: Two questions about XML::Generator         


Author: Ben Morrow
Date: Dec 17, 2007 16:51

Quoth nospam spam.com>:
> Please help with the two questions below regarding XML::Generator. Each
> question has an example:

I'm sure we've had this question, or one very like it, not so long
ago...
Show full article (1.33Kb)
1 Comment
  Re: CGI::Minimal and Cookies         


Author: Ben Morrow
Date: Dec 17, 2007 16:41

Quoth John Bokma castleamber.com>:
> From the documentation of CGI::Minimal: "See 'CGI::Cookie' for cookie
> generation". Which sounds like a lot of fun, except that CGI::Cookie does:
>
> use CGI;
>
> Which probably makes use CGI::Minimal pointless. Or am I wrong?

Which version? I have 1.26 here, and it doesn't use CGI. It does use
CGI::Util, which contains a group of routines for doing URI-escaping and
such; maybe older versions just used CGI instead, and the code's been
refactored?

Ben
10 Comments
  Re: Problem with GDGraph.com website?         


Author: timbo
Date: Dec 17, 2007 16:39

On Dec 18, 3:42 am, "J. Gleixner"
wrote:
> timbo wrote:
>> Hello all,
>
>> Apologies if this isn't the most appropriate group to post this
>> question,
>
> You're right, it isn't.
>
>> but is anyone else having problems accessing this website?
>
>> http://...
>
>> It was working fine last week, but it seems as if the site is down coz
>> I keep getting timeouts all weekend.
>
> And what would you like us to do about it?
Show full article (1.02Kb)
1 Comment
  Re: CGI::Minimal and Cookies         


Author: davidfilmer
Date: Dec 17, 2007 15:58

On Dec 17, 3:06 pm, John Bokma castleamber.com> wrote:
> How to use Cookies (reading/setting) with CGI::Minimal? I couldn't find a
> CGI::Minimal::Cookie module :-(

Yeah, I don't think Minimal has cookie support. As I read the docs,
the note about cookies was only in the context of a warning that
Minimal's own date_rfc1123 method is suitable for most HTTP uses
EXCEPT cookies (which have an oddball date format: 'Wdy, DD-Mon-YY
HH:MM:SS GMT'). The docs refer us to CGI::Cookie for cookie
manipulation. Bummer.

However, what is so scary about importing only the cookie method of
CGI?
use CGI qw{ cookie };

--
David Filmer (http://DavidFilmer.com)
no comments
  Re: write Microsoft Word file         


Author:
Date: Dec 17, 2007 02:21

Martijn Lievaart schreef:
> Larry wrote:
>> I have a potential project to develop (and host) a web app that has
>> the ability to produce reports in Microsoft Word format (client
>> requirement, not my idea!). I really would like to be able to
>> develop this in Perl on my existing Linux server, but I'm wondering
>> if this is feasible or whether I would need to get a Windows server
>> for this project.
>>
>> As far as how I would write the Word files from Perl on Linux... the
>> only idea I have so far is automating OpenOffice. Is this a prudent
>> approach? I don't want to paint myself into a corner.
>
> Some possible workarounds, use HTML (see
> http://use.perl.org/comments.pl?sid=1005&cid=1001) or write it in
> RTF. Not fantastic but the world cannot be perfect. Or use vmware to
> run a Windows instance under Linux.

I don't see RTF as a workaround. It is a sensible solution for this kind
of thing. Just put .doc at the end of the file name.
Show full article (1.10Kb)
2 Comments
  Re: write Microsoft Word file         


Author: Mark Hobley
Date: Dec 17, 2007 02:08

Martijn Lievaart wrote:
>
> Some possible workarounds, use HTML

Where a word formatted document is required, I tend to use html format and
name it using a double suffix:

document.html.doc

The documents are then accepted as word documents within Microsoft Windows.

(You can just call it document.doc if you want.)

Regards,

Mark.

--
Mark Hobley
393 Quinton Road West
QUINTON
Birmingham
B32 1QE

Email: markhobley at hotpop dot donottypethisbit com

http://markhobley.yi.org/
no comments