Re: What does MakeFile do?

2009-01-19 Thread dirk van der Giesen
If you run perl Makefile.pl it actually installes the module (.pm) file. This usually is in the usr/bin/ directory or somewhere similar and on a host it means you must have permissions to do so. The most easy way is to ask your host to install the module for you, but there is also something else

Usage of CGI.pm module

2009-01-19 Thread Praveena Vittal
Hi, I am newbie to this perl community. I am writing to code to upload file using CGI.pm. During file upload, CGI.pm is saving a file(as CGITempxxx) in the temporary location(ex. /tmp). After copying the file, it is moving the file to corresponding file location. Is that possible to avoid

Re: Perl-R bridge

2009-01-19 Thread Raymond Wan
Hi Anjan, ANJAN PURKAYASTHA wrote: Hi, I'm planning to access R from my perl scripts. The only noteworthy bridge seems to be Statistics-R-0.03http://search.cpan.org/%7Ectbrown/Statistics-R/lib/Statistics/R.pm. Would anyone like to share their experience with this Perl-R bridge? I'd like to

Re: Usage of CGI.pm module

2009-01-19 Thread Gunnar Hjalmarsson
Praveena Vittal wrote: I am newbie to this perl community. http://www.mail-archive.com/beginners@perl.org/msg76684.html Why are you lying? I am writing to code to upload file using CGI.pm. During file upload, CGI.pm is saving a file(as CGITempxxx) in the temporary location(ex. /tmp). After

how to display images like in a slide show

2009-01-19 Thread g...@vi-anec.de
I am looking for an easy way to display images in full resolution of a given (yet unknown) display system (LCD or projector). Like a slide show program the images should be shown d secs and then the next image of a given list is shown. Ideal would be some kind of cross fading between the images.

Re: Updating Perl 5.8.8 to 5.10 under MacOSX and Eclipse EPIC

2009-01-19 Thread Telemachus
On Sun Jan 18 2009 @ 6:31, Steven Sankaran wrote: Hm. I have spent the last hour or so attempting to get this to work, but I cannot seem to get Perl to update. I have located the 5.10 directory under /usr/local/ActiveState-5.10 but I cannot get Eclipse to recognize it. I even tried Eclipse

Re: Using / of unix and \ of windows for copying files

2009-01-19 Thread Telemachus
On Mon Jan 19 2009 @ 2:13, Sarsamkar, Paryushan wrote: Hi All, snip How can I work with / and \ here? My suggestion would be to use File::Spec rather than hardcode the \ or / as a path separator. See perldoc File::Spec for more information, but in a nutshell, it's a core module built to

Re: Newbie question about variables, arrays and where they all go

2009-01-19 Thread dolphin_sonar
On Jan 18, 7:54 pm, telemac...@arpinum.org (Telemachus) wrote: On Sun Jan 18 2009 @ 10:59, dolphin_sonar wrote:    1 # When calling 'running_sum(5, 6);' the variable 'state @numbers' receives those two    2 # parameters, (5 and 6), right? Then, the @numbers array also copies/stores (5

Anyone worked on RRD Tool in Perl?

2009-01-19 Thread Urvish Jain
Kindly help if some one has worked on RRD. Thanks, Urvish. DISCLAIMER == This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If

Removing block of text in string

2009-01-19 Thread Bobby
Hi, I have a javascript function in my long text string that i want to remove, how do i remove a text string from starting point to an ending point so that the javascript block script to /script is remove from my text string? Thanks. Current: string = this is my text string script

Re: Newbie question about variables, arrays and where they all go

2009-01-19 Thread Telemachus
On Mon Jan 19 2009 @ 4:21, dolphin_sonar wrote: Again, you answered my question. You should be teaching Perl as your responses are very clear and that's not easy for people to do...give clear, concise responses. Actually, I had a big goof in my response. The program and the print statement

Re: Removing block of text in string

2009-01-19 Thread Bobby
I'm using search and replace to solve this issue unless someone else have a better idea. Thanks. my $removeText=script type=text/javascriptfunction/script; $string = ~s/$removeText//gi; --- On Mon, 1/19/09, Bobby cybercruis...@yahoo.com wrote: From: Bobby cybercruis...@yahoo.com

Re: Removing block of text in string

2009-01-19 Thread Bobby
I need a better solution. Here's the whole block of text that i have to remove from my text file. Thanks for any suggestions. script type=text/javascriptchar(13) + char(10)function popup(theURL) { char(13) + char(10)popup_large(theURL); char(13) + char(10)char(13) + char(10)}char(13) +

Re: Removing block of text in string

2009-01-19 Thread Gunnar Hjalmarsson
Bobby wrote: I'm using search and replace to solve this issue unless someone else have a better idea. Thanks. my $removeText=script type=text/javascriptfunction/script; $string = ~s/$removeText//gi; $string =~ s,script\s+type=text/javascript.+?/script,,is;