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
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,
Martin
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
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
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.
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\\);
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 windows,
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.
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,
Martin
[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 using a
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,
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 install of
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.
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 test
Hello,
i will answer myself, may be it will help someone:
Here is my question:
i want to convert ul, ol and li elements to ascii text
ul
liOne/li
liTwo/li
/ul
...will become:
* One
* Two
ol
liOne/li
liTwo/li
/ol
...will
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 put
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. at
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
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
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 hack. I
20 matches
Mail list logo