PERL OLE Troubles

2004-03-17 Thread Hanousek, Roman
Hi All I am bit lost with Excel Perl OLE Automation. I have a spreadsheet that contains a number of sheets in it. The data sheet contains all the data and the request sheet contain a number of excel charts. The problem I have is that can't update the sourceData in the Chart 1 on the requests

Test::Harness weird failure

2004-03-17 Thread Claude
Hello, I tried to create a test suite file containing the following code: -- clip --- #! /usr/local/bin/perl use strict; use Test::Harness qw( &runtests $verbose ); $verbose=1; my @AoC = ( "t/00.pl" ); my $len = @AoC; print "1..$len\n"; runtests( @AoC ); -- clip --- The

Re: Test::Harness weird failure

2004-03-17 Thread Paul Johnson
Claude said: > Hello, > > I tried to create a test suite file containing the following code: > > -- clip --- > #! /usr/local/bin/perl > > use strict; > use Test::Harness qw( &runtests $verbose ); > $verbose=1; > my @AoC = ( "t/00.pl" ); > my $len = @AoC; > print "1..$len\n"; This

sorting multi dimensional array

2004-03-17 Thread N, Guruguhan \(GEAE, Foreign National, EACOE\)
Hi All, I have a multi dimensional array build like this " $array[$i][$j]". This array has some 50 values and I would like to sort this in ascending order. Can somebody tell me how to do this? Thanks Regards Guruguhan -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comm

Re: REQUEST_METHOD

2004-03-17 Thread Gregg O'Donnell
Try this site for additional information http://httpd.apache.org/docs/howto/cgi.html#environmentvariables Mike Ni <[EMAIL PROTECTED]> wrote: Thanks for the resoponse, It was written by a person who left already. Now, I need to find out how his code work. Do you happen to know where I can find

Re: traps in perl

2004-03-17 Thread DBSMITH
does the $|=1; mean ignore buffered output? My goal is not to tell the program to sleep so perldoc -f sleep has nothing to do with my goal. My goal is to disallow users from entering keystrokes SIGNALs that can break then out of the program. thanks again! Derek B. Smith OhioHealth IT UNIX / TS

RE: sorting multi dimensional array

2004-03-17 Thread Charles K. Clarkson
N, Guruguhan (GEAE, Foreign National, EACOE) <[EMAIL PROTECTED]> wrote: : :I have a multi dimensional array built like this : "$array[$i][$j]". This array has some 50 values and I would : like to sort this in ascending order. Can somebody tell me : how to do this? How do you want

RE: sorting multi dimensional array

