Re: Can't install Inline::Java

2010-04-23 Thread Jeremiah Foster
On Apr 23, 2010, at 11:40 AM, Alexander Koenig wrote: > Hi all, > > I just tried to install Inline::Java from CPAN and it didn't work. The > install process just stopped after some time. When I tried it the second > time it stopped again at the same time. > > There was no error message or anyth

Re: Modules download from CPAN

2010-04-09 Thread Jeremiah Foster
On Apr 9, 2010, at 4:19 PM, Open Source wrote: > I would like to download all the modules (atleast important ones) from cpan > website and keep them in my local disk rather going into www everytime. Can > someone tell how to download all of them? Cheers Sorry, my previous email was a little to

Re: Object Oriented

2010-03-25 Thread Jeremiah Foster
On Mar 24, 2010, at 1:42 PM, Pry, Jeffrey wrote: > Does the moose page provide an OOP conceptual overview as well; if not does > anyone know where to find one? Not really. Moose is built upon Class::MOP which is a tool to manipulate object systems. Moose then goes on to build a complete, alter

Re: Any Good SCM tool to manage Perl Code locally

2010-03-16 Thread Jeremiah Foster
On Mar 16, 2010, at 7:44 AM, Parag Kalra wrote: > > Just couple of questions - How can I make my code readonly using Git such > that it can be edited only when it is checked out. If your code is 'readonly' then you cannot edit it. You cannot write to something that is read only. > > Also if I

Re: Any Good SCM tool to manage Perl Code locally

2010-03-15 Thread Jeremiah Foster
On Mar 15, 2010, at 2:12 PM, Eric Veith1 wrote: > Shlomi Fish wrote on 03/15/2010 08:33:30 AM: >> Please don't recommend CVS for new development. There are much >> superior and/or >> open-source alternatives now. See: >> >> http://better-scm.berlios.de/ > > > I'm honestly curious why nobody

Re: Controlling one process depending on the status of another

2010-03-06 Thread Jeremiah Foster
On Mar 5, 2010, at 20:22, Bob McConnell wrote: > From: Jay Savage >> On Wed, Mar 3, 2010 at 8:28 AM, Bob McConnell wrote: >> [snip] >>> >>> However, if the application is this complex, is Perl really the best >>> language to use? It would not be my first choice. >> >> That is a very strange st

Re: Controlling one process depending on the status of another

2010-03-03 Thread Jeremiah Foster
On Feb 26, 2010, at 10:34 PM, Eric Veith1 wrote: > Dear list, > > I'm wrinting a perl program that works with different threads. Your first sentence already has me worried. Threads are un-fun. > Those > threads depend on each other, not all in the same way. Some threads should > stop when o

Re: Perl CGI advise/feedback please ...

2010-02-11 Thread Jeremiah Foster
On Feb 11, 2010, at 3:18, newbie01 perl wrote: > Hi all, > > I am wanting some advise/input on setting up some sort of intranet site to > allow system operators to manage the servers, mostly UNIX servers and some > Windows. I am constrained by not being able to install new modules or a > databas

Re: Simple cgi email

2010-02-03 Thread Jeremiah Foster
On Feb 2, 2010, at 19:46, Uri Guttman wrote: >> "RH" == Robert H writes: > > RH> I am just trying to do a simple emailer for a site. I came up with the > RH> following and was wondering if there are any security issues that jump > RH> out. > > check out NMS versions of the classic cgi

Re: listing all modules

2010-01-29 Thread Jeremiah Foster
I googled this question, here is the results of my clicking on the first link that came up: "This is answered in the Perl FAQ, the answer which can be quickly found with perldoc -q installed. In short, it comes down to using ExtUtils::Installed or using File::Find, variants of both of which ha

Re: System question

2010-01-14 Thread Jeremiah Foster
On Jan 14, 2010, at 12:43 AM, Jim Gibson wrote: > On 1/13/10 Wed Jan 13, 2010 3:28 PM, "ANJAN PURKAYASTHA" > scribbled: > >> Hi, >> Suppose I run an application from within a perl script, with system (eg >> system ("myfavprogram input_file out_file")). >> Is there a way to let the script know

Re: Please help to load script from secure server HTTPS in Safari and Opera

2010-01-04 Thread Jeremiah Foster
On Jan 5, 2010, at 1:03, Steve Bertrand wrote: > Jeremiah Foster wrote: >> On Jan 4, 2010, at 11:49, Simphiwe Mkhize wrote: >> >>> Good new year >>> >>> Can any one please help me to solve problem with Safari, Google Chrome and >>> Opera.

Re: Please help to load script from secure server HTTPS in Safari and Opera

2010-01-04 Thread Jeremiah Foster
On Jan 4, 2010, at 11:49, Simphiwe Mkhize wrote: > Good new year > > Can any one please help me to solve problem with Safari, Google Chrome and > Opera. my script has to load from secure server HTTPS for security reason. > It works fine from IE and Firefox. > > Here are the errors I get >

Re: chroot as non-root?

2010-01-04 Thread Jeremiah Foster
On Jan 4, 2010, at 11:34, Trevor Vallender wrote: > Hi, > > I am designing a system in which scripts are installed into their own > directory, by a non-root user, under their home directory. Hi Trevor, 1. You subject is slightly off-topic for a beginner's perl list. Maybe consider a POSIXy ad

Re: perl expect script to login to multiple machines

