Help with "install_driver(Oracle) failed" error message

2019-03-12 Thread Frank K.
Greeting, In the infinite wisdom our company, without warning completely uninstalled Active Perl on all of our Windows servers (I believe it was v5.8).. They claimed it was a security risk, but I suspect new licensing fees were the main incentive.. Regardless, I installed Strawberry Perl, 64

Re: Storing Output file.

2016-02-02 Thread Frank Vino
Hi Andrew, I felt bad the way he used the language and i am leaving from this community...Thanks for all your help! -Frank On Mon, Feb 1, 2016 at 8:42 PM, Andrew Solomon <and...@geekuni.com> wrote: > Hi Everyone > > As you can see from the description of this list > htt

Re: Storing Output file.

2016-02-02 Thread Frank Vino
Thanks for your kind words. -Frank On Tue, Feb 2, 2016 at 2:43 PM, Jonathan Harris <jtnhar...@googlemail.com> wrote: > Hi Frank, > Really don't leave! Cyber-bullying is pathetic and the reserve of the > ignorant. > Just like an annoying itch, it's there and must be ignored

Re: Storing Output file.

2016-01-29 Thread Frank Larry
Hi Team, I tried it was working. -Franky On Fri, Jan 29, 2016 at 8:21 AM, Frank Larry <frankylarry2...@gmail.com> wrote: > Thank you so much for the solution you people provided. :) > > Warm Regards, > -Franky > > On Thu, Jan 28, 2016 at 8:49 PM, Malisetti Ram Mu

Re: Storing Output file.

2016-01-29 Thread Frank Vino
Thanks a lot Jonathan, i will set the env properly then i will try. -Frank On Fri, Jan 29, 2016 at 3:36 PM, Jonathan Harris <jtnhar...@googlemail.com> wrote: > Hi Frank, > Please would you remember to Reply All to the list as well? > > It just seems that the path is not incl

Storing Output file.

2016-01-28 Thread Frank Larry
Hi Team, could you please let me? i have a file which contains "Debug", i would like to replace debug to "Error", when i ran the below program the out showing Error message but how to save the output with new changes. Could you please tell me how to fix it? open(FILE, "

Re: Storing Output file.

2016-01-28 Thread Frank Larry
Thank you so much for the solution you people provided. :) Warm Regards, -Franky On Thu, Jan 28, 2016 at 8:49 PM, Malisetti Ram Murthy < malisettirammur...@gmail.com> wrote: > Hi Frank, > > Invoke below command from your perl program to replace the string "Debug" &g

Re: Storing Output file.

2016-01-28 Thread Frank Vino
Thank a lot brothersi will try all the things and update you.. -Frank On Thu, Jan 28, 2016 at 11:27 PM, Jonathan Harris via beginners < beginners@perl.org> wrote: > Hi, > I found that this works, assuming that the module is installed. > > #!/usr/bin/perl > use warnings

read/write to command line opened as a file

2015-04-20 Thread Frank K.
Ok, I am trying to do something I initially thought would be fairly easy to do but am running into lots of trouble. I have a db2 instance running on a Windows 2k8r2 Enterprise server, using ActivePerl V5.8.. I wanted to open a file handle in read/write mode to run cmd.exe.. I then need to

Doubt

2015-03-29 Thread Frank Vino
When i try to install Alias.pm file from environment i was getting an error message as cannot locate alimas.pm file, then i checked in cpan it was showing, In case how to fix this and update the Alias.pm file. Frank

Module Not Getting Installed

2015-03-27 Thread Frank Vino
Hi Team, When i trying to install FWConfig.pm from cpan it is saying that unable to locate. Could you please let me know how to download this module? -Franklin

Re: Module Not Getting Installed

2015-03-27 Thread Frank Vino
Sorry Shlomi it is our own module, i am still working on this. once it is update i will get the details. -Franky On Fri, Mar 27, 2015 at 3:58 PM, Shlomi Fish shlo...@shlomifish.org wrote: Hi Franklin, On Fri, 27 Mar 2015 14:00:05 +0530 Frank Vino vinofra...@gmail.com wrote: Hi Team

Re: Regular Expression Help.

