Re: problem about run perl script in java

2013-02-26 Thread Dr.Ruud
On 2013-02-26 08:48, yunbin wang wrote: Now , I want run perl script in java, but I can't install perl on the machine, only I can copy the perl files(those installed on other machine) to that machine. so how can I initial perl INC in java that I can run perl in my java program? Can yo

Re: problem about run perl script in java

2013-02-26 Thread Luca Ferrari
I've never used, but this should be what you are looking for: http://search.cpan.org/dist/Inline-Java/Java/PerlInterpreter/PerlInterpreter.pod Anyway, I suspect if you cannot install a Perl version on the machine you will not succeed in running Perl from Java. Luca On Tue, Feb 26, 2013 at

Re: problem about run perl script in java

2013-02-25 Thread Mike Dunaway
On 2/26/13 1:48 AM, yunbin wang wrote: Now , I want run perl script in java, but I can't install perl on the machine, only I can copy the perl files(those installed on other machine) to that machine. so how can I initial perl INC in java that I can run perl in my java program? This is a

problem about run perl script in java

2013-02-25 Thread yunbin wang
Now , I want run perl script in java, but I can't install perl on the machine, only I can copy the perl files(those installed on other machine) to that machine. so how can I initial perl INC in java that I can run perl in my java program? -- Best Regards ! -- To unsubscribe, e-mail: begi

Re: Can't install Inline::Java

2010-04-25 Thread Alexander Koenig
On 04/25/2010 11:19 AM, C.DeRykus wrote: > > You might want to check the Inline mailing list mentioned on CPAN. Good idea. I'll try that. Thanks. Alex -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

Re: Can't install Inline::Java

