Perl SDL

2007-11-22 Thread Marko Schugardt
Hello, if i execute a Perl SDL program (see below), then i get a strange behavior. My programmed window appears only a very short while. But i guess, it should stay there. A problem with SDL? My distribution is openSUSE Linux 10.2. :~> rpm -qa SDL* SDL_image-1.2.5-24 SDL_ttf-2.0.8-25 SDL_mixer-1

how to know whether the cick on the psuh button is success or not

2007-11-22 Thread Siva Prasad
Hi In Win32::IEAutomation If I click on a button, I wanted to know whether the click on the button is successful or not. Below are the details: I wanted to know whether the click with the following function is successful or not $ie->getButton('caption:', "get")->Click;; Af

Re: Formating the log

2007-11-22 Thread avinashsuratkal
On Nov 22, 2:27 am, [EMAIL PROTECTED] (Yitzle) wrote: > On Nov 21, 2007 11:28 AM, avinashsuratkal <[EMAIL PROTECTED]> wrote: > > > > > > > Hi, > > > I have the following log and my requirement is to capture the block > > from one "-->" symbol to another. and put it in other file, using > > perl. >

Re: Formating the log

2007-11-22 Thread avinashsuratkal
On Nov 22, 2:22 pm, [EMAIL PROTECTED] (Avinashsuratkal) wrote: > On Nov 22, 2:27 am, [EMAIL PROTECTED] (Yitzle) wrote: > > > > > > > On Nov 21, 2007 11:28 AM, avinashsuratkal <[EMAIL PROTECTED]> wrote: > > > > Hi, > > > > I have the following log and my requirement is to capture the block > > > fro

Re: how to know whether the cick on the psuh button is success or not

2007-11-22 Thread Rob Dixon
Siva Prasad wrote: In Win32::IEAutomation If I click on a button, I wanted to know whether the click on the button is successful or not. Below are the details: I wanted to know whether the click with the following function is successful or not $ie->getButton('caption:', "get")->Click;;

Re: Formating the log

2007-11-22 Thread Rob Coops
It could be just me but. perl -e 'while(<>){print "$1\n" if /-->(.*)<--/; }' inputFile > outputFile is pretty much the same as somethign like: #!/usr/bin/perl use strict; use warnings; my @array; open( IN, ") { my ($text) = $_ =~ m/-->(.*)<--/; push( @aaray, $text); } close(IN); fore

Re: how to know whether the cick on the psuh button is success or not

2007-11-22 Thread Jenda Krynicky
From: "Siva Prasad" <[EMAIL PROTECTED]> > In Win32::IEAutomation If I click on a button, I wanted to know whether the > click on the button is successful or not. > > Below are the details: > I wanted to know whether the click with the following function is successful > or not > > $ie->getButton

Using MQSeries modules

2007-11-22 Thread [EMAIL PROTECTED]
Is it correct to use such syntax: ... use MQSeries qw(:functions); I try to use MQSeries modules and have errors like this: "functions" is not defined in %MQSeries::EXPORT_TAGS at /usr/local/lib/ perl/5.8.8/MQSeries/Command/PCF.pm line 20 Can't continue after import errors at /usr/local/

Re: Using MQSeries modules

2007-11-22 Thread Gunnar Hjalmarsson
[EMAIL PROTECTED] wrote: Is it correct to use such syntax: ... use MQSeries qw(:functions); According to the docs at cpan.org it is. I try to use MQSeries modules and have errors like this: "functions" is not defined in %MQSeries::EXPORT_TAGS ... I,ve looked many perl manuals and th

Re: Formating the log

2007-11-22 Thread Rob Dixon
avinashsuratkal wrote: I have the following log and my requirement is to capture the block from one "-->" symbol to another. and put it in other file, using perl. - --> Checking Server Hostname <-- - Server Hostn

Re: Perl SDL

2007-11-22 Thread Tom Phoenix
On 11/22/07, Marko Schugardt <[EMAIL PROTECTED]> wrote: > if i execute a Perl SDL program (see below), then i get a strange > behavior. My programmed window appears only a very short while. But i > guess, it should stay there. A problem with SDL? Maybe. Does the module pass all the tests? > #err