2010-01-03 Thread Jeremiah Foster
On Jan 4, 2010, at 24:15, Alvaro Mantilla Gimenez wrote: > Hello, > > I know this is a Perl question but is not more easier to log in with > ssh public key method and execute the commands inside the foreach and > don't do all the username/password code? Sometimes - like when you have a cluster

Re: Test file is not readable, while running "make test"

2009-12-31 Thread Jeremiah Foster
On Dec 30, 2009, at 16:05, Shankar wrote: > On Dec 30, 9:39 am, shlo...@iglu.org.il (Shlomi Fish) wrote: >> On Wednesday 30 Dec 2009 08:12:24 Shankar wrote: > > Thanks a lot for the replies. > I'll check to see if I may update perl. > > If I'm unable, is it okay to do the following: > 1. Run th

Re: color and newline problem (Term::ANSIColor)

2009-12-31 Thread Jeremiah Foster
On Dec 31, 2009, at 14:05, Francesco Stablum wrote: > Hello everyone, > > i'm a newbie, and I'm trying to write a simple perl script that takes > the stdin and prints it to stdout adding colors that alternates on odd > and even lines. > The problem is that the newline charachter seems to align t

Re: Upgrade CPAN when I don't have root permission

2009-12-31 Thread Jeremiah Foster
On Dec 31, 2009, at 3:59, Peng Yu wrote: > > I run > >> perl -MCPAN -e shell > > cpan>install Devel::REPL > > It gave me a lot of output on the screen. Unfortunately, you didn't paste anything that I can see is problematic for installation. Yes, I can see that all the tests fail, but I can't

Re: Upgrade CPAN when I don't have root permission

2009-12-30 Thread Jeremiah Foster
On Dec 29, 2009, at 20:37, Peng Yu wrote: > I'm trying to update CPAN, but I don't have root permission. I'm > wondering where the update is installed. In general without root or sudo access you'll not be able to install perl modules - you can install them in directories where you have write ac

Re: CGI.pm post types

2009-12-30 Thread Jeremiah Foster
On Dec 30, 2009, at 23:28, Bruce Ferrell wrote: > I see on the CGI web page that this: > === > use CGI; > > $q = new CGI; > > $query = $q->param( 'POSTDATA' ); > === > > > will return the contents of this URI: > > http://server/

Re: Test file is not readable, while running "make test"

2009-12-30 Thread Jeremiah Foster
On Dec 30, 2009, at 7:12, Shankar wrote: > Hello, > > I'm using perl on AIX, and my version is v5.8.2. I know it is no help to say you should upgrade your perl or your OS, but sometimes that makes a huge difference in your day to day perl programming. :) > (Also, I'm a regular user, with no wr

Re: Reference subroutine as parameter

2009-12-30 Thread Jeremiah Foster
On Dec 30, 2009, at 15:54, Trevor Vallender wrote: > Hi, > > I have just moved a piece of code into a separate module. However, the > subroutine in the new module needs to reference a subroutine in the > script it's called from. Is there any way around this? > > Basically, I am using AnyEvent::

Re: Autovivification of hash from an array

2009-11-28 Thread Jeremiah Foster
On Nov 28, 2009, at 15:25, Shawn H Corey wrote: > Jeremiah Foster wrote: >>> my %versions; >>> map { >>> my $package = $_; >>> # autovivfy a hash with versions of packages >>> $versions{$package} = [ ] unless exists $

Re: Autovivification of hash from an array

2009-11-28 Thread Jeremiah Foster
Edit: Added missing 'push' to code example. On Nov 28, 2009, at 14:13, Jeremiah Foster wrote: > Hi there! > > This may or may not be a beginners question. If not, please let me know > where I ought to post. :-) > > I have a data structure, a simple arra

Autovivification of hash from an array

2009-11-28 Thread Jeremiah Foster
Hi there! This may or may not be a beginners question. If not, please let me know where I ought to post. :-) I have a data structure, a simple array. It is made up of sections of files I have slurped; sub _build_packages { use Perl6::Slurp; my @p

Re: regex question

2009-11-11 Thread Jeremiah Foster
On Nov 9, 2009, at 16:25, axr0284 wrote: > Hi, > I am completely stumped with how to proceed with this. > I have a program where the user inputs a path to a file. This is under > windows xp > > The path can be relative > ..\..\..\synthesis\int_code.psm > .\program\synthesis\int_code.psm > > or

Re: Script check !!!

2009-11-07 Thread Jeremiah Foster
On Nov 5, 2009, at 19:18, Shlomi Fish wrote: if ( !$filename ) { print $q->header ( ); print "There was a problem uploading your file.\n"; exit; } This is invalid HTML. It does not matter here a lot, though. Yeah, you could use: print $q->h2('There was a problem uploading your file.');

Re: tried to install my first module (Mac OSX 10.4.11)

2009-11-02 Thread Jeremiah Foster
On Nov 2, 2009, at 20:38, tom smith wrote: On Mon, Nov 2, 2009 at 8:02 AM, Peter Scott wrote: On Mon, 02 Nov 2009 04:25:18 -0700, Tom Smith wrote: I believe that your HTML::Parser needs upgrading. But you're getting the system one, which is often dangerous to touch. I think you should

Re: Move to more recent gcc version.. what to expect

2009-11-02 Thread Jeremiah Foster
On Nov 2, 2009, at 17:07, Harry Putnam wrote: I noticed I've been masking gcc beyond version 4.3.2-r3, and have forgotten why I had it masked. I'm updating world right now, and wondered if I were to move up to most recent gcc (4.4.2), which would be a 5 version jump, what I could expect in the