2010-04-25 Thread C.DeRykus
On Apr 23, 2:40 am, alexander.koe...@mpi.nl (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. &g

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. > > The

Can't install Inline::Java

2010-04-23 Thread Alexander Koenig
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 anything, it just stopped. Here is the output from CPAN when I ran i

Re: How to use a CGI/PERL hash variable in java script.

2010-02-07 Thread Peter Scott
On Mon, 01 Feb 2010 23:19:27 -0800, venu madhav wrote: > Hi All, > I've a situation where I create a hash variable in PERL and > use it in Java script which is embedded in the CGI. The key for that > hash is taken from JavaScript. For ex: > > - CGI cod

Re: How to use a CGI/PERL hash variable in java script.

2010-02-02 Thread Shlomi Fish
Hi Erez! On Tuesday 02 Feb 2010 15:20:16 Erez Schatz wrote: > On 2 February 2010 15:06, Shlomi Fish wrote: > > Ahmm... no. > > Are you physically unable to say anything in a social manner? > I apologise for writing my posts in a rude manner. See below for my response. > > <<< > > my %hash = (

Re: How to use a CGI/PERL hash variable in java script.

2010-02-02 Thread Erez Schatz
On 2 February 2010 15:06, Shlomi Fish wrote: > > Ahmm... no. Are you physically unable to say anything in a social manner? > > <<< > my %hash = (3 => <<"EOF"); > > > > > This is called a cross-site scripting attack ( > http://en.wikipedia.org/wiki/Cross-site_s

Re: How to use a CGI/PERL hash variable in java script.

2010-02-02 Thread Shlomi Fish
On Tuesday 02 Feb 2010 14:12:01 Erez Schatz wrote: > On 2 February 2010 09:19, venu madhav wrote: > >I've a situation where I create a hash variable in PERL and > > use it in Java script which is embedded in the CGI. The key for that > > hash is tak

Re: How to use a CGI/PERL hash variable in java script.

2010-02-02 Thread Shlomi Fish
On Tuesday 02 Feb 2010 14:00:26 Erez Schatz wrote: > On 2 February 2010 13:46, Shlomi Fish wrote: > > Regarding "PERL" - it's either "perl" or "Perl" but never "PERL": > > > > http://perl.org.il/misc.html#pl_vs_pl > > What does have got to do with the question? > It doesn't, but it was a mista

Re: How to use a CGI/PERL hash variable in java script.

2010-02-02 Thread Erez Schatz
On 2 February 2010 09:19, venu madhav wrote: >        I've a situation where I create a hash variable in PERL and > use it in Java script which is embedded in the CGI. The key for that > hash is taken from JavaScript. For ex: > > - CGI code > my %hash{3}=30

Re: How to use a CGI/PERL hash variable in java script.

2010-02-02 Thread Erez Schatz
On 2 February 2010 13:46, Shlomi Fish wrote: > Regarding "PERL" - it's either "perl" or "Perl" but never "PERL": > > http://perl.org.il/misc.html#pl_vs_pl What does have got to do with the question? > > Please go to http://perl-begin.org/ and find a good resource to learn Perl. To > qoute Mark J

Re: How to use a CGI/PERL hash variable in java script.

2010-02-02 Thread Shlomi Fish
Hi Venu! On Tuesday 02 Feb 2010 09:19:27 venu madhav wrote: > Hi All, > I've a situation where I create a hash variable in PERL and > use it in Java script which is embedded in the CGI. The key for that > hash is taken from JavaScript. For ex: Regarding "PERL&qu

How to use a CGI/PERL hash variable in java script.

2010-02-02 Thread venu madhav
Hi All, I've a situation where I create a hash variable in PERL and use it in Java script which is embedded in the CGI. The key for that hash is taken from JavaScript. For ex: - CGI code my %hash{3}=300; --JScript code--- var var1 = 3; var variable = $hash

cannot import certains modules when running perl scripts from Java on Windows

2009-08-10 Thread Thomas Evangelidis
Dear perl users, I'm having difficulties running perl scripts from java which import certain modules like File::Tail and File::Sort. I initially installed ActiveState Perl but then did a full Cygwin installation (which includes compilers, interpreters, etc of most popular programming lang

java hangs from perl

2009-02-07 Thread Ice Man
ok . trying this again. Seems my first post did not take so I will try again. I need to start a java program. So in perl, I have created a command like: my $command = "executable \&"; my $ret = `$command`; exit $ret; This program does not return but rather hangs. If I try

Re: Perl Call from Java dumps core while making a FTP connection

2008-11-22 Thread Srinivasan Ramaswami
Chas, Thanks, I have info here on the shell script and the perl script that I call from my java class. I see the fail happening as we try to make a FTP connection. I have not specified any PERLLIB as I see in my script. Thanks again, Srini ##myScript.ksh #!/bin/ksh

Re: Perl Call from Java dumps core while making a FTP connection

2008-11-21 Thread Chas. Owens
On Thu, Nov 20, 2008 at 21:43, <[EMAIL PROTECTED]> wrote: > I need help with an issue with executing a perl program from java. I > have a perl script that does a FTP. The perl program works well when I > run it from command line or on a cron job. > > The same command I am als

Perl Call from Java dumps core while making a FTP connection

2008-11-21 Thread srini9286
I need help with an issue with executing a perl program from java. I have a perl script that does a FTP. The perl program works well when I run it from command line or on a cron job. The same command I am also running from a Java program, it used to run fine on Solaris 8 and Perl 5.8.0. When we

delete from java temporary file generated from PERL

2007-06-29 Thread Tatiana Lloret Iglesias
Hi all! From my Java application I call a PERL process which generates some files. When I come back to the Java part and I process these files I try to delete them and some of them are deleted correctly but other not... Any idea? I've checked that I call CLOSE methods everytime I cre

Re: Perl vs. Java for string manipulation & regex

2007-06-26 Thread Jenda Krynicky
From: "Tom Phoenix" <[EMAIL PROTECTED]> > On 6/24/07, Jeni Zundel <[EMAIL PROTECTED]> wrote: > > My employer doesn't want to use it because it's in perl and he > > doesn't think that anyone else in the building knows perl. So, > > I d

Re: Perl vs. Java for string manipulation & regex

2007-06-24 Thread Tom Phoenix
On 6/24/07, Jeni Zundel <[EMAIL PROTECTED]> wrote: 1. Is the java significantly slower than the perl script because I suck at writing efficient java code or because perl is just really that much better at string manipulation? Yes. If it's important to determine how much of your

Perl vs. Java for string manipulation & regex

2007-06-24 Thread Jeni Zundel
se it's in perl and he doesn't think that anyone else in the building knows perl. So, I decided to work on my java syntax (recently started doing a bit of java) and use java in order to manipulate the file instead. My perl script basically does 2 things: 1. selects rows that have

Re: Java 1.6 support to Perl

2007-01-15 Thread marcos rebelo
Of course ;) will Perl be there? I'm a Java and Perl programmer and it'd be a nice combination. Marcos On 1/12/07, Bipin_Upadhyay <[EMAIL PROTECTED]> wrote: >what do you mean by Java supporting Perl? It refers to the scripting framework support in Mustang [java 1.6],

RE: Java 1.6 support to Perl

2007-01-12 Thread Bipin_Upadhyay
>what do you mean by Java supporting Perl? It refers to the scripting framework support in Mustang [java 1.6], I guess. Regards, Bipin. DISCLAIMER: This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENT

Re: Java 1.6 support to Perl

2007-01-12 Thread Pedro Henrique Calais
what do you mean by Java supporting Perl? - Original Message - From: "marcos rebelo" <[EMAIL PROTECTED]> To: Sent: Friday, January 12, 2007 9:05 AM Subject: Java 1.6 support to Perl Hy all It seems that Java 1.6 isn't supporting Perl, :'( bad sun. When

Java 1.6 support to Perl

2007-01-12 Thread marcos rebelo
Hy all It seems that Java 1.6 isn't supporting Perl, :'( bad sun. When will this be fix? Thanks Marcos -- Marcos Rebelo http://oleber.awardspace.com/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Re: Analize Java source file with perl?

2006-10-28 Thread John W. Krahn
Jenda Krynicky wrote: > From: "Dr.Ruud" <[EMAIL PROTECTED]> >>Ovid schreef: >> >>>my $text = do { local $/; <$fh> }; >>There is a problem with this idiom: it uses about twice the memory of >>this variant: >> >> my $text ; { local $/ ; $text = <$fh> } >> >>So if your files can be bi

Re: Analize Java source file with perl?

2006-10-28 Thread Jenda Krynicky
From: "Dr.Ruud" <[EMAIL PROTECTED]> > Ovid schreef: > > > my $text = do { local $/; <$fh> }; > > There is a problem with this idiom: it uses about twice the memory of > this variant: > > my $text ; { local $/ ; $text = <$fh> } > > So if your files can be big (related to the am

Re: Analize Java source file with perl?

2006-10-27 Thread Dr.Ruud
Ovid schreef: > my $text = do { local $/; <$fh> }; There is a problem with this idiom: it uses about twice the memory of this variant: my $text ; { local $/ ; $text = <$fh> } So if your files can be big (related to the amount of memory available), use the latter. -- Affijn,

Re: Analize Java source file with perl?

2006-10-26 Thread Ovid
--- "bou, hou (GE Money, consultant)" <[EMAIL PROTECTED]> wrote: > For Example > a java file named AAA.java > > /* author : John Smith */ > // comment > public class ClassA { > /* */ > //comment > public static void main(Stri

Re: Analize Java source file with perl?

2006-10-26 Thread Jenda Krynicky
> > my $file = shift || die "Please provide a java file to check.\n"; my > @lines = `cat $file`; A!!! open my $IN, '<', $file or die "Can't open $file: $^E\n"; @lines = <$IN>; close $IN; is much much more efficient and unlike the cat i

Re: Analize Java source file with perl?

2006-10-26 Thread Adriano Rodrigues
On 10/26/06, bou, hou (GE Money, consultant) <[EMAIL PROTECTED]> wrote: hello, all I want to get the Class name of .java file with perl , I want to get like this >perl ClassChecker.pl AAA.java >ClassA >ClassB Quick and dirty: $ perl -n -e 'print "$1\n" if /c

Re: Analize Java source file with perl?

2006-10-26 Thread lawrence
> > hello, all > I want to get the Class name of .java file with perl , > How can I do it ? I think it is difficult to result the java comment . > For Example What have you tried, and how has it failed to meet your expectations? You may want to try http://search.cpan.org/ to s

Re: Analize Java source file with perl?

2006-10-26 Thread Andy Greenwood
I'm sure there's a better way to do this, but it really isn't too hard. -start--- #!/usr/bin/perl use warnings; use strict; my $file = shift || die "Please provide a java file to check.\n"; my @line

Analize Java source file with perl?

2006-10-26 Thread bou, hou \(GE Money, consultant\)
hello, all I want to get the Class name of .java file with perl , How can I do it ? I think it is difficult to result the java comment . For Example a java file named AAA.java /* author : John Smith */ // comment public class ClassA { /* */ //comment public static

Using java in perl

2006-09-24 Thread edjacob
Hi, I'm a newbie to both Perl and this list, so I hope this question and the way I've asked it are okay. I am trying to get my Perl script to produce the following Java. I http://images.google.com/images?q=/query/')">/query/ It's not working and I'm gues

Re: Running Perl from Java (WAS: print Greek small letter alpha in html)

2006-06-15 Thread Mr. Shawn H. Corey
On Thu, 2006-15-06 at 08:20 -0400, Mr. Shawn H. Corey wrote: > BTW, change the Subject when you change the subject. Better yet, start a new thread. -- __END__ Just my 0.0002 million dollars worth, --- Shawn "For the things we have to learn before we can do them, we learn by doing them.

Re: Running Perl from Java (WAS: print Greek small letter alpha in html)

2006-06-15 Thread Mr. Shawn H. Corey
On Thu, 2006-15-06 at 05:01 +, may sandi wrote: > Hi, > > Does anybody know how can run a perl file from java? > I already tried with following command: > > try { > Runtime r = Runtime.getRuntime(); > String cmdLine[] = { "/usr/bin/perl","c:

Re: Java/Perl

2006-05-02 Thread Todd W
"Karjala" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Has anyone used the "Java" module successfully in Perl? State University of New York at Buffalo has: http://www.perl.com/pub/a/2004/12/09/epayment.html Todd W. -- To unsubscribe,

Java/Perl

2006-04-30 Thread Karjala
Has anyone used the "Java" module successfully in Perl? If yes, I will post my very basic question. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

Has anyone make CPAN's Java::Swing pass unit tests?

2006-04-16 Thread siegfried
I'm using ActiveState Perl 5.8 on Windows 2003 server with the following commands (see below) to install http://search.cpan.org/~philcrow/Java-Swing-0.11/Swing.pm I get the following error: Microsoft (R) Program Maintenance Utility Version 7.10.3077 Copyright (C) Microsoft Corporation.

Re: call java in perl

2005-10-22 Thread Alfred Vahau
Hi, Is Inline::Java module from CPAN any help? Besides there are others at http://search.cpan.org/ Enter Java as the keyword to search for. Alfred, ZHAO, BING wrote: Hi, I knew there are many ways to call java in perl or call perl in java, but I have been searching, still got

call java in perl

2005-10-22 Thread ZHAO, BING
Hi, I knew there are many ways to call java in perl or call perl in java, but I have been searching, still got nothing, does any of you know some online source about linking the two together? thanks, bing -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Open java source file and change headers

2005-08-12 Thread David McGee
Hello All, I'm trying to come up with a solution for changing headers in my java source tree. Its been suggested to use Perl because it is good with text. Does anyone have any input or ideas? Thanks, mcgee

Re: perl and java and html

2005-08-11 Thread Jan Eden
Sonia wrote on 03.08.2005: >Hi, I want to run PERL script which will combine several JAVA >applications. Furthermore, I need this script to run in the HTML >page. Is that possible? Can I run this locally on my machine, >without a server? > >Thanks Check out mod_perl (and Ap

RE: perl and java and html

2005-08-08 Thread Bliss, Kevin
original problem stated.. I will have several Java programs that will be linked via Perl script, and then I wish to present results back in HTML file. So is there any way for me to do this without the web server? Maybe Perl is not the way to go then? What do you think? Thanks in advance, Sonia

Re: perl and java and html

2005-08-04 Thread Alfred Vahau
Hello Try xampp for Windows for development purposes. Has Apache, MySql and PHP. Great for testing out CGI scripts using Perl on the same box. http://www.xampp.org/ Alfred Vahau Tony Frasketi wrote: Hello I would appreciate it if you would steer me to one or more of those groups you menti

Re: perl and java and html

2005-08-04 Thread Sonia
"Chris Devers" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Wed, 3 Aug 2005, Sonia wrote: > >> I want to run PERL script which will combine several JAVA applications. > > This is possible. > >> Furthermore, I need this script to run

Re: perl and java and html

2005-08-03 Thread Xavier Noria
On Aug 4, 2005, at 2:47, Chris Devers wrote: You can run CGI scripts on your local computer IF you have a web server, but that's not necessarily a problem. Most versions of Unix will already include some version of the Apache web server, and there are many groups offering pre-packaged versi

Re: perl and java and html

2005-08-03 Thread Tony Frasketi
Thanks very much Chris for the clear explanation. Sounds like just what I need - A way to completely build and check out a web site on my own compter and then be able to migrate it to a hosting service when I'm ready. Sure beats the local editing and back and forth trips from my computer to the

Re: perl and java and html

2005-08-03 Thread Chris Devers
On Wed, 3 Aug 2005, Tony Frasketi wrote: > I would appreciate it if you would steer me to one or more of those > groups you mentioned that offer pre-packaged version of Apache with > Perl, MySQL and PHP for windows A quick Google search turns up several: http://www.google.com/search?q=win

Re: perl and java and html

2005-08-03 Thread Tony Frasketi
Hello I would appreciate it if you would steer me to one or more of those groups you mentioned that offer pre-packaged version of Apache with Perl, MySQL and PHP for windows Can these packages run on the same machine that I have windows running? Do I access these packages from Windows

Re: perl and java and html

2005-08-03 Thread Chris Devers
On Wed, 3 Aug 2005, Sonia wrote: > I want to run PERL script which will combine several JAVA applications. This is possible. > Furthermore, I need this script to run in the HTML page. This is not possible. HTML is just a "markup language". It tells an application such as a web

perl and java and html

2005-08-03 Thread Sonia
Hi, I want to run PERL script which will combine several JAVA applications. Furthermore, I need this script to run in the HTML page. Is that possible? Can I run this locally on my machine, without a server? Thanks -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Java class files from Java Script

2005-05-12 Thread Anish Kumar K
Please pardon me from posting the question here... can any tell how I call Java class files from Javascript... Thanks Anish

Wanted: Help fixing Failing Installation Tests for Java::Swing

2005-05-08 Thread Siegfried Heintze
I'm trying to install Java::Swing on ActiveState Perl 5.8+ on windows. Is this an appropriate forum for soliciting for help on this? After studying the source code for the failing test, I see the problem: In the test, we specify BEGIN { $ENV{CLASSPATH} .= 'java'; }

Re: How to follow a Java script link

2005-05-06 Thread perlocean
- Original Message - From: "Peter Rabbitson" <[EMAIL PROTECTED]> To: Sent: Thursday, May 05, 2005 6:40 PM Subject: Re: How to follow a Java script link On Thu, May 05, 2005 at 11:40:52AM -0500, Sergio Ulises Sanchez Buelna wrote: Hello all I am trying to harvest a se

Re: How to follow a Java script link

2005-05-05 Thread Peter Rabbitson
rch and obtain the first page with results. but when I > try to follow the link for the next page I cant do it since the link is a > Java script code at the source. > > I am using a WWW::Mechanize agent to do this procedure and i have tried > $link = $mech->find_link (text, "

Re: How to follow a Java script link

2005-05-05 Thread perlocean
- Original Message - From: "Ing. Branislav Gerzo" <[EMAIL PROTECTED]> To: Sent: Thursday, May 05, 2005 12:23 PM Subject: Re: How to follow a Java script link Sergio Ulises Sanchez Buelna [SUS], on Thursday, May 5, 2005 at 11:40 (-0500 (CDT)) wrote the following: SUS>

Re: How to follow a Java script link

2005-05-05 Thread Ing. Branislav Gerzo
Sergio Ulises Sanchez Buelna [SUS], on Thursday, May 5, 2005 at 11:40 (-0500 (CDT)) wrote the following: SUS> follow_link (this one does not work for the same reason presented before) and SUS> "javascript:mySubmit( 2, 're_search', 25) " SUS> on this reference SUS> previous you have to know, how

How to follow a Java script link

2005-05-05 Thread Sergio Ulises Sanchez Buelna
since the link is a Java script code at the source. I am using a WWW::Mechanize agent to do this procedure and i have tried $link = $mech->find_link (text, "mytext") $link = $mech->find(textregex, qr/myregex/i).etc then $url = $link->url() and finally $mech->get ($url)

Re: WWW::Mechanize java navigation (Answer)

2005-03-17 Thread Peter Rabbitson
do my first ->follow_link after which the script blows with something about > unsupported java. What can I use that would be as functional as > WWW::Mechanize while at the same time compatible with the site mentioned > above. It would be more than appreciated if somebody can submit along a few &

Re: WWW::Mechanize java navigation

2005-02-24 Thread rnmscott
Quoting Peter Rabbitson <[EMAIL PROTECTED]>: > > Whereas my original question was: > > What can I use that would be as functional as WWW::Mechanize while at the > same time compatible with the site mentioned above. > > -- I'd be interested in an answer to this too, as I have a similar sort of

Re: WWW::Mechanize java navigation

2005-02-24 Thread Chris Devers
On Thu, 24 Feb 2005, Peter Rabbitson wrote: > What can I use that would be as functional as WWW::Mechanize while at > the same time [Javascript aware]. To do this properly, you need to have a proper Javascript engine. I'm not aware of any Javascript hooks for Perl, but then, all modern web bro

Re: WWW::Mechanize java navigation

2005-02-24 Thread Todd W
"Peter Rabbitson" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > > > On Thu, Feb 24, 2005 at 03:11:08PM -0600, [EMAIL PROTECTED] wrote: > > > <---snip whole bunch of misunderstaning---> > > > You have your answer then.. I guess. > > >From FAQ=WWW::Mechanize; > > > > How can I get

Re: WWW::Mechanize java navigation

2005-02-24 Thread perlmails
- Original Message - From: "Peter Rabbitson" <[EMAIL PROTECTED]> To: Sent: Thursday, February 24, 2005 3:45 PM Subject: Re: WWW::Mechanize java navigation On Thu, Feb 24, 2005 at 03:11:08PM -0600, [EMAIL PROTECTED] wrote: <---snip whole bunch of misunderstanin

Re: WWW::Mechanize java navigation

2005-02-24 Thread perlmails
- Original Message - From: "Peter Rabbitson" <[EMAIL PROTECTED]> To: Sent: Thursday, February 24, 2005 3:02 PM Subject: Re: WWW::Mechanize java navigation use WWW::Mechanize; use Crypt::SSLeay; my $m_crawl = WWW::Mechanize->new; $m_crawl->get ('http://mym

Re: WWW::Mechanize java navigation

2005-02-24 Thread perlmails
Have you installed Crypt::SSLeay for https:// ? Could you print the header at least with your code? - Original Message - From: "Peter Rabbitson" <[EMAIL PROTECTED]> To: Sent: Thursday, February 24, 2005 11:45 AM Subject: WWW::Mechanize java navigation Hello list. I ha

Re: WWW::Mechanize java navigation

2005-02-24 Thread Peter Rabbitson
On Thu, Feb 24, 2005 at 03:11:08PM -0600, [EMAIL PROTECTED] wrote: <---snip whole bunch of misunderstaning---> > You have your answer then.. I guess. > >From FAQ=WWW::Mechanize; > > How can I get WWW::Mechanize to execute this JavaScript? > You can't. JavaScript is entirely client-based, and

Re: WWW::Mechanize java navigation

2005-02-24 Thread Peter Rabbitson
pported On Thu, Feb 24, 2005 at 02:20:29PM -0600, [EMAIL PROTECTED] wrote: > Have you installed Crypt::SSLeay for https:// ? > Could you print the header at least with your code? > > > - Original Message - > From: "Peter Rabbitson" <[EMAIL PROTECTED]> >

WWW::Mechanize java navigation

2005-02-24 Thread Peter Rabbitson
Hello list. I had very good luck using the WWW::Mechanize object for various automated data collectors until I stumbled over http://www.mymerchantview.net. As you can imagine the problems begin when I do my first ->follow_link after which the script blows with something about unsupported j

Re: A very simple example program Comparing Perl, Python and Java

2004-12-24 Thread Paul Johnson
On Fri, Dec 24, 2004 at 08:43:56AM -0600, JupiterHost.Net wrote: > Interesting, here's a couple benchmarks for for() vs. map(): > > for - print "$_\n" for grep length($_) <= 3, @ARGV > map - map "$_\n", grep length() <= 3, @ARGV You don't show your benchmark code or mention which version of perl

Re: A very simple example program Comparing Perl, Python and Java

2004-12-24 Thread JupiterHost.Net
Todd W wrote: "JupiterHost.Net" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] This is an equivalent program: #!/usr/bin/perl print "@ARGV\n"; print "$_\n" for grep length($_) <= 3, @ARGV; Ha Ha even better, nice one Bob! Perl is just way to awesome :) You can even get rid of t

Re: A very simple example program Comparing Perl, Python and Java

2004-12-24 Thread Todd W
"JupiterHost.Net" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > > This is an equivalent program: > > > >#!/usr/bin/perl > >print "@ARGV\n"; > >print "$_\n" for grep length($_) <= 3, @ARGV; > > Ha Ha even better, nice one Bob! > > Perl is just way to awesome :) You ca

RE: A very simple example program Comparing Perl, Python and Java

2004-12-22 Thread Richard Monson-Haefel
org Subject: Re: A very simple example program Comparing Perl, Python and Java > This is an equivalent program: > >#!/usr/bin/perl >print "@ARGV\n"; >print "$_\n" for grep length($_) <= 3, @ARGV; Ha Ha even better, nice one Bob! Perl is just

Re: A very simple example program Comparing Perl, Python and Java

2004-12-21 Thread John W. Krahn
Richard Monson-Haefel wrote: Hi, Hello, I'm writing a paper comparing the use of Perl, Python and Java. My Perl is pretty bad (as is my Python), so I thought I would check to see if there is a more efficient way of doing it. Here is the Perl program #!/usr/bin/perl -w @l = @ARGV; print

Re: A very simple example program Comparing Perl, Python and Java

2004-12-21 Thread JupiterHost.Net
This is an equivalent program: #!/usr/bin/perl print "@ARGV\n"; print "$_\n" for grep length($_) <= 3, @ARGV; Ha Ha even better, nice one Bob! Perl is just way to awesome :) -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: A very simple example program Comparing Perl, Python and Java

2004-12-21 Thread JupiterHost.Net
Richard Monson-Haefel wrote: Hi, Hello, I'm writing a paper comparing the use of Perl, Python and Java. My Perl is pretty bad (as is my Python), so I thought I would check to see if there is a more efficient way of doing it. Here is the Perl program http://www.rafb.net/paste/results/4px

RE: A very simple example program Comparing Perl, Python and Java

2004-12-21 Thread Bob Showalter
Richard Monson-Haefel wrote: > Here is the Perl program > > http://www.rafb.net/paste/results/4px8PI74.html Here it is: #!/usr/bin/perl -w @l = @ARGV; print "@l\n"; @r = (); foreach $x(@l){ if(length($x) <= 3){ push(@r, $x); } } $y = @r; print $y; foreac

A very simple example program Comparing Perl, Python and Java

2004-12-21 Thread Richard Monson-Haefel
Hi, I'm writing a paper comparing the use of Perl, Python and Java. My Perl is pretty bad (as is my Python), so I thought I would check to see if there is a more efficient way of doing it. Here is the Perl program http://www.rafb.net/paste/results/4px8PI74.html If there is a

Re: Sorry a Java question

2004-12-20 Thread Traeder, Philipp
On Monday 20 December 2004 12:24, Anish Kumar K. wrote: > Hi > > Sorry this is not a question to post here...But searched the net for > java servlet group didn;yt find much... This is definitely not the right list for Java questions - I'd suggest to search Google directly fo

Sorry a Java question

2004-12-20 Thread Anish Kumar K.
Hi Sorry this is not a question to post here...But searched the net for java servlet group didn;yt find much... I wnt to pass two values ina query string and then get the values in another serlvet using req.getQueryString() Any help will be usefull... Thanks Anish

Re: Calling Perl From Java?

2004-09-24 Thread Levon Barker
I have had to do this. Did a fair bit of research and the best that I could come up with (and what we have implemented) is to call mod_perl url from java. That way we don't have to recompile each time, and get some database persistance with Apache::DBI. Works out quite well. On Sep 23,

Calling Perl From Java?

2004-09-23 Thread Siegfried Heintze
I did a google search on calling Perl from Java. I found one site (http://ebb.org/perljvm/) that suggested the most promising project tackling this problem had been abandoned. The traditional approach is apparently very cumbersome: Have Java call C and C all Perl. This sounds very tedious. Does

RE: Some java some perl

2004-03-11 Thread Marcos . Rebelo
I did this question in here because I was aspecting that I was not the first crazy man doing something like this. I'm a perl programmer not a java programmer. I know that I'll have problems calling one from the other like this. Probabli the final release will be a Server/Client appl

RE: Some java some perl

2004-03-11 Thread Guay Jean-Sébastien
owing : perl -e 'print("Ola\n") foreach (1..100);' which is a valid invocation of perl. I have no useful information to add, since I do not know why the OP's program doesn't work. It's been a long time since I've done Java... And I do agree this is pro

Re: Some java some perl

2004-03-11 Thread R. Joseph Newton
[EMAIL PROTECTED] wrote: > I'm doing one interface in java that will call some perl scripts. I need to > catch the output and I don't know how to do it. > > If I execute the 'ls' command my java program finnish if I call the perl my > program don't f

Some java some perl

2004-03-11 Thread Marcos . Rebelo
I'm doing one interface in java that will call some perl scripts. I need to catch the output and I don't know how to do it. If I execute the 'ls' command my java program finnish if I call the perl my program don't finnish. What am I missing? import java.i

Re: perl modules in java

2003-09-18 Thread simran
13:42, Hari Fajri wrote: > Hi All, > > Is it possible to use module perl modules (let say DBD::Xbase) in java? > i'm sorry posting this java question to this perl forum, > because no body (able to) answer this question in java forum. -- To unsubscribe, e-mail: [EMAIL

perl modules in java

2003-09-18 Thread Hari Fajri
Hi All, Is it possible to use module perl modules (let say DBD::Xbase) in java? i'm sorry posting this java question to this perl forum, because no body (able to) answer this question in java forum.

[THANKS] -- AW: Does something exists in Perl such as JTabbedPane in Java

2002-06-12 Thread Heiko Heggen
Hi Janek. Yes. That's what I'm looking for. Thanks a lot. H. Heggen >>-Ursprüngliche Nachricht- >>Von: Janek Schleicher [mailto:[EMAIL PROTECTED]] >>Gesendet: Mittwoch, 12. Juni 2002 12:35 >>An: [EMAIL PROTECTED] >>Betreff: Re: Does something ex

Re: Does something exists in Perl such as JTabbedPane in Java

2002-06-12 Thread Janek Schleicher
Heiko Heggen wrote at Wed, 12 Jun 2002 11:52:20 +0200: > I need some help. I want to write a Perl application with a Graphical User >Interface. And I'm > looking for something like the JTabbedPane from Java but of course in Perl / TK. > Tk::NoteBook is something similar. (All

Does something exists in Perl such as JTabbedPane in Java

2002-06-12 Thread Heiko Heggen
Hi Guys. I need some help. I want to write a Perl application with a Graphical User Interface. And I'm looking for something like the JTabbedPane from Java but of course in Perl / TK. Does anyone of you know, if this exists in Perl??? Thanks for you help. Heiko Heggen SBM GmbH Email: [

why you really want to code in Java or a proprietary language vice perl

2002-05-04 Thread drieux
volks, Technically there is a list of reasons why you would want to, as professionals, code in a language that more fully provides for the delivery of byte-code-only binary-only releases to the customer. Since if you have read the gory details about perlcc you know that it is r

Re: Anyone good at Java ?

2002-05-01 Thread Jonathan E. Paton
> If anyone is good in Java or can tell me where I > can get help find for the following it will be > much appreciated. We are the Perl beginners list, not the Java list. > I'm not entirely sure where I start. > ... James, I'm trying hard to stick to a small flame fo

Anyone good at Java ?

2002-05-01 Thread james poni
Hello, If anyone is good in java or can tell me where i can get help find for the following it will be much appreciated. Ive got 2 files file1.txt,file2.txt. EG: file1.txt AD ABCD <=this means add numbers from line ABCD in file2.txt AV <=this means average numbers from line with L

  1   2   >