2004-03-17 Thread Ed Christian
N, Guruguhan (GEAE, Foreign National, EACOE) wrote: > Hi All, >I have a multi dimensional array build like this " > $array[$i][$j]". This array has some 50 values and I would like to > sort this in ascending order. Can somebody tell me how to do this? > Quick and easy (but certainly

RE: lexis nexis search module or script?

2004-03-17 Thread Stuart White
Thanks. The description/tutorial I just read about it seems to confirm that. -stu --- Toby Stuart <[EMAIL PROTECTED]> wrote: > WWW::Mechanize will do most if not all of what you > need. > > > -Original Message- > > From: Stuart White [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, March 1

Re: Folder Clean-up

2004-03-17 Thread Randal L. Schwartz
> "Norman" == Norman Zhang <[EMAIL PROTECTED]> writes: Norman> Hi, Norman> I've /share_folder with many user folders. Norman> e.g., Norman> /share_folder/user_a Norman> /share_folder/user_b Norman> ... Norman> I would like to scan all user folders for files that are older than 30 Norman> da

Re: not getting the syntax

2004-03-17 Thread Jenda Krynicky
> On Fri, 12 Mar 2004, R. Joseph Newton wrote: > > Charlotte Hee wrote: > > > > > $byname{ Owen }{ PHONE } = '999-'; > > > > Should be: > > $byname{ Owen }->{ PHONE } = '999-'; > > are you using strict? The code above should cause an error, not > > just an uninitialized variable warning.

Writing output of a Shell command directly to a file

2004-03-17 Thread tyohn
Hey Perl Guys and Gals, I have an issue that I need some assistance with (even just a push in the right direction should be enough). Note, these are actually in a small perl module and I do use strict and warnings, they just aren't present in my example here. I've got a simple backup routine tha

RE: Writing output of a Shell command directly to a file

2004-03-17 Thread Bakken, Luke
> @in = ssh("1.1.1.1", "tar cf - /home/$user | gzip") > open(TEMP, ">/tmp/$user.tar.gz") or die "Blargh!"; > print TEMP @in; > close(TEMP); Can you do this in stages? Create tar file: ssh("1.1.1.1", "tar cf - /home/$user | gzip -c | dd of=/tmp/foo.tgz") Use ftp or scp to get it to your backup ma

RE: Writing output of a Shell command directly to a file

2004-03-17 Thread tyohn
Luke, Nope, this was the exact thing we were trying to get away from. Suppose I don't have space to store that file on the host box. We're doing it in stages now and I really want to get away from that since it increases disk activity on the host box during a full backup. Considering these are

RE: Writing output of a Shell command directly to a file

2004-03-17 Thread tyohn
> -Original Message- > From: tyohn [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 17, 2004 1:00 PM > To: [EMAIL PROTECTED] > Subject: RE: Writing output of a Shell command directly to a file > > Luke, > Sorry guys... didn't mean to top post, if I don't top post at work everyone looks

RE: Writing output of a Shell command directly to a file

2004-03-17 Thread Bakken, Luke
> Luke, > > Nope, this was the exact thing we were trying to get away > from. Suppose I > don't have space to store that file on the host box. We're > doing it in > stages now and I really want to get away from that since it > increases disk > activity on the host box during a full backup. C

Fw: traps in perl

2004-03-17 Thread Josimar Nunes de Oliveira
To Jayakumar Rajagopal: What did you say in these "print"? Please, translate the messages and the meaning of "$SIG": > > > > $SIG{INT} = sub { print "tamizh vaazhga\n": }; > > > > > > > > $SIG{USR1} = sub { print " vennai\n"; }; > > > > > > > > $SIG{TSTP} = sub { print "poda maanga\n"; };

RE: traps in perl

2004-03-17 Thread Jayakumar Rajagopal
$SIG{INT} = sub { print "Don't interrupt me while I am interrupting [ ^C ignored ] ": }; $SIG{USR1} = sub { print " User has sent SIGUSR1 "; }; $SIG{TSTP} = sub { print "[^Z pressed..ignored] \n"; }; -Original Message- From: Josimar Nunes de Oliveira [mailto:[EMAIL PROTECTED] Sent: Wed

what precisely does one need to know in perl to write a script or a test bench for a RTL code in verilog or vhdl..??

2004-03-17 Thread Shah, Aalok S
what precisely does one need to know in perl to write a script or a test bench for a RTL code in verilog or vhdl..?? also what is a perl script??? and how do u write one?? thanks aalok

Re: chown-ing symlink

2004-03-17 Thread Paul Johnson
On Mon, Mar 15, 2004 at 02:07:22PM +0100, Paul Johnson wrote: > On Mon, Mar 15, 2004 at 11:32:47AM +, Ohad Ohad wrote: > > > 3. What's the status of adding lchown to POSIX ?  > > I suppose it's just waiting for someone to do it. It doesn't look too > complicated. If someone produces a reaso

Re: what precisely does one need to know in perl to write a script or a test bench for a RTL code in verilog or vhdl..??

2004-03-17 Thread Paul Johnson
On Wed, Mar 17, 2004 at 12:43:38PM -0800, Shah, Aalok S wrote: > what precisely does one need to know in perl to write a script or a > test bench for a RTL code in verilog or vhdl..?? That would depend on where the script would fit into your verification process. Are you embedding perl in your s

collecting data from a TL1 devices

2004-03-17 Thread Ravi Malghan
Hi: has anybody built a perl scripts to receive data from multiple TL1 devices and process them? Is there a module? Or any other suggestions on how this can be done. Thanks Ravi __ Do you Yahoo!? Yahoo! Mail - More reliable, more storage, less spam http://mail.yaho

RE: what precisely does one need to know in perl to write a script or a test bench for a RTL code in verilog or vhdl..??

2004-03-17 Thread Shah, Aalok S
hey thanks for the reply!! i actually want to use it as a wrapper around the simulations to check the o/p against some golden resultss awaiting ur response aalok -Original Message- From: Paul Johnson on behalf of Paul Johnson Sent: Wed 3/17/2004 1:41 PM

returning hashes, and arrays

2004-03-17 Thread Stuart White
I'm having trouble returning a hash from a subroutine, and an array from a different subroutine. "Beginning Perl" said I could return a list, I can't get it to work. Must the hash and array really be a reference to the hash and array in order to return them? Here's my subroutine: sub ParseLineF

AW: returning hashes, and arrays

2004-03-17 Thread B. Fongo
That should work provided you're returning only on list. It is much better to use reference when passing or retrieving more than one value. For instance: Retrieve the values from a sub as refereces. ($xRef, $yRef, $zRef) = example(); # my @x = @$x; my @y = @$y; my $z = $$z; sub example {

RE: returning hashes, and arrays

2004-03-17 Thread Charles K. Clarkson
Stuart White <[EMAIL PROTECTED]> wrote: : : I'm having trouble returning a hash from a subroutine, : and an array from a different subroutine. "Beginning : Perl" said I could return a list, I can't get it to : work. Must the hash and array really be a reference : to the hash and array in order t

how to print out http header

2004-03-17 Thread Mike Ni
Hey everyone, For debugging purpose, is there anyway to print out all the HTTP header information to the browser? I am setting up an development evnironment by talking to http://localhost/myapplication/, and I thought I would need to look up the HTTP infomation. By doing so, I can trace the

RE: returning hashes, and arrays

2004-03-17 Thread Stuart White
--- "Charles K. Clarkson" <[EMAIL PROTECTED]> wrote: > Stuart White <[EMAIL PROTECTED]> wrote: > : > : I'm having trouble returning a hash from a > subroutine, > : and an array from a different subroutine. > "Beginning > : Perl" said I could return a list, I can't get it > to > : work. Must the

Re: AW: returning hashes, and arrays

2004-03-17 Thread Stuart White
It helps in that it seems to confirm that I was going about it the right way. It doesn't in that I can't get it to work for me. I'll go read some more documentation. By the way, what does AW: mean? --- "B. Fongo" <[EMAIL PROTECTED]> wrote: > > > That should work provided you're returning onl

unixodbc + perl + access

2004-03-17 Thread Ricardo Pichler
Hi everyone, I'm try to make this work: perl + unixodbc + MSAccess but I can't" Anybody make this work? Or others ways to read and write access file with perl? Sorry my bad english! Thanks in advance, Ricardo Pichler -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [

Re: returning hashes, and arrays

2004-03-17 Thread Randy W. Sims
On 3/17/2004 9:39 PM, Stuart White wrote: Yes, the goal is to learn perl, and to write a program that is big enough to be challenging, interesting, and uses most, if not all of the building blocks, (or at least what I'd call building blocks: scalars, arrays, hashes, reading files, control structur

Re: returning hashes, and arrays

2004-03-17 Thread Randy W. Sims
On 3/17/2004 8:16 PM, Stuart White wrote: I'm having trouble returning a hash from a subroutine, and an array from a different subroutine. "Beginning Perl" said I could return a list, I can't get it to work. Must the hash and array really be a reference to the hash and array in order to return t

RE: returning hashes, and arrays

2004-03-17 Thread Charles K. Clarkson
Stuart White <[EMAIL PROTECTED]> wrote: : : sub ParseLineForHomeAndVisitors() : { : if ($_ : =~/(Spurs|Suns|Mavericks|Lakers|Clippers|Cavaliers| : Celtics|Pacers|Pistons|Wizards|Warriors|Bulls|Hawks| : Raptors|Magic|Heat|Kings|Rockets|Nuggets|Grizzlies| : Jazz|Knicks|Nets|Supersonics|'Trail Blaze

importing to excel file..

2004-03-17 Thread Hiremath Arun
hi Anyone help me in importing data from a text file in to a excel.. Arun -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: returning hashes, and arrays

2004-03-17 Thread Charles K. Clarkson
Stuart White <[EMAIL PROTECTED]> wrote: : : I figured the small snippets, how to : print an array, how to split a string etc., was : better as it was more focused, and would apply : to not just the one example. That's a great way to break the program down, but over the years I have found tha