Parse Microsoft Publisher files?

2003-03-09 Thread Kevin Old
Hello everyone, I've searched all over and haven't found anyway to parse Microsoft Publisher files with Perl. I couldn't find anything on CPAN related to it. I thought that since there was the Spreadsheet::WriteExcel module, that there might be a module for Publisher. Any help is appreciated.

Re: CG I Script [guestbook.cgi]

2003-03-09 Thread R. Joseph Newton
Rob Dixon wrote: > Mr. Horace Franklin Jr. wrote: > > Rob, > > Disregard the email below. > > I have one error: > > > > Software Error: > > Can't find string terminator "E_FORM" anywhere before EOF at > > cgi_guestbook.cgi line 205. > > > > The code looks good to me. What does this error mean?

Re: Odd number of elements in hash assignment

2003-03-09 Thread R. Joseph Newton
Deb wrote: > Thanks for the quick reply... > > Okay, I could use Data::Dumper, but what do you mean by empty > leading field? Am I dense? (probably!) > > I don't really want to use D::D module, so what would I do to > alleviate this? Ensure no leading white space? I'll have to > give that a try

Re: Odd number of elements in hash assignment

2003-03-09 Thread Deb
All, Replying to my own post - yup, that did it. I removed the leading space(s), then did the hash ref assignment, and all was well. Whew! Thanks for the tip - and the pointer that I should have checked the docs... sometimes the problem is that I'm just not sure *which* doc would have the inf

Re: Odd number of elements in hash assignment