2015-03-25 Thread Frank Vino
Thanks a lot Simon -Frank On Wed, Mar 25, 2015 at 5:44 PM, Simon Reinhardt si...@keinstein.org wrote: Hi Frank, when first learning regexps I read the section In the World of Regular Expressions in the Lama-Book [1]. If you find this introduction to slow, you might also take a look

Regular Expression Help.

2015-03-24 Thread Frank Vino
Hi Team, How to understand Regular Expression in a easy way? Thanks, Frank

Unable to call SSH module.

2015-03-12 Thread Frank Vino
) = $ssh-cmd($cmd); Output: Can't locate Net/SSH/Perl.pm in @INC (you may need to install the Net::SSH::Perl module) (@INC contains: C:/Perl64/site/lib C:/Perl64/lib .) at ssh.pl line 3. BEGIN failed--compilation aborted at ssh.pl line 3. -Frank

Re: Unable to call SSH module.

2015-03-12 Thread Frank Vino
Thank you so much let me try On Thu, Mar 12, 2015 at 10:23 PM, Zach Tuttle tuttle_z...@icloud.com wrote: You need to install the ssh module on windows Sent from my iPhone On Mar 12, 2015, at 9:25 AM, Frank Vino vinofra...@gmail.com wrote: Hi, Here is my code. In Cpan i have installed

Which Is Good?

2015-03-12 Thread Frank Vino
Activeperl or Strawberry Perl. = Which is good to use? -Frank

reading a hash of arrays

2014-11-19 Thread Frank K.
Have a hash of arrays.. i.e. $hash{one}[0] = value 10; $hash{one}[1] = value 11; $hash{one}[2] = value 11; $hash{one}[3] = value 13; $hash{one}[0] = value 20; $hash{one}[1] = value 21; $hash{one}[2] = value 22; $hash{one}[3] = value 23; If I had two arrays and wanted to make them

RE: reading a hash of arrays

2014-11-19 Thread Frank K.
Subject: Re: reading a hash of arrays On Wed, 19 Nov 2014 17:03:40 -0600 Frank K. fklei...@gmail.com wrote: I can't do @array1 = @hash{one}; @array1 = @{ $hash{one} }; $hash{one} contains a reference to an array. By dereferencing it with @{ ... }, you get the array. -- Don't stop where the ink

Planning to buy Hard Copy Book

2014-06-11 Thread Frank Vino
Hi Team, Could you please let me know which publisher and author name are good in Perl Book, I am planning to buy a hard copy. Thanks, Vino

Re: Planning to buy Hard Copy Book

2014-06-11 Thread Frank Vino
Thanks a lot guys..:) -Frank On Wed, Jun 11, 2014 at 7:30 PM, Sam p...@net153.net wrote: Depends on your level. I enjoyed Beginning Perl by Curtis Poe. It covers alot of areas in perl, from the different object frameworks to a really nice section on testing. If you really want to get

Re: OO perl programming

2014-02-06 Thread Frank Landry
. Here's a URL for it http://search.cpan.org/dist/Moose/ perldoc Moose will be your friend. Kind regards Lesley -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/ -- Frank N. Landry

Re: Kind Help

2013-10-04 Thread Frank Vino
Thanks for your help. -Vino. On Fri, Oct 4, 2013 at 10:14 AM, Shlomi Fish shlo...@shlomifish.org wrote: Hi Vino, On Fri, 4 Oct 2013 09:12:20 +0530 Frank Vino vinofra...@gmail.com wrote: Hi All, Here is my request, I would like to hit my firewall with IP address and Domain

Kind Help

2013-10-03 Thread Frank Vino
Hi All, Here is my request, I would like to hit my firewall with IP address and Domain users for 100 Users. I have firewall and active directory(100 Users) but i do not have 100 Client PC's. I am planning to do a SSH/Remote session to hit the firewall with IP address and Doamin Users. I would

Need to login/logout for Domain Users

2013-08-13 Thread Frank Vino
Hi All, Here is my requirement could you please help on this. I have Domain Controller for 100 users, and i have client PC (windows 7), i would like to login with multiple users for every 5 minutes in a same client PC. Thanks, Vino

Hello

