Re: adding functionality

2004-12-15 Thread JupiterHost.Net
Christopher Spears wrote: Here is the latest version of my script: #!/usr/bin/perl -w use strict; my $Pixarport = 7498; my $host = "lex"; my $Pixarfile = $Pixarport."@".$host; my @input; my $line; my $line_number; my $file_length; my @features_array; my @handles_array; my $handles; my $features; m

RE: moving to the next line

2004-12-15 Thread Charles K. Clarkson
Christopher Spears <[EMAIL PROTECTED]> wrote: : So everybody wants to know what I have been working : on. I finally got permission to post this: : : #!/usr/bin/perl -w : use strict; : : my $Pixarport = 7498; : my $host = "lex"; : my $Pixarfile = $Pixarport."@".$host; : my @line; : my $line; : m

How to detect present X-Server

2004-12-15 Thread Matthias Kraatz
Hi everybody - is there a way to make a perl program find out whether a valid X-Server is running? I.e. $ENV{DISPLAY} is not a dummy address, if set. Thanks, Matthias -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

adding functionality

2004-12-15 Thread Christopher Spears
Here is the latest version of my script: #!/usr/bin/perl -w use strict; my $Pixarport = 7498; my $host = "lex"; my $Pixarfile = $Pixarport."@".$host; my @input; my $line; my $line_number; my $file_length; my @features_array; my @handles_array; my $handles; my $features; my $sizeof; my $counter =

Help with https

2004-12-15 Thread Tham, Philip
Hi I am trying to access a secured page using the code below. The page is accessible with firefox using the proxy at proxy.inhouse.com port 8080. On doing a snoop on the data while using firefox I can see a CONNECT being sent to the website intranet.mysecuredpage.net directed to the proxy unenc

Re: asking for y or n

2004-12-15 Thread Chap Harrison
Check out recipe 12.22 from the Perl Cookbook, called "pmdesc". It should also be available for download from O'Reilly and other places. Also look into the CPANPLUS module from cpan. Thanks, Jay. pmdesc isn't pretty, but it gives the answers. :-) Chap -- To unsubscribe, e-mail: [EMAIL PROTECTED]

Automatically fill in a web-form field-get response

2004-12-15 Thread diogo . senai
Hi you all, I´d like to thank everyone that helped me with that little problem about filling in a webformfield and getting the result. I´d like to inform you, in case it comes to you... LWP::UserAgent really didn´t help me out, but www::mechanize solved all my problems, the script is up and runnin

moving to the next line

2004-12-15 Thread Christopher Spears
So everybody wants to know what I have been working on. I finally got permission to post this: #!/usr/bin/perl -w use strict; my $Pixarport = 7498; my $host = "lex"; my $Pixarfile = $Pixarport."@".$host; my @line; my $line; my @features_array; my @handles_array; my $handles; my $features; my $si

Re: asking for y or n

2004-12-15 Thread Jay
On Wed, 15 Dec 2004 11:57:32 -0600, Chap Harrison <[EMAIL PROTECTED]> wrote: > On Dec 15, 2004, at 10:30 AM, Jay wrote: > > you can also use the cpan shell or perl -MCPAN > > to get information on installed modules, > > Is there a command to the cpan interface will produce a list of all > install

Fwd: any perl project ideas

2004-12-15 Thread Harbhajan Julka
Thanks everybody for a great response. Appreciate all the time you took for replying. Sonia Note: forwarded message attached. __ Do you Yahoo!? Send holiday email and support a worthy cause. Do good. http://celebrity.mail.yahoo.com--- Begin M

Re: asking for y or n

2004-12-15 Thread Chap Harrison
On Dec 15, 2004, at 10:30 AM, Jay wrote: you can also use the cpan shell or perl -MCPAN to get information on installed modules, Is there a command to the cpan interface will produce a list of all installed modules? Neither the 'h' command nor 'perldoc cpan' indicate anything, that I can see.

Segmentation fault when installing Perl 5.8.6

2004-12-15 Thread perl_cova
Hi. This time I asked for a friend of mine for help with my English. I've been having problems installing DBD::Oracle and finally Tim Bunce advised me to install Perl 5.8.6. I try to, but I got a segmentation fault when running make. I tried this by running "sh Configure -de" and also by runni

