RE: print to a printer

2002-09-25 Thread Ken Cornetet
open PR ">//server/printer" print PR "Yada, yada, yada"; close PR -Original Message- From: Adam Ingerman [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 25, 2002 8:06 AM To: [EMAIL PROTECTED] Subject: Re: print to a printer >Hi all, > >i having a problem in the beginning of a new

Re: Win32::ODBC Question (Oracle)

2002-09-25 Thread Peter van der Goes
DESCRIBE is not a SQL command, it's a SQL+ command IIRC. The Oracle ODBC drivers don't know anything about "DESCRIBE", because it's not a SQL command. (Warning - based on recollections of two years ago when I actually *worked* for a living) - Original Message - From: "Thomas R Wyant_III"

RE: HTML::Parser question

2002-09-25 Thread Joseph P. Discenza
Frederic Bournival wrote, on Wednesday, September 25, 2002 11:14 AM : i will answer myself, may be it will help someone: I'm sure it'll help someone; but I've got something that'll help you. : #// Repeat a character : sub repStr { : my $car = shift; : my $number = shift; : my $

Re: ppm3 disabling ppm?

2002-09-25 Thread Jan Dubois
On Wed, 25 Sep 2002 15:08:04 +0200 (MEST), Reiner Buehl <[EMAIL PROTECTED]> wrote: >Since I tried out ppm3 on my Active Perl 5.6.1 Build 633, I am not able to >use ppm anymore. Everytime I start ppm I get a few dozend of this message: > >Element 'IMPLEMENTATION' must contain a 'CODEBASE' element.

FW: Setting the actual directory with a Perl script.

2002-09-25 Thread Stovall, Adrian M.
Oops...forgot something... direct.bat--- cd %1 direct.bat--- Or: #!perl -w $chdir = "c:\\winnt"; #or whatever code you want to pick a directory system("start /B cd $chdir"); #go to that directory I also found some strange side effects...typing "cd \" (since I

Re: HTML::Parser question

2002-09-25 Thread Frederic Bournival
Hello, i will answer myself, may be it will help someone: Here is my question: i want to convert , and elements to ascii text One Two ...will become: * One * Two One Two ...will become: 1. One 2. Two Did some

Re: Error with $Response->Flush()

2002-09-25 Thread Jan Dubois
On Wed, 25 Sep 2002 15:20:40 +0800, "Allegakoen, Justin Devanandan" <[EMAIL PROTECTED]> wrote: >And as you mentioned the 256 bytes most definetely need to be sent before >anything will flush. It is actually Internet Explorer that needs to receive 256 bytes before displaying anything. If you tes

RE: PPM3 breaks with "Error: connect: unknown error"

2002-09-25 Thread Gibb, Thomas A
I do not know if this is a contributing issue but the 'Path' statement on my W2K box does not include the trailing '\' as you show in your example. In other words my path looks like this: "path=c:\perl\bin;c:\winnt;" There are no trailing '\' back slashes after any of the path parameters. Do

Re: Upgrading ActiveState versions - was: ppm3 search *all* repositories ???

2002-09-25 Thread Jan Dubois
On Wed, 25 Sep 2002 07:28:24 -0500, "Cutts III, James H." <[EMAIL PROTECTED]> wrote: Hi james, >I have had problems with "upgrading" versions of ActivePerl, in the past. The last >"upgrade" ended up with me completely and extensively uninstalling ActivePerl and >then starting with a fresh ins

RE: Setting the actual directory with a Perl script.

2002-09-25 Thread Stovall, Adrian M.
That took a bit of thinking...Three lines: #!perl -w $chdir = "c:\\winnt"; #or whatever code you want to pick a directory system("start /B direct.bat $chdir"); #go to that directory Sometimes it's easier to lean on dos commands than on perl commands (not very often, t

Re: Win32::ODBC Question (Oracle)

2002-09-25 Thread Thomas R Wyant_III
[EMAIL PROTECTED] wrote: > I'm trying to get Information about a spezific table in an Oracle > with the command > 'describe table_name; ' > This command works within SQL-PLus and other Tools but I get the > error message: "Ora-00900: invalid SQL statement" when I use it > within a perl-script

Re: Setting the actual directory with a Perl script.

2002-09-25 Thread mkellner
Hello, thats not exactly the behaviour I wanted. Its a little bit complicated, because instead C:\>test_cd.pl C:/ C:/ c:/temp C:\> I want to have C:\>test_cd.pl C:/ C:/ c:/temp C:\temp\> (using your code as test_cd.pl). Regards, Marti

Re: Setting the actual directory with a Perl script.

2002-09-25 Thread Trevor Joerges
How about the Win32 specific function. It's not portable obviously: Win32::SetCwd(NEWDIRECTORY) [CORE] Sets the current active drive and directory. This function does not work with UNC paths, since the functionality required to required for such a feature is not available under Windows 95. Kind

Re: Setting the actual directory with a Perl script.

2002-09-25 Thread Thomas R Wyant_III
"Adam Ingerman" <[EMAIL PROTECTED]> wrote: > [[EMAIL PROTECTED] wrote:] >> do you know a possibility to set the actual directory inside a Perl >> script ("chdir my_dir;") to get it changed in the command shell >> outside the script? > easiest way, tell the shell to do it for you. if you're on

RE: Setting the actual directory with a Perl script.

2002-09-25 Thread Stovall, Adrian M.
That won't quite work... #!perl -w use Cwd; print cwd."\n"; #print the starting directory system("cd c:\\temp\\");#use the system "cd" command print cwd."\n"; #print the current directory (didn't change) chdir("c:\\temp\\");

