What are your previous/following lines on that code? I'de like to see it more
complete in order tyo find possible errors. I've used perl to manage really
large tables (much larger than yours) with no problem. Also, which
database/driver are you using?
Paco
- Original Message -
Fro
greetings all,
I think I have a case of too much data being returned to a perl script,
but I'm not certain.
using perl 5, DBI:ODBC, MS-SQL and IIS 6:
executing the following code:
$sth = $dbh->prepare("select field1 from table ") || &failed( "prep
failed" );
$exec = $sth->execute() || &f
Paco Zarabozo A. wrote:
> Hello All,
>
> I'm working on a script that needs to make a backup of somefiles in some
> point. However, the link function doesn't make a copy of the files. If i
> link a file and then write to any of those files, any changes affect to
> both files just like if they
Hello All,
I'm working on a script that needs to make a backup of somefiles in some point.
However, the link function doesn't make a copy of the files. If i link a file
and then write to any of those files, any changes affect to both files just
like if they were the same file. This is strange o
>and the argument part is interspersed with CHR(0)'s between every
>character...
Sounds like Unicode to me. Unicode uses 16bit wide characters, and if
you're using English, you wouldn't use the second byte (making them all
zeros).
-Wayne Simmons
--
Software Engineer
InterSystems USA, Inc.
30
Win32::Shortcut is part of ActivePerl on Windows.
It won't give you anything than what you got from your WSH implementation, so I
may not understand the real issue behind your
question.
Cheers,
-Jan
PS: Could you please use plain text messages on the mailing list? Makes it
much easi
Okay, gurus, you've helped me get this far, now
Is there a WMI method to edit a desktop shortcut? Specifically, I need to
change the argument string from an IP address to the DNS name the IP
resolves to. For example, if the Target text of the shortcut is
c:\foo\foo.exe 255.255.255.
Jan,
$oShellLink->{TargetPath} = 'c:\\foo\\foo.exe';
$oShellLink->{Arguments} = '23.14.15.20 1024';
That did it. Thanks!
Deane Rothenmaier
Programmer/Analyst
Walgreens Corp.
847-914-5150
My goal is simple. It is complete understanding of the universe, why it is
as it is and why it exists at
I think the TargetPath and Arguments are 2 separate properties. Therefore it
would make sense to put quotes around the TargetPath if
it looks like it contains spaces. Try if this works:
$oShellLink->{TargetPath} = 'c:\foo\foo.exe';
$oShellLink->{Arguments} = '23.14.15.20 1024';
Gurus,
I'm using a new part of WMI here, so I'm sort of lost. I'm trying to
create a desktop shortcut using Wscript.Shell. The problem I've got is the
TargetPath method keeps putting double-quotes around the Target text, so
the shortcut can't read it.
--- code ---
Steve Horn <> wrote:
> On Windows Active State perl whenever I try to run the program "print
> ("Hello World.\n");"; I keep getting the error messages "Bareword
> found where operator expected at - line 1 near "print (Hello""
> (missing operator before Hello?), String found where operator
> exp
Try
print "Hello World.\n";
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Steve
Horn
Sent: Thursday, August 30, 2007 6:11 AM
To: [EMAIL PROTECTED]; activeperl@listserv.ActiveState.com
Subject: What am I doing wrong here?
On Windows Active State perl wh
On Windows Active State perl whenever I try to run the program "print
("Hello World.\n");"; I keep getting the error messages "Bareword found
where operator expected at - line 1 near "print (Hello"" (missing
operator before Hello?), String found where operator expected at - line
1 near ""print (""
13 matches
Mail list logo