Hi,
Thank you for showing me a better way to run the while loops, not
using the foreach loop, but the for loop and some
extra regex ways to accomplish things. Otherwise it prints out exactly
what I had before :-)
I have attached my request in a text file this time, to make it more
readable
Wernher Eksteen wrote:
Thank you for correcting and showing me a better different way to do the while
loops, but instead of the
two for loops printing the following out:
emcpowera sdbd sddg sdfj sdhm # - [1st for loop output]
emcpoweraa sdae sdch sdek sdgn # These the available
Hi,
The Perl script (shown further down below) gives me the following
output (without the comments).
Please note that this is not the complete output, I only show the
necessary detail for sake of clarity.
emcpowerasdbd sddg sdfj sdhm # - [1st foreach loop output]
emcpoweraa
Wernher Eksteen wrote:
Hi,
Hello,
The Perl script (shown further down below) gives me the following
output (without the comments).
Please note that this is not the complete output, I only show the
necessary detail for sake of clarity.
emcpowerasdbd sddg sdfj sdhm #- [1st
Hi,
From the folowing list is a result of the @power array, when run
through the foreach loop:
Pseudo name=emcpowerd
1 lpfc sdba SP A7 active alive 0 0
1 lpfc sddd SP B7 active alive 0 0
3 lpfc
WE == Wernher Eksteen crypt...@gmail.com writes:
WE Pseudo name=emcpowerd
WE 1 lpfc sdba SP A7 active alive 0
0
WE 1 lpfc sddd SP B7 active alive 0
0
WE 3 lpfc sdfg SP B6
On 01/04/2011 19:52, Wernher Eksteen wrote:
From the folowing list is a result of the @power array, when run
through the foreach loop:
Pseudo name=emcpowerd
1 lpfc sdba SP A7 active alive 0 0
1 lpfc sddd SP B7 active
Please always 'use strict' and 'use warnings', and consequently declare
all of your variables. That way most straightforward problems will be
solved my Perl before ever reaching his list.
Thanks, I will remember to do so for future.
It is better to open a pipe to a child process running your
that * isn't doing what you think it does. perl regexes are not shell
globs. it happens to work anyway since the tokens are unique
enough. read perlretut to learn perl regexes.
what have you tried so far? you know enough perl to get the array of
lines and loop over that. in english (or your
of the system all the information and transaction
that were made by that user are then updated to the
database server. Can i do it with perl ?, which
modules ?, thanks.
Yes you can.
Look at cpan for DBI (for database stuff) CGI (for handling form input)
HTH
Dmuey
--
To unsubscribe, e-mail
On Fri, 2004-01-23 at 20:49, John McKown wrote:
On Fri, 23 Jan 2004, Dan Anderson wrote:
Give me a little bit of time with a soldering iron, some wire, and a
laptop connected to your home network and your dishwasher and that can
be rectified. :-D
-Dan
I don't think that the
On Jan 24, 2004, at 12:48 PM, Dan Anderson wrote:
On Fri, 2004-01-23 at 20:49, John McKown wrote:
On Fri, 23 Jan 2004, Dan Anderson wrote:
Give me a little bit of time with a soldering iron, some wire, and a
laptop connected to your home network and your dishwasher and that
can
be rectified. :-D
all the information and transaction
that were made by that user are then updated to the
database server. Can i do it with perl ?, which
modules ?, thanks.
__
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb
the user logs
out of the system all the information and transaction
that were made by that user are then updated to the
database server.
Why does it need to work that way?
Can i do it with perl ?,
Sure.
which modules ?, thanks.
Too soon to say.
--
To unsubscribe, e-mail: [EMAIL PROTECTED
of the system all the information and transaction
that were made by that user are then updated to the
database server. Can i do it with perl ?, which
modules ?, thanks.
Why does it have to be a web application?
Or rather just a client/server thing?
What Database?
I didnt find a way to do the dishes
--As off Saturday, January 24, 2004 12:07 AM +0100, wolf blaum is
alleged to have said:
I didnt find a way to do the dishes yet, anything else I ever tried
works in perl.
--As for the rest, it is mine.
I'm sure you could do something with LEGO::RCX and a Mindstorms kit...
;-)
Daniel T. Staal
locally. After that, when the user logs
out of the system all the information and transaction
that were made by that user are then updated to the
database server. Can i do it with perl ?, which
modules ?, thanks.
Why does it have to be a web application?
Or rather just a client
Give me a little bit of time with a soldering iron, some wire, and a
laptop connected to your home network and your dishwasher and that can
be rectified. :-D
I new that was a gentle list!
I just dont have a dishwasher :(
But given the traffic here I happily dont get much time to use dishes at
. After that, when the user logs
out of the system all the information and transaction
that were made by that user are then updated to the
database server. Can i do it with perl ?, which
modules ?, thanks.
Unless this is an in house application for internal business use, I'd
suggest
On Fri, 23 Jan 2004, Dan Anderson wrote:
Give me a little bit of time with a soldering iron, some wire, and a
laptop connected to your home network and your dishwasher and that can
be rectified. :-D
-Dan
I don't think that the lady who comes in and does my dishes is going to
let you
Hi there,
I have a problem which I would like to use perl to resolve, however I'm not
sure if it is possible to do.
I need to scan a file and check some conditions, first if field 9 is
duplicated on 1 or more rows, then I need to check field 10 to see which is
the greater value and then only
Dave Adams wrote:
Hi there,
I have a problem which I would like to use perl to resolve, however I'm not
sure if it is possible to do.
I need to scan a file and check some conditions, first if field 9 is
duplicated on 1 or more rows, then I need to check field 10 to see which is
the
Yes you can do it with perl, and I suggest using hashes.
open(FILE, $file);
my %seen;
while(FILE){
my ($item9, $item10) = (split /\|/, $_)[8,9];
if(exists $seen{$item9}){
if($itme10 $seen{$item9}){
# the new $item10 is larger than the last
On Mon, 4 Mar 2002, Dave Adams wrote:
I have a problem which I would like to use perl to resolve, however I'm not
sure if it is possible to do.
I need to scan a file and check some conditions, first if field 9 is
duplicated on 1 or more rows, then I need to check field 10 to see which is
A quick dissection of what is going on here:
On Mon, 2002-03-04 at 10:20, Nikola Janceski wrote:
Yes you can do it with perl, and I suggest using hashes.
open(FILE, $file);
This opens a file and associates it with FILE; you really should say
something like 'or die Could not open $file
On Mon, 2002-03-04 at 10:32, Brett W. McCoy wrote:
On Mon, 4 Mar 2002, Dave Adams wrote:
I have a problem which I would like to use perl to resolve, however I'm not
sure if it is possible to do.
I need to scan a file and check some conditions, first if field 9 is
duplicated on 1 or
From: Chas Owens [EMAIL PROTECTED]
On Mon, 2002-03-04 at 10:32, Brett W. McCoy wrote:
On Mon, 4 Mar 2002, Dave Adams wrote:
I have a problem which I would like to use perl to resolve,
however I'm not sure if it is possible to do.
I need to scan a file and check some conditions,
27 matches
Mail list logo