2013-07-12 Thread Frank Vino
Could you please let me know the perl script how to find DNS IP address of system.? Thanks, -Vino

Re: Fw: Please exempt the book Modern Perl from Web Commercials on http://perl-begin.org/

2013-06-26 Thread Frank Vino
Dear All, Could you please recommend good beginners book to start, and also looking for videos. Thanks, Vino On Wed, Jun 26, 2013 at 4:30 PM, Rob Dixon rob.di...@gmx.com wrote: On 26/06/2013 10:18, Franklin Lawerence wrote: Hi, Could you please let me know how to reverse a string

Re: Please exempt the book Modern Perl from Web Commercials on http://perl-begin.org/

2013-06-26 Thread Frank Vino
Thanks a lot Shlomi.. :) Regards, Vino On Wed, Jun 26, 2013 at 4:55 PM, Shlomi Fish shlo...@shlomifish.org wrote: Hi Vino, On Wed, 26 Jun 2013 16:43:38 +0530 Frank Vino vinofra...@gmail.com wrote: Dear All, Could you please recommend good beginners book to start, and also looking

Re: Getting Started.

2013-06-26 Thread Frank Vino
...@genehack.orgwrote: Hi Frank. Based on your Dear all salutation, I suspect you meant to send this to the whole list, not just me -- so I'm replying to the whole list. IMO the best Perl beginner book at the moment is Curtis Ovid Poe's Beginning Perl. chrs, john. On Wed, Jun 26, 2013 at 4:02 AM, Frank

RE: What does $$ mean ?

2013-05-17 Thread Frank K.
Gosh, I always thought $$ is what you have to pay when you get a divorce vbg.. flk k -Original Message- From: Dr.Ruud [mailto:rvtol+use...@isolution.nl] Sent: Friday, May 17, 2013 7:47 AM To: beginners@perl.org Subject: Re: What does $$ mean ? On 17/05/2013 14:39, *Shaji Kalidasan*

RE: local commands in Win2008R2

2012-02-03 Thread Frank Kleinburg
accordingly.. lots of fun.. Anyway thanks again for the reply and I sure hope what I found helps someone in the future.. Flk k From: timothy adigun [mailto:2teezp...@gmail.com] Sent: Friday, February 03, 2012 2:35 PM To: Frank Kleinburg Subject: Re: local commands in Win2008R2 Hi Frank

local commands in Win2008R2

2012-02-02 Thread Frank Kleinburg
Folks, Forever I have used the following to run an external command on a Winders box: `cluster group $Name` (where name is the name of the cluster group in question) But today I had to run a script which works on previous versions of Windows, is failing on Windows 2008 R2..

Re: File health check on *nix system using stat

2011-12-11 Thread frank cui
) { close $T; return 0; } } close $T; return 1; } and I cut the meta data checking part in the previous post. Thanks Frank On Sun, Dec 11, 2011 at 12:39 AM, Peter Scott pe...@psdt.com wrote: On Sat, 10 Dec 2011 11:11:15 -0400, frank cui wrote: # attempt to read the directory entry for this file my

File health check on *nix system using stat

2011-12-10 Thread frank cui
would be about this logic, why are we checking all of them with a AND relationship rather than OR, or maybe something else(like checking all the 0-12 entries) ? Thanks Frank

Re: Run perl scripts in Windows

2011-10-18 Thread frank cui
i believe most group policy deployments doesn't allow personal created files on root directory of system disk. On Tue, Oct 18, 2011 at 5:16 PM, Natxo Asenjo natxo.ase...@gmail.comwrote: On Oct 18, 2011 3:07 PM, Remy Guo rollingst...@gmail.com wrote: hi all, I have a Perl script in Windows

RE: Need help getting data from a structure..

