perl modules woes

2005-12-09 Thread Brent Clark
Hi all Im busy experimenting with perl modules, and I keep getting this message, Undefined subroutine &main::labels called at /home/world/public_html/index.pl Below is my code for my test index.pl, and below that is my module. If someone would be kind as to overlook and share some tips, I woul

regexp help

2005-12-09 Thread Ing. Branislav Gerzo
Hi all, I need small regexp help, I'm doing webpage, where I rewrite all links in XML according weblang parameter. So we have for example in XML (I have it in scalar variable): Foo and Bars Link='http://example.com/' Foo and Bars Foo and Bars Link='http://example.com/#anchor' Foo and Bars Foo and

Re: perl modules woes

2005-12-09 Thread John Doe
Brent Clark am Freitag, 9. Dezember 2005 11.16: > Hi all > > Im busy experimenting with perl modules, and I keep getting this message, > > Undefined subroutine &main::labels called at > /home/world/public_html/index.pl [...] >@EXPORT = qw( > $html >

Run *.pl file from Emacs

2005-12-09 Thread Andrej Kastrin
Hi all, I already know how to compile perl script (M-x compile) in Emacs, but is there any solution to run it too. Cheers, Andrej -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: regexp help

2005-12-09 Thread Dr.Ruud
Ing. Branislav Gerzo schreef: > I need small regexp help, I'm doing webpage, where I rewrite all links > in XML according weblang parameter. #!/usr/bin/perl use strict; use warnings; { local ($,,$\) = ("\t", "\n"); my $orig = " Foo and Bars Link='http://example.com/' Foo and Bars Foo and B

Re: perl modules woes

2005-12-09 Thread Brent Clark
John Doe wrote: @EXPORT = qw( $html &world_body_top &labels; ); typo: ";" after &labels and don't forget to also include use warnings; hth, joe AArghh I cant believe I didnt see that. Thanks for thi

date rollover/rollback script

2005-12-09 Thread Danny Fang
HI, I have a script which simulates the rollover/rollback of timestamps for a file. In the attached script, the dates refer to the timestamp of the data being written to a file to be processed at a later time. Therefore, there is a timestamp to denote the time for processing the file.

Re: regexp help

2005-12-09 Thread Ing. Branislav Gerzo
Dr.Ruud [DR], on Friday, December 9, 2005 at 12:45 (+0100) wrote: DR> #!/usr/bin/perl thanks a lot Dr.Ruud (not Dr.Perl?:)). It works like a charm. I completely forget to [^morecharacters] idiom. -- How do you protect mail on web? I use http://www.2pu.net [I am Ryu of Borg: The pronunciation

Re: Run *.pl file from Emacs

2005-12-09 Thread Edward WIJAYA
On Fri, 09 Dec 2005 19:46:56 +0800, Andrej Kastrin <[EMAIL PROTECTED]> wrote: but is there any solution to run it too. ESC-X path/to/executable or other alternative is to run it under "e-shell" accessible through CTRL-C-D. -- Regards, Edward WIJAYA SINGAPORE -- To unsubscribe, e-mail: [

Re: Run *.pl file from Emacs

2005-12-09 Thread Robert Hicks
"Andrej Kastrin" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi all, > I already know how to compile perl script (M-x compile) in Emacs, but is > there any solution to run it too. > > Cheers, Andrej > Find compile-mode.el or someting like that. It gives a couple of options under

Re: regexp help

2005-12-09 Thread Dr.Ruud
Ing. Branislav Gerzo schreef: > Dr.Ruud: > thanks a lot Dr.Ruud (not Dr.Perl?:)). It works like a charm. > I completely forget to [^morecharacters] idiom. Your welcome. Some of my assumptions may proof to be not practible, but I think the code is easy to adjust. Know that there are better ways to

LWP w/ ssl post problem

2005-12-09 Thread BJ
I am trying to get data from a webpage that I need to log into via a ssl html form. When I try, all I get is the login page html. I have Crypt:SSLeay (I forget the exact module) installed. Am I doing something fundamentally wrong here? I would appreciate any help I could get. Thank you very m

Re: Taint mode question

2005-12-09 Thread Jay Savage
On 12/9/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Setup: Perl 5.8, WinXP > > I have created the code below to test Taint mode. The testapp.exe > program is actually the standard windows "attrib.exe" but renamed and > placed in my CWD. The program as it is below works as expected, however i

problems with graphic-processing

2005-12-09 Thread no spam
Hello, I tested some graphic-processing with Image::Magick the quick'n dirty way. When I was satisfied with the result, I did some code-cleanup and reorganization and now I'm trapped between the lines. I have use::strict and I cleaned the script with perl -w and currently there's no warning, but

Perl IDE with web ?

2005-12-09 Thread Michael Gale
Hello, I am looking for a Perl IDE with possible html component, currently I have been using either vi or Scite. Both work well except I need to increase my productivity a little, so hopefully a decent IDE will help. Thanks Michael -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Perl IDE with web ?

2005-12-09 Thread Chris Devers
On Fri, 9 Dec 2005, Michael Gale wrote: > I am looking for a Perl IDE with possible html component, currently I > have been using either vi or Scite. Both work well except I need to > increase my productivity a little, so hopefully a decent IDE will > help. Vim. All your