Windows 7

Filehandle to scalar results in file in embedded perl

In my C++-application I have embedded a Perl interpreter and I want to catch output from an external script to a Perl scalar. This results in a physical file called SCALAR(0x20116990) in the directory where my application resides and the scalar remains empty.

autobundle feature


I've got a new pc and want to update my installation.
Also I switched from WinXP to Win 7. Therefore, all the binary packets have to upgrade.
What is the best way to upgrade and to keep hold of all my modules.
In CPAN there is the autobundle feature.


Tclchecker complaining about Tk commands

First post here, so please bear with me if I seem a little slow ...

I've just got TDK and am using it under the Geany IDE. No problems integrating TDK elements into Geany but whenever I run tclchecker over my code, it complains about unknown commands for every TK command in the source.

I've checked the FAQ and can't find any help on this one.

Is this the expected behaviour of tclchecker, or is there an option that I'm not setting correctly?


Olwen Morgan

exec command token and quotes

Hello –

I am using tcl as a scripting language in windows and I got to a point in the script that I need to
run a windows program – so used the tcl exec command -

The exec command has the form

exec a1 a2 a3 .....

It seems that the exec cmd look at the value of each arg (a1) and if there are spaces in it the
quotes it for the windows cmd line

as it turns out in my case I have

exec a1 a2 $arg

Passing multiple parameters into sqlite3

Hello all –
I am new to Python, very new so I apologize if this is a basic question. My question concerns the use of sqlite3 module and how to pass multiple parameters into a search string. Below are two examples. The first works fine when passing a single parameter. The second fails. Can someone tell me what I am doing wrong here
Bob Bartis

The following code works fine with finding and print matching rows using the slite3 module
userKeywords = ('*')
shell = ('CLI')

# Extract matching records to build up list of commands

Global object visiibility

ActivePython v3.3

I use a file manager called DirectoryOpus, which enables using ActiveScripting inside it.
In DirectoryOpus version 10, global objects provided by it were visible. After a major overhaul of ActiveScripting support in v11, they are no more visible.

What are specific AP requirements for global objects visibility? Can I maybe search for them somewhere in namespaces?


how to filter out funny (Escape charaters)

I have written an application in Tcl-Expect which spawns minicom and
sends and receives data via the serial port. Sometimes i see that the
application receives control characters along with human readable data.
A search on the internet tells me that the control characters are
nothing but the VT terminal codes. However i could not find a solution
to filter out the terminal codes.

I am attaching a sample of the expected buffer and the actual buffer.


Thanks a lot


Unable to send mail

When I try to run the script, I get the following error:
Undefined subroutine &Email::Date::Format::email_date called at C:/Perl/lib/MIME.

Anyone know how I can correct this?
Please help

Installing PAR-Packer-1.017


I am trying to install the PAR-Packer module. It wasn't found in the repository, so I grabbed it from CPAN. I followed some instructions here ( question if they're good instructions.

After installing all the dependencies, I try a dmake and get the following errors:

Set up gcc environment - gcc.exe (rubenvb-4.5.4) 4.5.4
C:\MinGW\bin\g++.exe main.o ppresource.coff -s -L"C:\Perl64\lib\CORE" C:\Perl

Help: Executing commands using Tcl Expect

I have been trying for the past couple of days to get Tcl Expect to uncompress a .gz archive. What seemed like a simple task doesn't appear to be so simple after all.

My whittled-down script is:

# \
exec tclsh "$0" ${1+"$@"}
package require Expect

exec "\\Program\ Files\\7-Zip\\7z.exe\ e\ bulkstats.txt.gz"
expect "\top>"

What am I doing wrong? If I run "\Program\ Files\7-Zip\7z.exe" e bulkstats.txt.gz it runs just fine. I run the script from the same directory where the gz file is.