Re: asking for y or n

2004-12-15 Thread Chris Devers
On Tue, 14 Dec 2004, Christopher Spears wrote: > Thanks for the answer Chris! Now my question is how > do I find out if it is actually on my machine! It won't be -- this is a young module and not (yet) distributed with Perl. You can get it from CPAN, but if you're trying to avoid external mod

Re: basic search engine

2004-12-15 Thread Dave Gray
> I am planning to write a simple search engine. The engine would be > able to search for a word or phrases from a file and probably point > the user the line number the word is found. > The issue is I want the engine to be able to support more advance > search techniques which means it could suppo

Re: asking for y or n

2004-12-15 Thread Jay
On Tue, 14 Dec 2004 17:00:44 -0800 (PST), Christopher Spears <[EMAIL PROTECTED]> wrote: > Thanks for the answer Chris! Now my question is how > do I find out if it is actually on my machine! I > don't want to have to download anything because I am > writing this script on one machine and then I a

Re: Edit properties for MS-Office files

2004-12-15 Thread Bee
Thanks Jenda, That would be a big hint, but something I don't understand from yours provided example, how do you know there's a class called {PaperSize} ? What if I wanna do is just modifying the word or powerpoint 's author, last modify date, last saved person, company etc ? Thanks Bee - Ori

Re: MySQL and flock

2004-12-15 Thread Jay
On Tue, 14 Dec 2004 17:21:04 +0200, Octavian Rasnita <[EMAIL PROTECTED]> wrote: > Thanks but I don't have access to MySQL nor to the client that makes the > update. I don't even know if it locks the tables or not. > > I would like to just copy some files in order to create a backup but I don't > w

Re: Digest MD5 and speed

2004-12-15 Thread Traeder, Philipp
On Wednesday 15 December 2004 15:34, Benjamin Jeeves wrote: > Hi all Hi Benjamin, > > I'm writting a program in perl to md5sum about 500,000 files these files > are text files and have different files size the biggest being about 500KB. > my code is below [..code snipped..] > > The thing is that

Re: Finding missing syntax element

2004-12-15 Thread Jay
On Mon, 13 Dec 2004 20:23:00 +0100, Jenda Krynicky <[EMAIL PROTECTED]> wrote: > From: Jay <[EMAIL PROTECTED]> > > Turn on use strict for starters, and use warnings. you won't want to > > run with them, if you have things that you know will cause errors, but > > they'll give you some other input.

Re: Digest MD5 and speed

2004-12-15 Thread Ing. Branislav Gerzo
Benjamin Jeeves [BJ], on Wednesday, December 15, 2004 at 14:34 (+) typed: BJ> in the right way too? If I do not md5sum the files it print to the screen in BJ> about 2 mins? I don't think there should be much impromevent in speed, because Digest::MD5 uses C library for calculating MD5. So you

Digest MD5 and speed

2004-12-15 Thread Benjamin Jeeves
Hi all I'm writting a program in perl to md5sum about 500,000 files these files are text files and have different files size the biggest being about 500KB. my code is below #!/usr/bin/perl use strict; use Cwd; # module for finding the current working directory use Digest::MD5 qw(md5); sub Sca

Re: any perl project ideas

2004-12-15 Thread Jean-Sébastien Guay
Hello Harbhajan, Hey all, Need some pointers to perl projects that use all the major functionalities of perl. Please pass your ideas as soon as you can. I've been working on perl in theory and tried some small programs to practice, but need something bigger that would help understand perl and learn

Re: receiving input from different sources

2004-12-15 Thread Jonathan Paton
Dear Christopher, Keyboard input comes on STDIN, and you can not use STDIN for something else if you need the keyboard. [It *might* be possible to reopen the keyboard file descriptor, but ask a Unix C programmer]. Usually, you would make either the file to be processed an option or the actions y

Re: any perl project ideas