2011-09-29 Thread Frank Kleinburg
List, First I would like to thank all who provided input.. With the help of the this list, I was able to figure out what I needed to change to get it all working.. And we have successfully kept VB out (Yippy!).. Now to the solution (note: I have copied the little test code and its output

Need help getting data from a structure..

2011-09-28 Thread Frank Kleinburg
Hello list, I've been playing with perl going back to the 4.x days, mostly simple scripts to monitor server or application daemons, kick off and manage backups, or read log files.. While some of these programs are fairly complicated, none have more than just tickled the more sophisticated

Re: Search and replace w/ ignoring arbitrary characters

2011-08-11 Thread Frank Müller
(ba##r) ? again, thanks for any ideas and hints, Frank On 9 Aug., 02:34, jwkr...@shaw.ca (John W. Krahn) wrote: Frank Müller wrote: dear all, Hello, i want to make some search and replace within a string where I can define a set of characters, especially parenthesis, brackets etc

Search and replace w/ ignoring arbitrary characters

2011-08-08 Thread Frank Müller
. Is it possible to make this kind of search and replace with a regular expression, or does somebody know of an existing perl module which can do this? tia, Frank -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

install patch to module Text::LevenshteinXS

2010-07-20 Thread Frank Müller
dear all, I want to make use of the module Text::LevenshteinXS, I installed it via perl -MCPAN -e 'shell'. While using it I noticed that the module isn't UTF safe, so I searched the internet and found: https://rt.cpan.org/Public/Bug/Display.html?id=36685 There one can download a patch for this

Unicode::Collate string replacements and whitespace

2010-03-31 Thread Frank Müller
, Frank -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

Re: 1-line text file with numbers, need to add to them

2010-02-05 Thread Frank
For instance, the below is your data file --data.txt 12~s1~s314~s5677~s899~s0~s Here are the codes: #!/usr/bin/perl open(DATA,data.txt); while(DATA) { $number=$_; # print $number; while ($number =~ /([0-9]+)~s/g){ printf (%d\n,$1); } } close(DATA); On Feb 4, 7:27 am,

Re: 1-line text file with numbers, need to add to them

2010-02-05 Thread Frank
On Feb 4, 4:35 pm, jwkr...@shaw.ca (John W. Krahn) wrote: Chris wrote: I need some help with this problem. I've got a text file datafile with 1 line of data comprised of 30 different numbers delimited with ~s. I need to open this file, grab this line of data, split it into individual

How to get the name of the variable a reference is pointing at

2007-11-20 Thread Frank Bergemann
is actually pointing at currenty (%Hash1, Hash2, Hash3)? - thanks! rgds! Frank -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Re: How to get the name of the variable a reference is pointing at

2007-11-20 Thread Frank Bergemann
Hi Paul, just another level of indirection - should have known that :-) - many thanks! rgds! Frank -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Re: regexp with capture of multiple lines matching a line pattern

2007-11-06 Thread Frank Bergemann
{'EQOSID'} = \$^N;})[ ]+(NO|YES|MAYBE)(?{\$APNdata{'VPAA'} = \ $^N;})[ ]+(IPV4)(?{\$APNdata{'PDPTY'} = \$^N;})[ ]+(\\d+)(?{\ $APNdata{'PDPID'} = \$^N; push [EMAIL PROTECTED], {\%APNdata};})\\n)* [...] rgds! Frank -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

regexp with capture of multiple lines matching a line pattern

2007-11-05 Thread Frank Bergemann
trying to find out, if there is possible to use a proxy push_backer var to @array for assignment, because i guess i can not just use some @array to save multiple hits? But actually i would like an easier way to do this. rgds! Frank -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: regexp with capture of multiple lines matching a line pattern

2007-11-05 Thread Frank Bergemann
Headline 11 12 13 14 15 I.e. only the last line, that matched for #5 numbers rgds! Frank -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Re: regexp with capture of multiple lines matching a line pattern

2007-11-05 Thread Frank Bergemann
the option to use Regexp::NamedCaptures? Is there a way to stack results with this? Or does it require the new Perl5.10 / Perl6 features using perl- plugin via (?{...}) rgds! Frank -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Re: book on perl

2007-07-02 Thread Frank Terbeck
Garg, Mayank IN BOM SISL [EMAIL PROTECTED]: Can some one suggest me a good book on perl (basics and advanced) http://www.amazon.com/gp/richpub/listmania/fullview/2I3RK3EW6URXJ/ref=sr_5_1/104-6357313-7554328?ie=UTF8qid=1031749291sr=5-1 Linked from http://www.perl.org/books.html. Regards, Frank

