RE: help dbd-anydata / dbi-dbd-sqlengine issue

2013-05-20 Thread Brian Raven
-Original Message- From: perl-win32-users-boun...@listserv.activestate.com [mailto:perl- win32-users-boun...@listserv.activestate.com] On Behalf Of John Sent: 19 May 2013 05:04 To: pw32-users Subject: help dbd-anydata / dbi-dbd-sqlengine issue Hi Several years ago I dabbled

help dbd-anydata / dbi-dbd-sqlengine issue

2013-05-18 Thread John
Hi Several years ago I dabbled with DBD::AnyData to read and merge a variety of csv data files. Recently I updated my DBI module to version 1.625 (and yesterday to 1.627). Since updating DBI my program has failed with an error message similar to that below (I have included a test script below

RE: TK Listbox problem; need help

2013-05-08 Thread Ken Slater
From: perl-win32-users-boun...@listserv.activestate.com [mailto:perl-win32-users-boun...@listserv.activestate.com] On Behalf Of Daniel Burgaud Sent: Wednesday, May 08, 2013 12:11 AM To: Perl-Win32-Users Subject: TK Listbox problem; need help Hi, Below is the script I have. 1. Listbox

TK Listbox problem; need help

2013-05-07 Thread Daniel Burgaud
Hi, Below is the script I have. 1. Listbox is suppose to have 0-99 lines. working 2. when user clicks on a line, it will highlight the line. working 3. when user clicks on a particular line, script will display the value of that line to STDout. not working. What happens is, it prints the value

Re: Need help with Data Structure: array of hash

2012-11-23 Thread Andy_Bach
I am having problem with array and Hash data structure. Example is show below: #CODE 1 my @list; my %this; $this{x} = 1; $this{y} = 2; $this{z} = 3; $this{Z} = 4; Better (maybe): my %this = ( x = 1, y = 2, z = 3, Z = 4, ) push @list, %this; The last

Need help with Data Structure: array of hash

2012-11-22 Thread Daniel Burgaud
Hi All, I am having problem with array and Hash data structure. Example is show below: #CODE 1 my @list; my %this; $this{x} = 1; $this{y} = 2; $this{z} = 3; $this{Z} = 4; push @list, %this; My intention above is to have variable @list as an array of hash, ie: $list[0]{x} $list[0]{y} $list[0]{z}

Re: Need help with Data Structure: array of hash

2012-11-22 Thread Justin Allegakoen
On 23 November 2012 08:23, Daniel Burgaud burg...@gmail.com wrote: Hi All, I am having problem with array and Hash data structure. Example is show below: #CODE 1 my @list; my %this; $this{x} = 1; $this{y} = 2; $this{z} = 3; $this{Z} = 4; push @list, %this; My intention above is to

RE: Need help with TK DirTree

2012-10-29 Thread Brian Raven
...@listserv.activestate.com] On Behalf Of Daniel Burgaud Sent: 28 October 2012 01:12 To: Perl-Win32-Users Subject: Need help with TK DirTree Hi I am writing a Perl File Manager app using TK and DirTree to navigate the folders. $frame-Scrolled( 'DirTree', -command = [\ListDir] )-pack( -side = 'right', -expand = 1

Need help with TK DirTree

2012-10-27 Thread Daniel Burgaud
Hi I am writing a Perl File Manager app using TK and DirTree to navigate the folders. $frame-Scrolled( 'DirTree', -command = [\ListDir] )-pack( -side = 'right', -expand = 1, -fill = 'x', ); Here is my problem: The above will only list the current Drive. It would not allow me to switch from C

Help with Win32::GUI

2012-09-07 Thread Barry Brevik
sorry that it is about 90 lines in length. Can anyone help? Thank you, Barry Brevik --- use strict; use warnings; use Win32; use Win32::GUI(); my $main = Win32::GUI::Window - new ( -name = 'Main', -title = 'Test v0.1', -width = 400, -height = 200 ); my

Re: Help with Win32::GUI

2012-09-07 Thread Jack
is my simplified code which displays the action. I'm sorry that it is about 90 lines in length. Can anyone help? It seems that the dialogui will overwrite the Enter key binding. Also it depends on whether the Textfield is multiline or not. So. you can roll your own key checking

Help with LookupAccountSID (again)

2012-07-18 Thread Barry Brevik
Previously I had asked for help with Win32::LookupAccountSID(). Specifically, the call requires that the SID be in a binary format. One helpful user pointed me to this: http://code.activestate.com/lists/perl-win32-users/26301/ All of that works, except the article's author is first getting

RE: Help with LookupAccountSID (again)

2012-07-18 Thread Howard Tanner
could handle it. -Original Message- From: perl-win32-users-boun...@listserv.activestate.com [mailto:perl-win32-users-boun...@listserv.activestate.com] On Behalf Of Barry Brevik Sent: Wednesday, July 18, 2012 2:30 PM To: perl Win32-users Subject: Help with LookupAccountSID (again

RE: Help with LookupAccountSID (again)

2012-07-18 Thread Barry Brevik
Ay Caramba!! I thank you for the post, but my skills are too low to reverse that monstrosity! Barry Brevik -Original Message- From: Cordoni, Ray [mailto:rcord...@richmond.ca] Sent: Wednesday, July 18, 2012 11:38 AM To: Barry Brevik; perl Win32-users Subject: RE: Help

RE: Help with LookupAccountSID (again)

2012-07-18 Thread Barry Brevik
-Users@listserv.ActiveState.com Subject: RE: Help with LookupAccountSID (again) Sorry, forgot to copy the group. Here's what I sent to Barry: The Win32 API to do that is ConvertStringSidToSid: http://msdn.microsoft.com/en-us/library/windows/desktop/aa376402(v=vs.85 ).as px My Perl isn't strong

RE: Help with LookupAccountSID (again)

2012-07-18 Thread William . Hoopes
, Ray; perl Win32-users Subject: RE: Help with LookupAccountSID (again) Ay Caramba!! I thank you for the post, but my skills are too low to reverse that monstrosity! Barry Brevik -Original Message- From: Cordoni, Ray [mailto:rcord...@richmond.ca] Sent: Wednesday, July 18, 2012 11:38 AM

RE: Help with LookupAccountSID (again)

2012-07-18 Thread Howard Tanner
: RE: Help with LookupAccountSID (again) I tried to implement that call using Win32::API, but I just don't know enough about Windows to make it work. Thank you for posting, Barry Brevik -Original Message- From: Howard Tanner [mailto:tan...@optonline.net] Sent: Wednesday, July 18, 2012 11:31

RE: Help with LookupAccountSID (again)

2012-07-18 Thread Barry Brevik
@listserv.ActiveState.com Subject: RE: Help with LookupAccountSID (again) Found a Perl solution. Here you go: http://search.cpan.org/dist/Win32-Security/lib/Win32/Security/SID.pm -Original Message- From: Barry Brevik [mailto:bbre...@stellarmicro.com] Sent: Wednesday, July 18, 2012 2:46 PM To: Howard

RE: Help with LookupAccountSID (again)

2012-07-18 Thread Steven Manross
, July 18, 2012 11:30 AM To: perl Win32-users Subject: Help with LookupAccountSID (again) Previously I had asked for help with Win32::LookupAccountSID(). Specifically, the call requires that the SID be in a binary format. One helpful user pointed me to this: http://code.activestate.com/lists/perl

RE: Help with LookupAccountSID (again)

2012-07-18 Thread Barry Brevik
of call into an XS module or something. Thank you for posting, Barry Brevik -Original Message- From: Steven Manross [mailto:ste...@manross.net] Sent: Wednesday, July 18, 2012 5:07 PM To: Barry Brevik; perl Win32-users Subject: RE: Help with LookupAccountSID (again) What about the following

Help with NetAdmin::GetServers

2012-06-25 Thread Barry Brevik
I'm utterly frustrated trying to debug this test program. No matter what I do, it throws an error. The code follows below as does the error message. Has anybody here seen this and knows what it means? P.S. I'm quite sure that the server is not really out of connections. use strict; use warnings;

help with Win32

2012-06-04 Thread Barry Brevik
I have both of the Roth books, but I've come up empty. I have a need to determine which client machine a given user (or all users) has logged into the domain from. I'm willing to back into it by starting with all client machines. I'm willing to process all of the machines and users in the domain

RE: help with Win32

2012-06-04 Thread William . Hoopes
, June 04, 2012 2:20 PM To: perl Win32-users Subject: help with Win32 I have both of the Roth books, but I've come up empty. I have a need to determine which client machine a given user (or all users) has logged into the domain from. I'm willing to back into it by starting with all client machines

RE: help with Win32

2012-06-04 Thread Steven Manross
...@listserv.activestate.com] On Behalf Of Barry Brevik Sent: Monday, June 04, 2012 11:20 AM To: perl Win32-users Subject: help with Win32 I have both of the Roth books, but I've come up empty. I have a need to determine which client machine a given user (or all users) has logged into the domain from. I'm

Re: Win32::MMF help needed

2012-05-04 Thread bulk 88
After an IRC chat with haratron I made this sample code of how to use Win32::MMF raw C style. Without the proprietary Storeable cough cough RPC layer that doesn't let you normally use Win32::MMF for non Perl to Perl IPC communications. The 2 scripts must be in the same folder for them to work.

Win32::MMF help needed

2012-05-03 Thread haratron
Hello, I'm trying to interface Perl with Python with Win32 shared memory (without accessing the disk at all if possible). Python creates a namespace and writes a string to it and I want to read it from Perl. If I use the proposed object oriented interface of Win32::MMF like: $ns =

RE: Help with error msg

2011-11-07 Thread Brian Raven
-- Brian Raven -Original Message- From: perl-win32-users-boun...@listserv.activestate.com [mailto:perl- win32-users-boun...@listserv.activestate.com] On Behalf Of Barry Brevik Sent: 04 November 2011 23:56 To: perl Win32-users Subject: Help with error msg I've been programming Perl

Help with error msg

2011-11-04 Thread Barry Brevik
I've been programming Perl for quite a while, but I've just recently started to 'use strict' because, well it seems like the right thing to do. However, I'm getting this runtime error: Use of uninitialized value in join or string at test56.pl line 40. Line 40 is the one where the same message is

Re: Help with error msg

2011-11-04 Thread Christopher Taranto
Hi Barry, Most likely your $db-Data() is not returning any values and the @data is not be initialized with a value. my @data = $db - Data(); Try this to see if it makes a difference with the warning: my @data = (); @data = $db-Data(); Then, you can know if this is the culprit and figure out

RE: Help with array

2011-09-08 Thread Brian Raven
-Original Message- From: perl-win32-users-boun...@listserv.activestate.com [mailto:perl- win32-users-boun...@listserv.activestate.com] On Behalf Of Barry Brevik Sent: 07 September 2011 18:48 To: Tobias Hoellrich; perl-win32-users@listserv.ActiveState.com Subject: RE: Help with array

RE: Help with array

2011-09-08 Thread Andy_Bach
It might also be worth taking a look at slices, described in 'perldoc perldata'. It also *may* be worth rethinking your data model. Often (not always but ...) needing to insert something into a particular location in an array implies a hash might be a better structure. Just a thought. a

RE: Help with array

2011-09-08 Thread Barry Brevik
Splice with a length of 0... I wish I had thought of that. Thank you! Everybody's a 'newb' at stuff that haven't tried before. It might help to think of inserting elements into an array as replacing a section of length 0, when you read 'perldoc -f splice'. It might also be worth taking

Help with array

2011-09-07 Thread Barry Brevik
I've issued perldoc-q array and Googled for an answer and found nothing. Let's say I have an array with a number of elements in it, and I want to insert an element somewhere in the body of the array, and move all remaining elements up (or to the right, or higher) by one. Sure, I could use a

RE: Help with array

2011-09-07 Thread Tobias Hoellrich
Subject: Help with array I've issued perldoc-q array and Googled for an answer and found nothing. Let's say I have an array with a number of elements in it, and I want to insert an element somewhere in the body of the array, and move all remaining elements up (or to the right, or higher) by one

RE: Help with array

2011-09-07 Thread Barry Brevik
...@listserv.activestate.com [mailto:perl-win32-users-boun...@listserv.activestate.com] On Behalf Of Tobias Hoellrich Sent: Wednesday, September 07, 2011 10:41 AM To: Barry Brevik Cc: perl-win32-users@listserv.ActiveState.com Subject: RE: Help with array perldoc -f splice Cheers - Tobias

Help with Win32::Process::Create()

2011-08-23 Thread Barry Brevik
I'm working on an app that periodically needs to execute outside procedures. Ideally, I want to launch the outside procedure in fire and forget mode; that is, I do not want to wait for the outside process to terminate. I ALREADY HAVE some code that does this (see below). My question is- is there

RE: Help with Win32::Process::Create()

2011-08-23 Thread Jan Dubois
On Tue, 23 Aug 2011, Barry Brevik wrote: I ALREADY HAVE some code that does this (see below). My question is- is there a way to periodically poll the outside process to determine if it is still running? I've tried a few things already and none of them work. if (defined $process) { if

RE: Help with Win32::Process::Create()

2011-08-23 Thread Ken Slater
-Original Message- From: perl-win32-users-boun...@listserv.activestate.com [mailto:perl- win32-users-boun...@listserv.activestate.com] On Behalf Of Barry Brevik Sent: Tuesday, August 23, 2011 2:08 PM To: perl-win32-users@listserv.ActiveState.com Subject: Help with Win32::Process

Help with file redirect

2011-07-05 Thread Barry Brevik
I am writing an app that has a lot of screen output which it writes to STDERR. The screen output is copious, but I need it right now for debugging; I can get rid of it later. My question is if it is possible to write to STDERR and a named file at the same time? I'd rather not go through the code

Re: Help with file redirect

2011-07-05 Thread will trillich
I haven't tested this, but here's a similar problem to yours--maybe these solutions will work for you: http://www.perlmonks.org/?node_id=4913 On Tue, Jul 5, 2011 at 3:43 PM, Barry Brevik bbre...@stellarmicro.comwrote: I am writing an app that has a lot of screen output which it writes to

RE: Help with file redirect

2011-07-05 Thread Arms, Mike
Sent: Tuesday, July 05, 2011 2:43 PM To: perl-win32-users@listserv.ActiveState.com Subject: Help with file redirect I am writing an app that has a lot of screen output which it writes to STDERR. The screen output is copious, but I need it right now for debugging; I can get rid of it later. My

RE: Help with file redirect

2011-07-05 Thread Jan Dubois
On Tue, 05 Jul 2011, Barry Brevik wrote: I am writing an app that has a lot of screen output which it writes to STDERR. The screen output is copious, but I need it right now for debugging; I can get rid of it later. My question is if it is possible to write to STDERR and a named file at

Help with regex

2011-06-30 Thread Barry Brevik
I am trying to truncate a string so that it is only 39 characters long. The application is a label printing routine, and the label is only long enough to print 39 characters. I tried this (and many iterations), but it returns the entire string every time. Can anyone see what I'm doing wrong,

RE: Help with regex

2011-06-30 Thread Tobias Hoellrich
@listserv.ActiveState.com Subject: Help with regex I am trying to truncate a string so that it is only 39 characters long. The application is a label printing routine, and the label is only long enough to print 39 characters. I tried this (and many iterations), but it returns the entire string

RE: Help with regex

2011-06-30 Thread Joe Discenza
Barry, : I am trying to truncate a string so that it is only 39 characters long. : The application is a label printing routine, and the label is only long : enough to print 39 characters. Wrong tool. Look for substr. Joe Joseph Discenza Senior Analyst/Software Developer 1251 N. Eddy

Help with regex

2011-06-30 Thread Barry Brevik
Wow, thank you all for the many replies I received!! Barry Brevik ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

help with PPM activestate repository install (email-sender)

2011-05-20 Thread Greg Aiken
when I run PPM and indicate to install 'Email-Sender', magical things begin to happen. then I get: Installing 3 packages failed ERROR: File conflict for 'C:/Perl/html/site/lib/Net/SMTP/Server/Client.html'. The package Net-SMTP-Server has already installed a file that package

RE: help with PPM activestate repository install (email-sender)

2011-05-20 Thread Jan Dubois
mailing list is mac...@perl.org. Cheers, -Jan From: perl-win32-users-boun...@listserv.activestate.com [mailto:perl-win32-users-boun...@listserv.activestate.com] On Behalf Of Greg Aiken Sent: Friday, May 20, 2011 1:15 PM To: Perl-Win32-Users@listserv.ActiveState.com Subject: help with PPM

Help with temp file name

2011-05-18 Thread Barry Brevik
Hello- From time to time I need a subroutine to generate a temporary file name so I created an imperfect routine (shown below) to generate a file name based on the current time. The problem with this is that it will create only 1 'unique' name every second, and when the day rolls over, it will

Re: Help with temp file name

2011-05-18 Thread David Jelinek
Barry Brevik wrote: Hello- From time to time I need a subroutine to generate a temporary file name so I created an imperfect routine (shown below) to generate a file name based on the current time. The problem with this is that it will create only 1 'unique' name every second, and when the

Re: Help with subroutine

2011-03-15 Thread Chris Wagner
I think ur notation is what's confusing u. I don't think it's making a copy but it would be better to write the $num construct as: $nums-{$i} = $numbernames[$i]; HTH. At 09:51 AM 3/2/2011 -0800, Barry Brevik wrote: I have a subroutine to which I want to pass a hash by reference. In the real

RE: Help with Array of Arrays

2011-03-08 Thread Thurn, Martin (TASC)
The normal (Perlish, elegant) way of doing list references would be as follows: # Save our place. push @stack, [$i, $curlvl, \@thisBOM]; ... # Now, recover where we left off. ($i, $curlvl, $raBOM) = @{pop @stack}; ... print $i: @{$raBOM-[$i]}\n; I believe it has the added bonus of not copying

RE: Help with Array of Arrays

2011-03-07 Thread Greg Aiken
if you are not in control of the base sql query, then disregard this comment... however if you are in control of the sql query that executes to oracle, you might want to see how oracles 'connect by' function might be able to help you handle the hierarchical nature of the relationship. perhaps

RE: Help with Array of Arrays

2011-03-07 Thread Ken Cornetet
...@listserv.activestate.com [mailto:perl-win32-users-boun...@listserv.activestate.com] On Behalf Of Greg Aiken Sent: Monday, March 07, 2011 11:07 AM To: bbre...@stellarmicro.com; perl-win32-users@listserv.ActiveState.com Subject: RE: Help with Array of Arrays if you are not in control of the base sql query

RE: Help with Array of Arrays

2011-03-07 Thread Meir Guttman
Dear Barry, I'll second Greg's idea. One link I think might help you is Peter Brawley's and Arthur Fuller's excellent tutorial Trees and Other Hierarchies in MySQL http://www.artfulsoftware.com/mysqlbook/sampler/mysqled1ch20.html. This is of course MySQL, not Oracle (which BTW now owns MySQL

Help with Array of Arrays

2011-03-06 Thread Barry Brevik
I always get majorly confused when I have to deal with Arrays of Arrays, Arrays of Hashes etc. The Camel book has a good section on this, but it is not always enough. That's why each time I do one, I document it in a file on my disk. However, I have not done this one before. I am extracting Bill

Help with subroutine

2011-03-02 Thread Barry Brevik
I have a subroutine to which I want to pass a hash by reference. In the real program, the hash in the caller starts out empty, and the subroutine adds values to it. The hash eventually becomes quite large, so I want the subroutine to add values to the caller's hash. The following sample code

Need Help with Win32::guitest

2011-02-09 Thread Daniel Burgaud
Hi $id contains the handle to a window that is currently minimized. I have tried SetActiveWindow($id); SetFocus($id); SetForegroundWindow($id); All did not bring up the window to foreground... What am I doing wrong? Dan ___ Perl-Win32-Users mailing

Ppm help

2010-11-22 Thread Neson Maxmelbin (RBEI/EMT5)
Hello , When I search for a Module I get the following 3 listings. How do I install the third one When I issue install PadWalker, it installs the first one. Thanks for your answers! ppm search PadWalker Searching in Active Repositories 1. PadWalker [1.5] play with other peoples' lexical

Re: help intercepting STDIO

2010-10-21 Thread Chris Wagner
So what u want to do is read the output from ffmpeg and write it asynchronously to the Tk window? So that u can monitor the process without having to wait for the process to finish. First is there any way to make a Tk window take its input from a file handle? That would be the easy way to go.

help intercepting STDIO

2010-10-18 Thread Daniel Burgaud
Hi I am trying to write a GUI application that will convert videos to another format using a program called FFMPEG. FFMPEG is basically text based apps which displays text status to standard output. I would like my application to intercept these strings in real-time and displays it on my very

RE: Need help with TK: scrollable adjustable columns of text

2010-08-23 Thread Thurn, Martin (TASC)
I am using Tk::TableMatrix::Spreadsheet in my application - - Martin ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

RE: Need help with TK: scrollable adjustable columns of text

2010-08-21 Thread Jack
___ From: perl-win32-users-boun...@listserv.activestate.com [mailto:perl-win32-users-boun...@listserv.activestate.com] On Behalf Of Daniel Burgaud Sent: August-18-10 9:19 PM To: Perl-Win32-Users Subject: Need help with TK: scrollable adjustable columns of text hi

RE: Need help with TK: scrollable adjustable columns of text

2010-08-19 Thread Brian Raven
From: perl-win32-users-boun...@listserv.activestate.com [mailto:perl-win32-users-boun...@listserv.activestate.com] On Behalf Of Daniel Burgaud Sent: 19 August 2010 04:19 To: Perl-Win32-Users Subject: Need help with TK: scrollable adjustable columns of text hi I am trying to write a TK

Text to Speech - Help!

2010-04-06 Thread Jon Bjornstad
the examples are in C++ and not in Perl it is not clear to me what I need to do. Any and all help is most appreciated! Thank you, Jon ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com

Help with Win32::Input

2010-02-05 Thread Barry Brevik
I am writing an app that continously loops looking for files to appear in a certain directory, and when they do, it reads those files and does some work with them. ...BUT... ...the app also needs to watch for keystrokes in a non-blocking way. If a key is waiting, it can do something with it and

Re: Help with Win32::Input

2010-02-05 Thread Chris Wagner
I would use Term::ReadKey to to do non blocking reads in this situation. It even accepts drag and drop file names while in the background. At 04:21 PM 2/5/2010 -0800, Barry Brevik wrote: I am writing an app that continously loops looking for files to appear in a certain directory, and when they

RE: Help with slow startup

2010-01-19 Thread Jan Dubois
On Mon, 18 Jan 2010, Michael Ellery wrote: Thanks for that patch. I've patched the file on my system and rebooted - now I see times shown below. Now my first startup time is only double my steady state time, which seems to be an improvement (previous run was more than 3 times the subsequent

Re: Help with slow startup

2010-01-19 Thread Michael Ellery
if that makes any difference here...) Thanks again for your help. -Mike ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