2003-03-09 Thread Deb
Thanks for the quick reply... Okay, I could use Data::Dumper, but what do you mean by empty leading field? Am I dense? (probably!) I don't really want to use D::D module, so what would I do to alleviate this? Ensure no leading white space? I'll have to give that a try (but my kids are not lett

Check url for form submission

2003-03-09 Thread Johnstone, Colin
Gidday All, I have found this subroutine in someone else's program I need to modify it so it will work on my server. I wish to use it to confirm that only forms submiited from my Domain will be processed. Its the reg ex I don't understand, Can someone help me re-write it. Is it as simple as su

RE: How to check ASCII chars in perl ?

2003-03-09 Thread Madhu Reddy
> >> i don't thing the above will work. try: > >> > >> for(split(//)){ > >> if(ord < 32 || ord > 126){ > >> print "Char is non printable char\n"; > >> }else{ > >> print "$_\n"; > >> } > >> } I want to do following, if any char is ASCII value of 10 or 13, i want to make that char as null like fo

Re: Odd number of elements in hash assignment

2003-03-09 Thread Steve Grazzini
Deb <[EMAIL PROTECTED]> writes: > Still struggling with multilevel hashes. > while () { > chomp; > ($listname, $field) = split(/:/, $_); > print "\nListname is $listname,\nField is: $field\n"; > %hrLists = split(/\s+/, $field); > $Lists{$listname} = \%hrLists; > } > > __DATA_

Odd number of elements in hash assignment

2003-03-09 Thread Deb
Still struggling with multilevel hashes. Below is my code snippet, obligatory use statments are in effect. I don't understand the error. Line 52 refers to the line %hrLists assignment - Where did I go wrong? Thanks, deb while () { chomp; ($listname, $field) = split(/:/, $_); p

Re: Double post ability

2003-03-09 Thread Rob Dixon
Dennis Lapine wrote: > > I don't know why I waste my time posting the few questions that I > have. This is a "beginners" list is it not? A question asked, should > not be answered with another question. I'm not surprised in the > response I got, but thought I'd try and get an answer from some > sea

Re: CG I Script [guestbook.cgi]

2003-03-09 Thread Rob Dixon
Mr. Horace Franklin Jr. wrote: > Rob, > Disregard the email below. > I have one error: > > Software Error: > Can't find string terminator "E_FORM" anywhere before EOF at > cgi_guestbook.cgi line 205. > > The code looks good to me. What does this error mean? Horace. This is your code from line

Re: CG I Script [guestbook.cgi]

2003-03-09 Thread R. Joseph Newton
"Mr. Horace Franklin Jr." wrote: > Rob, > Disregard the email below. > I have one error: > > Software Error: > Can't find string terminator "E_FORM" anywhere before EOF at > cgi_guestbook.cgi line 205. > > The code looks good to me. What does this error mean? > > Horace Is this the first error

Re: CG I Script [guestbook.cgi]

2003-03-09 Thread Mr. Horace Franklin Jr.
Rob, Disregard the email below. I have one error: Software Error: Can't find string terminator "E_FORM" anywhere before EOF at cgi_guestbook.cgi line 205. The code looks good to me. What does this error mean? Horace - Original Message - From: "Mr. Horace Franklin Jr." <[EMAIL PROTECTE

Re: Intranet page to manage print jobs

2003-03-09 Thread R. Joseph Newton
Todd Hemsell wrote: > Good Morning, > > > First of all I am not a Programmer. My total experience with Perl consists > of finding free scripts on the web and slightly modifying them for my > specific task. > I have been searching vainly for a script or an example of a script that > will let my use

Re: Double post ability

2003-03-09 Thread R. Joseph Newton
Dennis LaPine wrote: > I don't know why I waste my time posting the few questions that I have. This > is a "beginners" list is it not? A question asked, should not be answered > with another question. I'm not surprised in the response I got, but thought > I'd try and get an answer from some season

Re: Double post ability

2003-03-09 Thread Randal L. Schwartz
> "Dennis" == Dennis Lapine <[EMAIL PROTECTED]> writes: Dennis> I don't know why I waste my time posting the few questions Dennis> that I have. This is a "beginners" list is it not? A question Dennis> asked, should not be answered with another question. I'm not Dennis> surprised in the respons

Installation problems Perl/Tk...

2003-03-09 Thread Pontus Leitzler
Hi, I have a rather big problem with my perl installation, Im running perl at a Debian box.. When I run my script with "use Tk;" it sais: Can't locate Tk.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.0 /usr/local/share/perl/5.8.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8.0

Re: Double post ability

2003-03-09 Thread Dennis LaPine
I don't know why I waste my time posting the few questions that I have. This is a "beginners" list is it not? A question asked, should not be answered with another question. I'm not surprised in the response I got, but thought I'd try and get an answer from some seasoned people. Dennis - Orig

Re: CG I Script [guestbook.cgi]

2003-03-09 Thread Mr. Horace Franklin Jr.
Rob, I received the following error when I ran the script guestbook.cgi: Software error: Modification of a read-only value attempted at /usr/lib/perl5/5.6.1/vars.pm line 40. BEGIN failed--compilation aborted at cgi_guestbook.cgi line 18. guestbook.cgi has too many errors. How can I look at the

Re: explicit package?

2003-03-09 Thread Mr. Horace Franklin Jr.
Good information, thanks. - Original Message - From: "Wiggins d'Anconia" <[EMAIL PROTECTED]> To: "Mr. Horace Franklin Jr." <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Saturday, March 08, 2003 1:27 PM Subject: Re: explicit package? > > > Mr. Horace Franklin Jr. wrote: > I used the s

Re: explicit package?

2003-03-09 Thread Mr. Horace Franklin Jr.
Good Idea Thanks! - Original Message - From: "R. Joseph Newton" <[EMAIL PROTECTED]> To: "Mr. Horace Franklin Jr." <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Saturday, March 08, 2003 1:34 PM Subject: Re: explicit package? > "Mr. Horace Franklin Jr." wrote: > > > When I used the scr

Intranet page to manage print jobs

2003-03-09 Thread Todd Hemsell
Good Morning, First of all I am not a Programmer. My total experience with Perl consists of finding free scripts on the web and slightly modifying them for my specific task. I have been searching vainly for a script or an example of a script that will let my users manage print jobs on a AIX box

Re: CG I Script [guestbook.cgi]

2003-03-09 Thread Mr. Horace Franklin Jr.
I will add this line to my script, run it and let you know the 'exact errors' I am receiving. CGI::Carp qw(fatalsToBrowser);. >- Original Message - >From: "Hanson, Rob" <[EMAIL PROTECTED]> >To: "'Mr. Horace Franklin Jr.'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> >Sent: Friday, March 07, 2

Re: Double post ability

2003-03-09 Thread Randal L. Schwartz
> "Dennis" == Dennis Lapine <[EMAIL PROTECTED]> writes: Dennis> I have a discussion board that works quite well. I want to be Dennis> able to have it post to two pages, instead of one. Can this be Dennis> achieved by a comma separate in the "cfg" file that runs the Dennis> script? Am I on the

Re: CG I Script [guestbook.cgi]

2003-03-09 Thread Mr. Horace Franklin Jr.
Good idea thanks! - Original Message - >From: "Dan Muey" <[EMAIL PROTECTED]> >To: "Mr. Horace Franklin Jr." <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> >Sent: Friday, March 07, 2003 10:37 AM > Subject: RE: CG I Script [guestbook.cgi] > > > > > > > > I tired to run the script below on my host

Re: why objects?

2003-03-09 Thread Katy Brownfield
On Fri, 7 Mar 2003 07:56:29 -0800 (PST), Paul <[EMAIL PROTECTED]> wrote: --- Dan Muey <[EMAIL PROTECTED]> wrote: () - easier for other people to maintain even years from now - easier to migrate and expand () Agreed, agreed, agreed, agreed, and agreed, but they don't take my word for it. I n

last and grep - was: Re: Test for empty list

2003-03-09 Thread Katy Brownfield
On Sat, 08 Mar 2003 17:31:08 -0800, R. Joseph Newton <[EMAIL PROTECTED]> wrote: "Scott R. Godin" wrote: > #!/usr/bin/perl -w > > use strict; > > my @array = ('', 0, "", 1); > > my $hasTruth; > foreach (@array) { > if ($_ ){ > $hasTruth = "yezzindeedydo!"; > last; > } > } > if ($hasTr