2004-12-15 Thread Chris Devers
On Wed, 15 Dec 2004, Tor Hildrum wrote: > On Tue, 14 Dec 2004 23:10:48 -0800 (PST), Harbhajan Julka > <[EMAIL PROTECTED]> wrote: > > Hey all, > > Need some pointers to perl projects that use all the > > major functionalities of perl. Please pass your ideas > > as soon as you can. I've been working

Re: Edit properties for MS-Office files

2004-12-15 Thread Jenda Krynicky
From: "Bee" <[EMAIL PROTECTED]> > I now have some thousands of ms-word and power point files . > And they are required to make some clone like properties data filling. > Now, I have to modify them one by one, is there any module would help > to do this ? so I can just simply get a file list and cl

Re: How to install Tk.pm,LWP.pm?

2004-12-15 Thread Edward WIJAYA
On 15 Dec 2004 11:15:59 -, Prabahar Mosas <[EMAIL PROTECTED]> wrote:   Dear All, How to install Tk.pm,LWP.pm? I am new to perl, I did't know how to add module into perl. So if anybody know regarding my doubt. Please Mail me in simple manner. My Perl version is 5.8.4.

How to install Tk.pm,LWP.pm?

2004-12-15 Thread Prabahar Mosas
  Dear All, How to install Tk.pm,LWP.pm? I am new to perl, I did't know how to add module into perl. So if anybody know regarding my doubt. Please Mail me in simple manner. My Perl version is 5.8.4.

RE: MySQL and flock

2004-12-15 Thread Ron Goral
> -Original Message- > From: Octavian Rasnita [mailto:[EMAIL PROTECTED] > Sent: Tuesday, December 14, 2004 9:21 AM > To: Ron Goral; [EMAIL PROTECTED] > Subject: Re: MySQL and flock > > > Thanks but I don't have access to MySQL nor to the client that makes the > update. I don't even know if

Re: any perl project ideas

2004-12-15 Thread Octavian Rasnita
Hi, Write a guestbook, then a search engine. Teddy - Original Message - From: "Harbhajan Julka" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, December 15, 2004 9:10 AM Subject: any perl project ideas Hey all, -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additiona

$sftp->put problem.............

2004-12-15 Thread roime puniran
Thanks... And now it's seems like this... $sftp->>put($file, $remote_path) or die "...problem!..."; But it's still same error..I really stuck on it... --- "Ing. Branislav Gerzo" <[EMAIL PROTECTED]> wrote: > roime puniran [rp], on Wednesday, December 15, 2004 > at 00:33 (-0800 > (PST)) typed: >

basic search engine

2004-12-15 Thread Khairul Azmi
Hi, I am planning to write a simple search engine. The engine would be able to search for a word or phrases from a file and probably point the user the line number the word is found. The issue is I want the engine to be able to support more advance search techniques which means it could support key

$sftp->put problem.............

2004-12-15 Thread roime puniran
It's going well, when I put it in debug mode.. Actually the main point is, I have only error i think in this line code.. $sftp->put("$file", "$remote_path") or die "...problem !..."; But there is still come out with this error msg and i don't understand what happen.. Couldn't get handle: Failure

$sftp->put problem.............

2004-12-15 Thread roime puniran
It's going well, when I put it in debug mode.. Actually the main point is, I have only error i think in this line code.. $sftp->put("$file", "$remote_path") or die "...problem !..."; But there is still come out with this error msg and i don't understand what happen.. Couldn't get handle: Failure

Re: $sftp->put problem.............

2004-12-15 Thread Ing. Branislav Gerzo
roime puniran [rp], on Wednesday, December 15, 2004 at 00:33 (-0800 (PST)) typed: $sftp->>put("$file", "$remote_path") or die "...problem rp> !..."; try to remove ", so it should be like $sftp->put($file, $remote_path) or ... -- ...m8s, cu l8r, Brano. [You may be recognized soon. Perhaps yo

Re: basic search engine

2004-12-15 Thread Edward WIJAYA
On Wed, 15 Dec 2004 15:04:56 +0800, Khairul Azmi <[EMAIL PROTECTED]> wrote: Hi, Hello, I am planning to write a simple search engine. [snip] Is there any module where I could simply plug into my problem to enable this functinality. Thanks. Maybe "Plucene" can be useful. http://search.cpan.org/di