RE: Help with slow startup

2010-01-19 Thread Jan Dubois
On Tue, 19 Jan 2010, Michael Ellery wrote: Can you shed a little light on what this WIN32_SLOPPY_STAT does - I'm guessing it uses a faster set of APIs for gathering file stat info - perhaps at the cost of accuracy? The normal Perl implementation of stat() on Windows actually opens the file.

Help with slow startup

2010-01-18 Thread Michael Ellery
I have a slow startup problem with a library I have written. The observed behavior is that perl scripts that use my library *intermittently* take 30 seconds to startup. If I run them again immediately thereafter, they drop back down to about 10 seconds to startup. If I wait for some time

RE: Help with slow startup

2010-01-18 Thread Jan Dubois
On Mon, 18 Jan 2010, Michael Ellery wrote: I have a slow startup problem with a library I have written. The observed behavior is that perl scripts that use my library *intermittently* take 30 seconds to startup. If I run them again immediately thereafter, they drop back down to about 10

Re: Help with slow startup

2010-01-18 Thread Michael Ellery
On 1/18/2010 4:52 PM, Jan Dubois wrote: On Mon, 18 Jan 2010, Michael Ellery wrote: I have a slow startup problem with a library I have written. The observed behavior is that perl scripts that use my library *intermittently* take 30 seconds to startup. If I run them again immediately

