Re: Accessing files on unix from NT

2000-10-05 Thread Carl Jolley
On Mon, 2 Oct 2000, Frank Novak wrote: > Greetings, > > I need to access files, say using File::Find, > which reside on a unix box from my perl script > which is running on an NT box. I'm looking for > some options, not having done this before. Off > the top of my head I can think of a couple, s

Re: Net::FTP size function problem?

2000-10-05 Thread Carl Jolley
On Mon, 2 Oct 2000, Corley, Bert [Contractor] wrote: > The snippet below will only return the size for the FIRST file in the array. > $! returns "Bad file descriptor" for the file(s) that the size function > fails on. I have determined that it has nothing to do with the actual files > on the ser

Re: how to select based on two fields?

2000-10-05 Thread $Bill Luebkert
"Baker, Lauren" wrote: > > How do I update one field in a hash based on a selection > of two others? > > I have data like this (there are 35 total): > $flam_table{5} = {ctype => "Capacitor", >ptype => "Epoxy", >

OLE and word

2000-10-05 Thread Patrice ROTH
How do I modify page setup ? I try $Word->ActiveDocument->PageSetup->{ 'Orientation' } = wdOrientLandscape; or $Word->ActiveDocument->PageSetup({ Orientation => wdOrientLandscape, }); but nothing is working Thank's ___ Perl-Win32-Users mail

how to select based on two fields?

2000-10-05 Thread Baker, Lauren
How do I update one field in a hash based on a selection of two others? I have data like this (there are 35 total): $flam_table{5} = {ctype => "Capacitor", ptype => "Epoxy", cc => "15", mass => 0,

RE: 30 days before

2000-10-05 Thread Ed Moon
$now = time; # get current time in seconds since epoch $then = $now - (30*24*60*60); # subtract 30 days worth of seconds ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime($then); -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Steve Reule

RE: 30 days before

2000-10-05 Thread Joe Devine
Use the date-calc module, which had dateadd functions as well as many other useful items. Joe Devine -Original Message- From: Steve Reule [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 05, 2000 4:33 PM To: [EMAIL PROTECTED] Subject: 30 days before Thanks to the people who respon

30 days before

2000-10-05 Thread Steve Reule
Thanks to the people who responded to my question from last week. Now I have another one, please, if I may Is there an easy way to get a date, say 30 days in the past? I have the current date and want to automatically calculate a date 30 days ago. It has to span multiple years as well. T

Re: How do I find what fields are the primary keys of a table through Win32::ODBC?

2000-10-05 Thread Robert Davis
What I do is select from one of the system tables. Your system tables are listed by something like this: select name from systables where name like 'SYS%'; Under as400 the primary key info is in: syskeycst Under sqlbase the primary key info is in: syspkconstraints Every db seems to be different.

Re: ppm problems

2000-10-05 Thread William A. Jones
  - Original Message - From: Cliff Lloyd To: '[EMAIL PROTECTED]' Sent: Thursday, October 05, 2000 12:23 PM Subject: ppm problems Can anyone tell me what is wrong with ppm? I get this error message?   Global symbol "%Config" requires explicit packa

ppm problems

2000-10-05 Thread Cliff Lloyd
Can anyone tell me what is wrong with ppm? I get this error message?   Global symbol "%Config" requires explicit package name at C:/Perl/lib/ExtUtils/MM_Unix.pm line 21.BEGIN not safe after errors--compilation aborted at C:/Perl/lib/ExtUtils/MM_Unix.pm line 241.BEGIN failed--compilation abor

Re: Regular Expression question

2000-10-05 Thread Nikola Knezevic
> I am curious, why does this exact same question keep showing up, from > different people (I believe) and with a spaced regularity over and over > again? I don't know, but you are right. The most FAQ is : How to send attachments? The second place is reserved to: How to fetch rows? The third : Ho

RE: help me with perl TK!!

2000-10-05 Thread erskine, michael
> -Original Message- > From: Fabio Quintao [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, October 04, 2000 3:24 AM > To: [EMAIL PROTECTED] > Subject: help me with perl TK!! > > > Hi all!! > > i have some questions that is very easy for most of you > people on the > listwell i'm tr