Re: Using MQSeries modules

2007-11-22 Thread Rodrick Brown
Try contacting the author On Nov 22, 2007 8:51 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Is it correct to use such syntax: > ... > use MQSeries qw(:functions); > > > I try to use MQSeries modules and have errors like this: > > "functions" is not defined in %MQSeries::EXPORT_TAG

Re: Some idea - need help.

2007-11-22 Thread yitzle
Find a really fast local server. Kill all other connections to the net. Time how long it takes to download a file. eg time wget http://file Divide file size by time. There are websites that are supposed to test your connection speed, eg http://www.2wire.com/bandwidth/meter.php -- To unsubscribe,

Some idea - need help.

2007-11-22 Thread Tobias L
Hi All... I was just thinking that I needed some script that could be checking the actual speed of how many kilobytes my internet connection actual gives me. As I am just really irritated that I pay for 512kb per second and I get roughly 150 on a good day by a little calculation I am lagging a lo

Explaination

2007-11-22 Thread AndrewMcHorney
Hello Can someone the reasoning why it is technically correct that when extracting a scalar item from an array that one must use $array_name[$index] instead of @array_name[$index] ? To me, the logical way is to use the array name with the symbol of array. It is my understanding that using $v

Re: Explaination

2007-11-22 Thread Tom Phoenix
On 11/21/07, AndrewMcHorney <[EMAIL PROTECTED]> wrote: > Can someone the reasoning why it is technically correct that when > extracting a scalar item from an array that one must use > $array_name[$index] instead of @array_name[$index] ? Reasoning don't come in cans. :-) When one codes as you did

Re: Need help with date-time and output

2007-11-22 Thread Gerald Wheeler
Thanks I'll try in.. J. >>> John W.Krahn <[EMAIL PROTECTED]> 11/21/07 9:26 PM >>> On Wednesday 21 November 2007 09:40, Gerald Wheeler wrote: > John, > I have modified my script as per your suggestions: > > > #!/usr/bin/perl > > use strict; > use warnings; > > my $ifiln = 'abc.csv'; > my $ofiln = '

Re: Formating the log

2007-11-22 Thread avinashsuratkal
On Nov 22, 10:47 pm, [EMAIL PROTECTED] (Rob Dixon) wrote: > avinashsuratkal wrote: > > > > > > > > I have the following log and my requirement is to capture the block > from one "-->" symbol to another. and put it in other file, using > perl. > > --

Re: Formating the log

2007-11-22 Thread avinashsuratkal
On Nov 22, 7:57 pm, [EMAIL PROTECTED] (Avinashsuratkal) wrote: > On Nov 22, 2:22 pm, [EMAIL PROTECTED] (Avinashsuratkal) > wrote: > > > > > > > On Nov 22, 2:27 am, [EMAIL PROTECTED] (Yitzle) wrote: > > > > On Nov 21, 2007 11:28 AM, avinashsuratkal <[EMAIL PROTECTED]> wrote: > > > > > Hi, > > > > >

Re: Formating the log

2007-11-22 Thread Ron Bergin
On Nov 22, 6:57 am, [EMAIL PROTECTED] (Avinashsuratkal) wrote: > On Nov 22, 2:22 pm, [EMAIL PROTECTED] (Avinashsuratkal) > wrote: > > > > > On Nov 22, 2:27 am, [EMAIL PROTECTED] (Yitzle) wrote: > > > > On Nov 21, 2007 11:28 AM, avinashsuratkal <[EMAIL PROTECTED]> wrote: > > > > > Hi, > > > > > I ha

Re: Formating the log

2007-11-22 Thread Ron Bergin
On Nov 22, 6:57 am, [EMAIL PROTECTED] (Avinashsuratkal) wrote: > > In short I need to read the text between 2 lines, which can be > incorporated in the perl script, but not a one-liner. > > Thanks, If my interpretation of your needs is correct, then this will do the job. #!/usr/bin/perl use stri