RE: Help: Random Read/Write a binary file

2009-12-07 Thread Brian Raven
From: perl-win32-users-boun...@listserv.activestate.com [mailto:perl-win32-users-boun...@listserv.activestate.com] On Behalf Of Daniel Burgaud Sent: 05 December 2009 11:50 To: Perl-Win32-Users Subject: Help: Random Read/Write a binary file Hi All I have files previously created in binmode

Help: Random Read/Write a binary file

2009-12-05 Thread Daniel Burgaud
SFILE, filename.dat; seek SFILE $i, 0; it writes at that location alright, but first half of data are blank. HELP! :( Dan ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman

Re: need help installing guitest

2009-11-21 Thread Daniel Burgaud
Hi all.. I wasnt paying enough attention to the error and realized, PPM was not allowed by firewall.. it was running on a fresh XP install where most are restricted. My bad. Thanks for the help. Dan On Wed, Nov 18, 2009 at 10:31 PM, Brian Raven bra...@nyx.com wrote: From: perl-win32-users

need help installing guitest

2009-11-18 Thread Daniel Burgaud
hi After a reinstall of windows xp, i reinstalled perl as well.. now comes the fun part: I could not install Win32-guitest. PPM is no help either.. I've already added the other reposities and guitest isnt there. Currently, I just dumped my old perl installation into the new xp system. but im

RE: need help installing guitest

2009-11-18 Thread Brian Raven
From: perl-win32-users-boun...@listserv.activestate.com [mailto:perl-win32-users-boun...@listserv.activestate.com] On Behalf Of Daniel Burgaud Sent: 18 November 2009 13:52 To: Perl-Win32-Users Subject: need help installing guitest hi After a reinstall of windows xp, i reinstalled perl

Need help with RE:

2009-11-16 Thread Daniel Burgaud
Hi, my $line = Unconfirmed; I need an RE that will give me a TRUE value if the string is 2~8 chars long. otherwise, it gives FALSE; I tried if ($line =~ /\S{2,8}/) { return 1; } else { return 0; } However this does not work. I cannot use length($line) because it has to be Regular

Re: Need help with RE:

2009-11-16 Thread Justin Allegakoen
2009/11/16 Daniel Burgaud burg...@gmail.com Hi, my $line = Unconfirmed; I need an RE that will give me a TRUE value if the string is 2~8 chars long. otherwise, it gives FALSE; I tried if ($line =~ /\S{2,8}/) { return 1; } else { return 0; } However this does not work. I

Re:Need help with RE:

2009-11-16 Thread 独孤九剑
$line =~ /[a-zA-Z]{2,8}/; -- Original -- From: Daniel Burgaudburg...@gmail.com; Date: Mon, Nov 16, 2009 04:27 PM To: Perl-Win32-Usersperl-win32-users@listserv.activestate.com; Subject: Need help with RE: Hi, my $line = Unconfirmed; I

回复:Need help with RE:

2009-11-16 Thread 独孤九剑
You can $line =~ /^[a-zA-Z]{2,8}$/; -- 原始邮件 -- 发件人: 独孤九剑wx...@vip.qq.com; 发送时间: 2009年11月17日(星期二) 上午8:10 收件人: Daniel Burgaudburg...@gmail.com; Perl-Win32-Usersperl-win32-users@listserv.activestate.com; 主题: Re:Need help with RE: $line =~ /[a-zA

RE: need help with Tk: I could not figure the error

2009-09-03 Thread Brian Raven
From: Daniel Burgaud [mailto:burg...@gmail.com] Sent: 03 September 2009 03:00 To: Brian Raven Cc: Perl-Win32-Users Subject: Re: need help with Tk: I could not figure the error Hi When I moved all the variables within the subroutines outside, this script suddenly worked flawlessly. What

need help with Tk: I could not figure the error

2009-09-02 Thread Daniel Burgaud
::butUp at C:/Perl/lib/Tk/Button.pm line 111 ButtonRelease-1 (command bound to event) Hoping for help. thanks. Dan use strict; use Tk; use Time::HiRes qw(time usleep); my $BGColor0 = #D8D0C8; my $BGColor1

RE: need help with Tk: I could not figure the error

2009-09-02 Thread Brian Raven
From: perl-win32-users-boun...@listserv.activestate.com [mailto:perl-win32-users-boun...@listserv.activestate.com] On Behalf Of Daniel Burgaud Sent: 02 September 2009 15:27 To: Perl-Win32-Users Subject: need help with Tk: I could not figure the error I have this test script below. A toplevel

Re: need help with Tk: I could not figure the error

2009-09-02 Thread Daniel Burgaud
:13 PM, Brian Raven bra...@nyx.com wrote: From: perl-win32-users-boun...@listserv.activestate.com [mailto:perl-win32-users-boun...@listserv.activestate.com] On Behalf Of Daniel Burgaud Sent: 02 September 2009 15:27 To: Perl-Win32-Users Subject: need help with Tk: I could not figure the error

Re: need help with Tk: I could not figure the error

2009-09-02 Thread Daniel Burgaud
] On Behalf Of Daniel Burgaud Sent: 02 September 2009 15:27 To: Perl-Win32-Users Subject: need help with Tk: I could not figure the error I have this test script below. A toplevel containing a button that invokes another toplevel. The first time I invoke this second window, all works fine

need help: TK windows - no task bar icon pls

2009-09-01 Thread Daniel Burgaud
Hi I have a perl script with a main TK: my $MW = MainWindow-new(); Within, I have routines that requires a popup. sub POPUP { my $popup = $MW-TopLevel(); . . . while(1) { usleep 5000; $popup-focus; . . . } } I do not like to use dialog or dialogbox because i need a popup

RE: need help: TK windows - no task bar icon pls

2009-09-01 Thread Brian Raven
From: perl-win32-users-boun...@listserv.activestate.com [mailto:perl-win32-users-boun...@listserv.activestate.com] On Behalf Of Daniel Burgaud Sent: 01 September 2009 11:08 To: Perl-Win32-Users Subject: need help: TK windows - no task bar icon pls Hi I have a perl script with a main TK: my

Re: need help: TK windows - no task bar icon pls

2009-09-01 Thread Daniel Burgaud
-Win32-Users Subject: need help: TK windows - no task bar icon pls Hi I have a perl script with a main TK: my $MW = MainWindow-new(); Within, I have routines that requires a popup. sub POPUP { my $popup = $MW-TopLevel(); . . . while(1) { usleep 5000; $popup

Need help with printf/sprintf

2009-08-29 Thread Daniel Burgaud
Hi I have a problem with printf/sprintf Basically I have this code: printf %-50s %10.2f\n, $item, $price; This code prints a line that is 61 chars long with the Item's name on the Left and Price on the right. However, I want to make it variable width based on either screen width, or user input:

Re: Need help with printf/sprintf

2009-08-29 Thread Gabor Szabo
On Sat, Aug 29, 2009 at 3:51 PM, Daniel Burgaudburg...@gmail.com wrote: Hi I have a problem with printf/sprintf Basically I have this code: printf %-50s %10.2f\n, $item, $price; This code prints a line that is 61 chars long with the Item's name on the Left and Price on the right.

RE: Need help with printf/sprintf

2009-08-29 Thread BRZEZINSKI, PAUL
Burgaud Sent: Saturday, August 29, 2009 8:51 AM To: Perl-Win32-Users Subject: Need help with printf/sprintf Hi I have a problem with printf/sprintf Basically I have this code: printf %-50s %10.2f\n, $item, $price; This code prints a line that is 61 chars long with the Item's name on the Left

Re: need help from a new hand for perl

2009-08-25 Thread Chris Wagner
At 03:43 PM 8/19/2009 -0500, Fei Shi wrote: Only when I run the code below I have a little problem: *cat ids_overlap_* | sort -u a file name* I have 3 files named as *ids_overlap_*(21Us/coding/ram)*. The error message is: *The system cannot find the file specified. cat.exe: write error : invalid

Re: need help from a new hand for perl

2009-08-25 Thread Gabor Szabo
On Tue, Aug 25, 2009 at 1:08 PM, Chris Wagnerwagn...@plebeian.com wrote: At 03:43 PM 8/19/2009 -0500, Fei Shi wrote: Only when I run the code below I have a little problem: *cat ids_overlap_* | sort -u a file name* I have 3 files named as *ids_overlap_*(21Us/coding/ram)*. The error message is:

Re: need help from a new hand for perl

2009-08-19 Thread Serguei Trouchelle
Fei Shi wrote: The error message is as follows: *Copying subject file 'cp' is not recognized as an internal or external command, operable program or batch file. formatting subject file [NULL_Caption] ERROR: Could not open blast_dir_temp/file_subject Try to install MSYS:

Re: need help from a new hand for perl

2009-08-19 Thread Daniel Bara
Hi Fei, I had the same problem some time ago. I solved it with tools from the following resource. http://www.math.utah.edu/~beebe/gnu-on-windows.html Many DOS commands are different in UNIX. Like dir / ls or del rm. The other issue you will have to consider when modifying the script is how you

Re: need help from a new hand for perl

2009-08-19 Thread Fei Shi
Hi, All: Thank you for all your inputs. They really help me a lot~~[?] I downloaded the package UnxUtils and put my perl program under its bin folder. After I changed the windows system path variable, I can run the perl in the DOS system. Only when I run the code below I have a little problem

need help from a new hand for perl

2009-08-18 Thread Fei Shi
Hi, Dear perl experts: I am a new hand of perl. I use perl because I am trying to use a package called miRDeephttp://www.mdc-berlin.de/en/research/research_teams/systems_biology_of_gene_regulatory_elements/projects/miRDeep/index.html. I install the *activeperl 5.10 for windows*. Then I

Re: need help from a new hand for perl

2009-08-18 Thread Aaron Hawryluk
Hi Fei Shi, It looks like your auto_blast.pl is not set up to run on Windows. Those are UNIX system commands that it's erroring on (rm, cp, cat). On Tue, Aug 18, 2009 at 3:39 PM, Fei Shijustfly2...@gmail.com wrote: Hi, Dear perl experts: I am a new hand of perl. I use perl because I

  1   2   3   4   5   6   7   8   9   10   >