Win32::ODBC Question (Oracle)

2002-09-25 Thread armin . nolte
Hi, I'm trying to get Information about a spezific table in an Oracle with the command 'describe table_name; ' This command works within SQL-PLus and other Tools but I get the error message: "Ora-00900: invalid SQL statement" when I use it within a perl-script using a Win32::ODBC connection.

ppm3 disabling ppm?

2002-09-25 Thread Reiner Buehl
Since I tried out ppm3 on my Active Perl 5.6.1 Build 633, I am not able to use ppm anymore. Everytime I start ppm I get a few dozend of this message: Element 'IMPLEMENTATION' must contain a 'CODEBASE' element. at C:/Perl/site/lib/PPM.pm line 1684. Then I get the ppm prompt but neither query nor

Re: print to a printer

2002-09-25 Thread Adam Ingerman
>Hi all, > >i having a problem in the beginning of a new hack. I have a huge table >in a ADO database with contact and a reelation to a table with infomails. >Now, the mail isn't a poblem, but i have a cuple of reciptians for fax. I >have a pdf doc and what i doing now ist to print out the list of

Re: Setting the actual directory with a Perl script.

2002-09-25 Thread Adam Ingerman
>Hello, > >do you know a possibility to set the actual directory inside a Perl script >("chdir my_dir;") to get it changed in the command shell outside the >script? > >setDir.pl: > # some code to set $MyDir > chdir $MyDir; > exit 0; >Command line: > > setDir.pl > >Regards, >

[PMX:##] Re: LWP + NTLM

2002-09-25 Thread Tillman, James
A recent thread on this list discussed using LWP to acces a web site that uses NTLM authentication (basically "NT" authentication). Since I have a lot of IIS servers that do this, it piqued my interest enough to send me on a little journey of discovery that resulted in me creating the module belo

Upgrading ActiveState versions - was: ppm3 search *all* repositories ???

2002-09-25 Thread Cutts III, James H.
Jan, I have had problems with "upgrading" versions of ActivePerl, in the past. The last "upgrade" ended up with me completely and extensively uninstalling ActivePerl and then starting with a fresh install of ActivePerl. I had to go chasing down my collection of modules and reinstall them. I