On Fri, 10 Nov 2000, byron wise wrote:
> I know when you open a file in perl if it isn't there perl creates one. But
> what about a subdirectory? Example: I want to open
> /first/second/third/thefile.txt but the directory third isn't there and of
> course thefile.txt is new too. Will Perl
Is it true that bind_param function is not implemented for using DBD::ADO
with SQL Server?
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Share information about yourself, create your own public
Hi All,
Does anyone have experience with using Perl, DBI, ADO to execute SQL Stored
procedure that can update input parameters for use as output.
Here is my example: sp_test_1 is stored proc that chancges value of $y. Perl
script:
use DBI;
use DBD::ADO;
$dbh = DBI->connect('dbi:ADO:DSN', 'na
you could try something like:
nslookup `hostname`
and parsing out the address from it. When I do this command on all of our
UNIX machines (HP-UX) it always has the fully qualified hostname in the
output. This may depend on the dns servers, but could work for you...
-Original Message-
F
Hi Steve,
if you have enough RAM you could use $stm -> fetchall_arrayref
to get all the rows at one shot and then print the first ten ones.
But I think that's not the best idea.
I would use two SQL statements:
(1) "select count(*) from table where ..."
(2) "select top 10 * from table where ..."
My stupid but simple solution for this has always been:
(in pseudocode, obv)
reverse the string
($filename, $path) = split ( /, 2 )
reverse filename
reverse path
Obviously, you can pick which characters to reverse on in the split. (/ or \)
I'm sure there's something more elegant, but hey, I
Well, I've spent the last two or three hours trying to get Dave's utility to
work and I've gotten nowhere. With runas.pl, I get a "Failed to Logon"
message. I've also grabbed pieces of 5 or 6 scripts from the mailing list
archives that used logonasuser() and those either give me "Incorrect
Funct
Hello,
I am trying to increase the performance in an application, and was wondering
if anyone knows which would give me the bigger bang (faster that is) of
"opening a flat file for data" as opposed to "tying a DBM" and grabbing a
value from that hash?
I am on NT, don't know if that matters. Jus
> -Original Message-
> From: Ron Hartikka [mailto:[EMAIL PROTECTED]]
> Sent: 09 November 2000 13:43
> To: perl win32 users; [EMAIL PROTECTED]
> Subject: RE: Slightly OT but probably very useful - Free
> (but, no doubt,
> totally illegal) ORA Perl books inc. "The Camel"!
> Yes, it is WAY