RE: clamav stats script help

2006-05-24 Thread Frank D. Gunseor
Maybe your machine is clean - there are no viruses to detect? -Original Message- From: Chris [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 24, 2006 6:55 PM To: beginners@perl.org Subject: clamav stats script help I've downloaded a script that is supposed to output stats on virus's

Re: How to manage around 1000 entries which will constantly be changing

2006-04-01 Thread Frank Bax
sounds interesting. Frank -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: Whimsical Question

2006-03-29 Thread Frank Bax
At 08:03 AM 3/29/06, Ryan Frantz wrote: _Is_ there a name for '$_' ? http://www.rexswain.com/perl5.html $_ The default input and pattern-searching space. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Re: SMS or text messaging

2006-03-25 Thread Frank Bax
. You can send SMS messages to a cellphone via email: http://www.funsms.net/email2sms.htm But I suppose there could be other ways that I don't know about. Frank -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http

Re: Character class for ?*%$@ etc...

2006-03-16 Thread Frank Bax
At 11:19 AM 3/16/06, Colin Robinson wrote: Can anyone tell me if I can short hand ?*%$@ etc. as matches for my regular expression. I don't want spaces, new line, carriage returns, tabs etc. to be matched. google perl regexp. All top five results have the answer. -- To unsubscribe, e-mail:

Re: error messege: subroutine Cwd::fastcwd redefined

2006-03-03 Thread Frank Lee
by perlbug. Wish it helpful. -F Tom Phoenix wrote: On 2/27/06, Frank Lee [EMAIL PROTECTED] wrote: subroutine Cwd::fastcwd redefined at C:/per/lib/Cwd.pm line 700 subroutine Cwd::getcwd redefined at C:/per/lib/Cwd.pm line 700 subroutine Cwd::abs_path redefined at C:/per/lib/Cwd.pm line 700

Re: error messege: subroutine Cwd::fastcwd redefined

2006-02-28 Thread Frank Lee
Chas Owens wrote: On 2/27/06, Frank Lee [EMAIL PROTECTED] wrote: When I add use Bio:Perl in my script and run it in windows XP, it complains: subroutine Cwd::fastcwd redefined at C:/per/lib/Cwd.pm line 700 subroutine Cwd::getcwd redefined at C:/per/lib/Cwd.pm line 700 subroutine Cwd

Re: error messege: subroutine Cwd::fastcwd redefined

2006-02-28 Thread Frank Lee
Chas Owens wrote: On 2/28/06, Frank Lee [EMAIL PROTECTED] wrote: Chas Owens wrote: On 2/27/06, Frank Lee [EMAIL PROTECTED] wrote: When I add use Bio:Perl in my script and run it in windows XP, it complains: subroutine Cwd::fastcwd redefined at C:/per/lib/Cwd.pm line 700

error messege: subroutine Cwd::fastcwd redefined

2006-02-27 Thread Frank Lee
works. Could you tell me how to fix it? My perl, v5.8.7, windows, xp sp2. The script works fine under Linux OS. Thanks a lot. Best Frank -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: DBI problem

2005-12-14 Thread Frank Bax
At 11:07 PM 12/13/05, john wrote: I can't see it in emacs. Then my guess was off-base. What do you mean by dump the last line of the file in binary? Sounds like something I need to learn about. tail -2 filename | cat -v -v Displays non-printing characters so they are visible. --

Re: DBI problem

2005-12-13 Thread Frank Bax
At 02:30 AM 12/13/05, john wrote: I'm attempting to loop thru an input file, executing a SELECT query with the value from each line. The script works for the first iteration, and then gives these error messages: DBD::mysql::st fetchrow_hashref failed: fetch() without execute() at

chop/chomp/?

2005-12-08 Thread Frank Bax
What's the correct way to trim trailing newlines from a text file that might be either DOS or UNIX format for newlines? The docs (and my experience) is that chomp only works properly if the text file is native to the current operating system? I'm running on *bsd system. -- To unsubscribe,

Re: which is more effective between map and foreach?

2005-12-06 Thread Frank Bax
At 06:06 AM 12/6/05, Jennifer Garner wrote: I have a small script,when it run,it generate much more lines and put them into a file. The code for printing I writed: map { print RESULT $_,:,$ips{$_},\n } sort { $ips{$b} = $ips{$a} } keys %ips; Certainly, I can write that code with

RE: You've read the Llama, now what?

2005-11-28 Thread Frank D. Gunseor
Now that is REALLY helpful! -Original Message- From: swayam panda [mailto:[EMAIL PROTECTED] Sent: Monday, November 28, 2005 3:59 AM To: beginners@perl.org Subject: Re: You've read the Llama, now what? Hi There is Saying I See and I Forget I Hear and I Remember I Do and I Understand

processing at preset times

2005-11-08 Thread Frank Bax
with each other. If this could work, the processing script would probably still need a thread to do communication with timer script anyway. Frank -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first

hash of hash - copy

2005-11-04 Thread Frank Bax
#!/usr/bin/perl -w use strict; my %aSuit = (); $aSuit{0}{'a'} = 'A'; $aSuit{0}{'b'} = 'B'; $aSuit{0}{'c'} = 'C'; $aSuit{1}{'a'} = 'D'; $aSuit{1}{'b'} = 'E'; $aSuit{1}{'c'} = 'F'; Now I want to make $aSuit{1} a copy of $aSuit{0} %aSuit{1} = %aSuit{0}; This doesn't work (syntax error),

Re: hash of hash - copy

2005-11-04 Thread Frank Bax
At 03:17 PM 11/4/05, Jeff 'japhy' Pinyan wrote: On Nov 4, Frank Bax said: $aSuit{0}{'a'} = 'A'; $aSuit{0}{'b'} = 'B'; $aSuit{0}{'c'} = 'C'; $aSuit{1}{'a'} = 'D'; $aSuit{1}{'b'} = 'E'; $aSuit{1}{'c'} = 'F'; Now I want to make $aSuit{1} a copy of $aSuit{0} %aSuit{1} = %aSuit{0}; Well

Re: map/array performance

2005-10-24 Thread Frank Bax
At 10:07 PM 10/23/05, Jeff 'japhy' Pinyan wrote: On Oct 23, Frank Bax said: my $aval=''; map { $aval=$aval.sprintf(%4d,$aSuit{$a}{$_}); } @f_seq; my $aval=''; foreach $f (@f_seq) { $aval=$aval.sprintf(%4d,$aSuit{$a}{$f}); } You should be using $aval .= here, instead

map/array performance

2005-10-23 Thread Frank Bax
Rather than create/store/sort many billion entities, my script creates these entities dynamically and maintains a hash of the top 100. As each entity is created, I search my hash for the entity with lowest value, based on a number of elements in the hash; then low element gets replaced with

Re: map/array performance

2005-10-23 Thread Frank Bax
At 02:11 PM 10/23/05, John W. Krahn wrote: Frank Bax wrote: my $snew = sprintf(%4d%4d,$aSuit{$new}{'rescap'},$aSuit{$new}{'resval'}); my $slow = sprintf(%4d%4d,$aSuit{$low}{'rescap'},$aSuit{$low}{'resval'}); Using sprintf() to concatenate numbers is (AFAIK) going

Re: map/array performance

2005-10-23 Thread Frank Bax
At 04:35 PM 10/23/05, Frank Bax wrote: At 02:11 PM 10/23/05, John W. Krahn wrote: Frank Bax wrote: my $snew = sprintf(%4d%4d,$aSuit{$new}{'rescap'},$aSuit{$new}{'resval'}); my $slow = sprintf(%4d%4d,$aSuit{$low}{'rescap'},$aSuit{$low}{'resval'}); Using sprintf

Perl equivalent of JavaScript match

2005-10-11 Thread Frank Geueke, III
it in an array (in as few lines as possible). I was told that split has an option that grabs delimiter matches instead of dropping delimiters and returning what's between them. Any ideas? Thanks. Frank __ Yahoo! Music Unlimited Access over 1 million

multiple overlapping matches in a regex

2005-10-03 Thread Frank Geueke, III
. ~Frank __ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

here tag and internal variable

2005-09-23 Thread Frank Geueke, III
/hotspot.css TYPE=text/css MEDIA=screen in the link tag Perl thinks the var name is $get_to_indexcss... Thanks. ~Frank __ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com -- To unsubscribe, e-mail: [EMAIL PROTECTED

Reverse If and Normal Else

2005-09-22 Thread Frank Geueke, III
. Is there a way to keep the reverse if and use an else (or something like it) that anyone knows of? Thanks. ~Frank __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- To unsubscribe, e-mail

getting error from backtick shell execution

2005-09-07 Thread Frank Geueke, III
if possible. The error I'm getting is from ssh not having the proper keys for a host. There's about half a screen worth of stuff displayed with it. (This is what I see when I do the commands manually from the shell.) Any ideas? Regards. ~Frank

how to use perl module to do Z-scores test (Say, Wilcoxon)

2005-06-06 Thread Frank Lee
Can anybody give me some ideas about how to use perl module to do Z-scores test (Say, Wilcoxon).? Thanks very much! -- Do not guess who I am. I am not Bush in BlackHouse -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Re: how to use perl module to do Z-scores test (Say, Wilcoxon)

2005-06-06 Thread Frank Lee
Hi, Chris, That's very nice! It is very helpful for me. I can use the Z-test in the Mastering Algorithms with Perl. Thanks very much! Frank On 6/7/05, Chris Devers [EMAIL PROTECTED] wrote: On Tue, 7 Jun 2005, Frank Lee wrote: Can anybody give me some ideas about how to use perl module

Re: Problem with Foreach in If Statement...

2005-06-04 Thread Frank Lee
please try this one: #tested in linux #!/usr/bin/perl -w use strict; my @names = qw( fred barney betty wilma dino ); print Enter some numbers 1 to 5, one per line, then press ctrl D:\n; chomp (my @numbers = STDIN); foreach (@numbers){ if ($_ 6){ print $names[$_ - 1]\n;

a question about print in array

2005-05-24 Thread Frank
I met an interesting problem recently and am expecting your kind advice. my input file (for_test) is like as follows. I wish add a to the first line (before the word blue) and remove at the last line. # ---begining of the file, this line is not included in the file---# blue sky skirt

Re: How to get the numeric index of a element in an array

2005-05-16 Thread Frank
from such a cyclopaedia. Thanks Frank bright true wrote: hello , you can do something like the following my $counter = -1; foreach (@array){ $counter++; if($_ =~m/$word/){ print Element ID is $counter;} } On 5/15/05, *Frank* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Ing. Branislav

Re: How to get the numeric index of a element in an array

2005-05-16 Thread Frank
Thanks! Mr. Clarkson's program really works. but because my array (data) is more complex. So I made an adjustment but it did not work very well. BTW: John W. Krahn suggested I can change Input Record Separator, it does work and help me to solve the problem! But I just wonder why the

how to get data from an array

2005-05-15 Thread Frank
Hi, all, I am a newbie for perl. I am learning perl for my biological data analysis. Now, I have a data look like this: I do not need-1 .(dots mean data here) . . I do not need -2 .. . What I

How to get the numeric index of a element in an array

2005-05-15 Thread Frank
Hi, all If i know the element of array, can I get the numeric index of this element? Thanks Frank -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: How to get the numeric index of a element in an array

2005-05-15 Thread Frank
Ing. Branislav Gerzo wrote: Frank [F], on Sunday, May 15, 2005 at 19:45 (+0800) typed: F If i know the element of array, can I get the numeric index of this F element? Exist a way, but it is better using hash. In arrays you have to iterate over every element. ~~~Pls tell me the way

Re: How to get the numeric index of a element in an array

2005-05-15 Thread Frank
with , if not, print it; print $array[$index+$n]; $n +=1; }else { # if the element begins with , end the loop last; } } } But I do not how to get the numeric index of $elemnet.Or is there any other way to jump into next element? any suggestions are appreciated! Frank Octavian Rasnita wrote: Hi, Let's

Re: a problem about GD

2005-05-13 Thread Frank
Thanks, Zentara, The problem was fixed. zentara wrote: On Tue, 10 May 2005 12:31:34 +0800, [EMAIL PROTECTED] (Frank) wrote: Sorry if my question is stupid or too simple. I have google the answer but got too much information I test my GD module to check whether it can be used since

a problem about GD

2005-05-09 Thread Frank
Sorry if my question is stupid or too simple. I have google the answer but got too much information I test my GD module to check whether it can be used since there are too many errors when install GD. the test program is copied from a website: **

cgi form generates a cronjob

2005-03-25 Thread FRANK DELATORRE
when www is not really a user in the /home dir... thanks Frank

RE: Execute commands on the servers through a cgi script

2005-01-09 Thread Frank D. Gunseor
-Original Message- From: Manav Mathur [mailto:[EMAIL PROTECTED] Sent: Sunday, January 09, 2005 2:29 AM To: beginners@perl.org Subject: RE: Execute commands on the servers through a cgi script Norton AntiVirus deleted the following email message because it was infected with a virus:

String to Character Array

2004-12-06 Thread Frank Westfield
would be welcome. Regards Frank Westfield - Managing Consultant -- FW Associates - IT Consultants Address: 4 Dell Close, Broadstone, Dorset

String to Character Array

2004-12-06 Thread Frank Westfield
would be welcome. Regards Frank Westfield - Managing Consultant -- FW Associates - IT Consultants Address: 4 Dell Close, Broadstone, Dorset

Re: String to Character Array

2004-12-06 Thread Frank Westfield
At 23:48 06/12/2004, you wrote: On Mon, 6 Dec 2004, Frank Westfield wrote: Is there a Perl equivalent of Java String.toArray method? I need to get an Alpha-Numeric string (16 plus consecutive characters) into an array or hash of characters to allow manipulation of the individual characters

OT: sockets

2004-04-30 Thread Frank DeLaTorre
All, Is there a perl sockets list I can get a hold of ? thanks for any help. -frank

Re: OT: Webhosting with good Perl support

2004-02-17 Thread Frank DeLaTorre
- Original Message - From: Robert [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, February 15, 2004 7:52 PM Subject: Re: OT: Webhosting with good Perl support Frank Delatorre wrote: bob, yep that helps me a ton, thanks...honestly! Dang, now I'm wondering if I should wipe

Re: Webhosting with good Perl support

2004-02-14 Thread Frank DeLaTorre
try: www.he.net They allow everything. They run LINUX servers. - Original Message - From: Charles K. Clarkson [EMAIL PROTECTED] To: 'Jan Eden' [EMAIL PROTECTED]; 'Perl Lists' [EMAIL PROTECTED] Sent: Saturday, February 14, 2004 5:22 AM Subject: RE: Webhosting with good Perl support

Re: Webhosting with good Perl support

2004-02-14 Thread Frank DeLaTorre
. - Original Message - From: Randal L. Schwartz [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, February 14, 2004 12:36 PM Subject: Re: Webhosting with good Perl support Frank try: www.he.net Frank They allow everything. They run LINUX servers. www.sprocketnetworks.com

OT: Webhosting with good Perl support

2004-02-14 Thread Frank DeLaTorre
ok, good point. thanks. Now, why OpenBSD over netBSD? I was running netBSD on an ULTRA10 before the HDD died. I switched to Debian GNU/linux. Any thoughts? - Original Message - From: Randal L. Schwartz [EMAIL PROTECTED] To: Frank DeLaTorre [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent

Re: OT: Webhosting with good Perl support

2004-02-14 Thread Frank DeLaTorre
Perl support Frank Delatorre wrote: ok, good point. thanks. Now, why OpenBSD over netBSD? I was running netBSD on an ULTRA10 before the HDD died. I switched to Debian GNU/linux. Any thoughts? - Original Message - From: Randal L. Schwartz [EMAIL PROTECTED] To: Frank

Re: OT: Webhosting with good Perl support

2004-02-14 Thread Frank DeLaTorre
, February 14, 2004 6:38 PM Subject: Re: OT: Webhosting with good Perl support Frank Delatorre wrote: Yo man, if you read it thread you would get it. The original issue was between LINUX and OpenBSD...NOT OpenBSD and netBSDGOT IT? - Original Message - From: Robert [EMAIL

  1   2   3   >