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

2013-05-20 Thread Brian Raven
, 'ad_catalog'); # define transient storage table and return insert SQL Statement my $putAP = mk_APmem($dbh); print $putAP\n; #[\test script]# Have you tried the method suggested on the documentation? (See BUGS section in 'perldoc DBI::AnyData'). HTH -- Brian Raven

RE: confused by use of 'implied' variable

2013-04-08 Thread Brian Raven
listed under General Variables. HTH -- Brian Raven Please consider the environment before printing this e-mail. This e-mail may contain confidential and/or privileged information. If you are not the intended recipient or have received this e-mail in error

RE: button with multiple font sizes

2013-03-13 Thread Brian Raven
Dan, Tk::Button only allows for text in a single font, as you have probably discovered. However, it does let you use an image. If you can render the text you want as an image (e.g. GD?), that that might be a way to go. HTH -- Brian Raven From: perl-win32-users-boun

RE: How to know a closed Socket?

2012-11-26 Thread Brian Raven
at regular intervals, that can be checked by the receiver. Welcome to network programming. HTH -- Brian Raven Please consider the environment before printing this e-mail. This e-mail may contain confidential and/or privileged information. If you

RE: 'mysplit' ???

2012-11-26 Thread Brian Raven
... mysplit($total-$item, $num_elems-1, @new_accum); ive 'googled' the word 'mysplit' and find no results. might anyone know exactly what 'mysplit' is? I may have misunderstood your question, but mysplit is the sub defined above (see ^^^). HTH -- Brian Raven

RE: In need to efficiently retrieve HTTP

2012-11-21 Thread Brian Raven
://developers.google.com/maps/faq#usagelimits). HTH -- Brian Raven Please consider the environment before printing this e-mail. This e-mail may contain confidential and/or privileged information. If you are not the intended recipient or have received this e-mail

RE: Need help with TK DirTree

2012-10-29 Thread Brian Raven
Not the first time a question like this has been asked. Take a look at this link, which may point you in a useful direction. http://www.perlmonks.org/?node_id=170334 -- Brian Raven From: perl-win32-users-boun...@listserv.activestate.com [mailto:perl-win32-users-boun

RE: Is there a range of Standard Perl Exit Codes?

2012-08-15 Thread Brian Raven
this as there could be some odd side effects, depending on how the modules that you use behave. It might be worth looking for alternate method of achieving your desired result, which isn't entirely clear. HTH -- Brian Raven Please consider the environment before printing this e-mail. This e

RE: trouble understanding/using file handle in a sub routine

2012-08-10 Thread Brian Raven
to it. In which case, it might be better to assign the parameters to local variables with appropriate names, rather than relying on a comment. For example... sub write_fp_data { my $file_pointer = shift; my $data_value = shift; print $file_pointer $data_value; } HTH -- Brian Raven

RE: Okay, hand me my dunce-cap

2012-06-25 Thread Brian Raven
) { $cs_keys{$key} =~ s{/Zones/}{/Lockdown_Zones/} } I just got hung up on using the map line... Perhaps I am missing something, but sequential numeric keys suggest array rather than hash to me. HTH -- Brian Raven Please consider the environment before printing this e-mail. This e-mail may contain

RE: win32 and modifying a file

2012-06-08 Thread Brian Raven
in memory, then File::Slurp may be worth a look, particularly the edit functions. HTH -- Brian Raven Please consider the environment before printing this e-mail. This e-mail may contain confidential and/or privileged information. If you are not the intended recipient or have received this e-mail

RE: dbd-anydata - i cant get it to INSERT new records

2012-05-11 Thread Brian Raven
interesting. Thanks for the pointer.] HTH -- Brian Raven Please consider the environment before printing this e-mail. This e-mail may contain confidential and/or privileged information. If you are not the intended recipient or have received this e-mail in error, please advise the sender

RE: Hash Key function puzzlement -- a point of information query

2012-05-03 Thread Brian Raven
: hash has 0 keys. What's up wit dat? What obvious thing am I missing? That's correct, because you have not added any keys. HTH -- Brian Raven Please consider the environment before printing this e-mail. This e-mail may contain confidential and/or privileged information. If you

RE: :localxxxxxlabel

2012-03-22 Thread Brian Raven
now. In which case it is probably better to specify the -no_xhtml pragma rather than editing CGI.pm. See 'perldoc CGI' for details. HTH -- Brian Raven Please consider the environment before printing this e-mail. This e-mail may contain confidential and/or privileged information. If you

RE: directory listing of Computer on win32

2012-03-14 Thread Brian Raven
$dstring; my $olen = GetLogicalDriveStrings(26*4+1, $dstring); my @drives = map {s|\\|/|g; $_} grep {stat($_)} split \000, $dstring; print Drives [@drives]\n; find(sub { print $File::Find::name\n; }, @drives); HTH -- Brian Raven Please consider the environment

RE: Quick memory-recovery question--a point of information

2012-03-08 Thread Brian Raven
that scope, it will get garbage collected when the scope exits. If you wanted to recover the memory before the end of scope for some reason, although I can't think of a good one one at the moment, then by all means use undef, or possibly @chunk = (). HTH -- Brian Raven Please consider

RE: pattern match 'or' operator |

2012-03-08 Thread Brian Raven
to use a module that knows how to parse PDF files. HTH -- Brian Raven Please consider the environment before printing this e-mail. This e-mail may contain confidential and/or privileged information. If you are not the intended recipient or have received this e-mail in error, please advise

RE: perl pattern match option 's' (coerce . to include \n)

2012-03-08 Thread Brian Raven
. Without the /s modifier, . matches any character except \n. With the /s modifier, . matches any character including \n. So, unless you need to capture the newlines, why would you care? HTH -- Brian Raven Please consider the environment before printing this e-mail. This e-mail may contain

RE: accessing other file version information

2012-01-31 Thread Brian Raven
, as mentioned before, then the documentation for both suggests that Comments should be easily retrieved, assuming it is there. http://search.cpan.org/~mdootson/Win32-Exe-0.17/lib/Win32/Exe.pm#get_version_info http://search.cpan.org/~alexeyt/Win32-File-VersionInfo-0.03/VersionInfo.pm HTH -- Brian

RE: Using the --info data from Perl

2012-01-30 Thread Brian Raven
the executable ($0 perhaps), then either Win32::File::VersionInfo or Win32::Exe should get you that. HTH -- Brian Raven Please consider the environment before printing this e-mail. This e-mail may contain confidential and/or privileged information. If you are not the intended recipient

RE: Window 7 x64, @inc search question

2012-01-09 Thread Brian Raven
(see perldoc perl.*delta). For non core modules, their Changes file might be useful. HTH -- Brian Raven Please consider the environment before printing this e-mail. This e-mail may contain confidential and/or privileged information. If you are not the intended recipient or have received

RE: RE: File::Find::Rule problem

2011-12-14 Thread Brian Raven
, 2011 Fixes the case where name(foo(*) hits an error with mismatched parentheis. Reported by Jan Engelhardt. It might be worth upgrading File::Find::Rule to the later version (Perl as well, if you can). It might make a difference. HTH -- Brian Raven Thank you both so much

RE: File::Find::Rule problem

2011-12-13 Thread Brian Raven
be worth upgrading File::Find::Rule to the later version (Perl as well, if you can). It might make a difference. HTH -- Brian Raven Please consider the environment before printing this e-mail. This e-mail may contain confidential and/or privileged information. If you are not the intended

RE: Capturing STDERR (Specifically from Getopt::Long)

2011-12-02 Thread Brian Raven
-- Brian Raven Please consider the environment before printing this e-mail. This e-mail may contain confidential and/or privileged information. If you are not the intended recipient or have received this e-mail in error, please advise the sender immediately by reply e-mail and delete

RE: Re:Problem with regex

2011-11-17 Thread Brian Raven
Text::CSV, but for some reason the ActiveState ppm does not actually install it. It complains about not being able to find some other module that it depends on. Don't know if it helps, but I seem to have installed Text::CSV_XS on Activestate 5.14.1 build 1401. -- Brian Raven Please consider

RE: How to split up a string with carriage returns into an array

2011-11-07 Thread Brian Raven
use the following code to assign $msg. $msg = $element-as_trimmed_text(); (where element points to this line in an htm file.) Try using some other means of getting the test, for example $element-as_text. See 'perldoc HTML::Element' for more info. HTH -- Brian Raven Please consider

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

RE: How to Extract a Date from a File

2011-11-03 Thread Brian Raven
=javascript:__doPostBack('NextWeekLinkButton','')Next/a/div div style=OVERFLOW: hidden; OVERFLOW:visible; TEXT-ALIGN: centerspan id=StatusLabel class=StatusLabel/span/div /div --- -- Brian Raven Please consider the environment before printing

RE: How to Extract a Date from a File

2011-11-03 Thread Brian Raven
-Original Message- From: perl-win32-users-boun...@listserv.activestate.com [mailto:perl- win32-users-boun...@listserv.activestate.com] On Behalf Of Brian Raven Sent: 03 November 2011 10:37 To: perl Win32-users Subject: RE: How to Extract a Date from a File From: perl-win32-users

RE: Making directories

2011-10-26 Thread Brian Raven
the original permissions while File::Copy::copy sets default permissions on the target. HTH -- Brian Raven Please consider the environment before printing this e-mail. This e-mail may contain confidential and/or privileged information. If you are not the intended recipient or have received this e-mail

RE: GuiTest and Locked Screen

2011-09-21 Thread Brian Raven
. Another method of communicating with, or controlling, the other application that doesn't use the windowing system might work better. OLE, for example. HTH -- Brian Raven Please consider the environment before printing this e-mail. This e-mail may contain confidential and/or privileged

RE: Help with array

2011-09-08 Thread Brian Raven
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 a look at slices, described in 'perldoc perldata'. HTH -- Brian Raven Please consider the environment before printing this e-mail. This e-mail may

RE: Keyboard handler

2011-09-02 Thread Brian Raven
mean. That code doesn't see very complex. In case you haven't spotted them, there are a few FAQs that may help. See 'perldoc -q key' to start with. HTH -- Brian Raven Please consider the environment before printing this e-mail. This e-mail may contain confidential and/or privileged

RE: List vs. Array

2011-08-22 Thread Brian Raven
that discusses the topic: https://www.socialtext.net/perl5/array_vs_list Also a FAQ. See 'perldoc -q list.*array'. HTH -- Brian Raven Please consider the environment before printing this e-mail. This e-mail may contain confidential and/or privileged information. If you

RE: MS Access Update Memo Field with 750 characters

2011-07-07 Thread Brian Raven
this. sub update_country_releases { my $db = shift; my $sql = qq{UPDATE PROD_INT set COUNTRY = ? where ROW_ID = ?}; my $sth = $db-prepare($sql); foreach (keys %country_releases) { $sth-execute($country_releases{$_}, $_ . :ZZZ); } } HTH -- Brian Raven Please

RE: Writing To Win Event Logs using Win32::EventLog

2011-04-13 Thread Brian Raven
. This is all installed on a Windows XP SP3 box. Does anyone have any advice/methods on getting exactly what I want written to the Event Logs? Cheers and thanks in advance. Ashley This link may help. http://www.perlmonks.org/?node_id=737505 HTH -- Brian Raven Please consider

RE: regex like option *values*

2011-03-07 Thread Brian Raven
-Original Message- From: p sena [mailto:senapati2...@yahoo.com] Sent: 05 March 2011 05:34 To: perl-win32-users@listserv.ActiveState.com; Brian Raven Subject: RE: regex like option *values* __DATA__ abc0[1-9].ctr.[pad,spd].set.in abc[01-22].ctr.[pad,spd].set.in abcL[1,2,3].ctr.[pad

RE: trying to create first simple perl 'filter' program on windows

2011-03-04 Thread Brian Raven
of your script, e.g. #!c:/perl/bin/perl. Another work around is to turn your script into a batch file. See the provided script pl2bat for help with that. HTH -- Brian Raven Please consider the environment before printing this e-mail. This e-mail may contain confidential and/or privileged

RE: regex like option *values*

2011-03-03 Thread Brian Raven
as numbers. Regarding incorporating into Getopt::Long, see the Tips and Tricks section of the doco. HTH -- Brian Raven Please consider the environment before printing this e-mail. This e-mail may contain confidential and/or privileged information. If you are not the intended recipient

RE: regex like option *values*

2011-03-03 Thread Brian Raven
-Original Message- From: p sena [mailto:senapati2...@yahoo.com] Sent: 03 March 2011 15:40 To: perl-win32-users@listserv.ActiveState.com; Brian Raven Subject: RE: regex like option *values* __DATA__ abc0[1-9].ctr.[pad,spd].set.in abc[01-22].ctr.[pad,spd].set.in abcL[1,2,3].ctr.[pad

RE: isue with file-find and search/replace function

2011-02-28 Thread Brian Raven
: The folder name is c:\temp Current Dir before stripping path - c:\temp/SMTPSVCLOG scpfile = smtpsvc_20100228.log Current Dir after stripping path- c:\temp/SMTPSVCLOG HTH -- Brian Raven Please consider the environment before printing this e-mail. This e-mail may contain

RE: spurious deaths in script execution due to read-only Config?

2011-02-23 Thread Brian Raven
-- Brian Raven Please consider the environment before printing this e-mail. This e-mail may contain confidential and/or privileged information. If you are not the intended recipient or have received this e-mail in error, please advise the sender immediately by reply e-mail and delete

RE: spurious deaths in script execution due to read-only Config?

2011-02-23 Thread Brian Raven
. Perhaps grep or possibly ... for ('now') { require ActiveState::Path } ... should have the same effect, i.e. aliasing $_ to something (hopefully) innocuous. HTH -- Brian Raven Please consider the environment before printing this e-mail. This e-mail may contain confidential

RE: Invalid type 'Q' in pack

2011-02-15 Thread Brian Raven
want to consider using Math::BigInt to store the combined values, just to be on the safe side. HTH -- Brian Raven Please consider the environment before printing this e-mail. This e-mail may contain confidential and/or privileged information. If you are not the intended recipient or have

RE: experiencing Out of memory errors

2011-01-26 Thread Brian Raven
your belief that you don't have a memory leak is sustainable. This may help. http://modperlbook.org/html/14-2-6-Memory-Leakage.html HTH -- Brian Raven Please consider the environment before printing this e-mail. This e-mail may contain confidential and/or privileged information. If you

RE: Where's Tk?

2010-12-17 Thread Brian Raven
-Original Message- From: Sisyphus [mailto:sisyph...@optusnet.com.au] Sent: 16 December 2010 22:26 To: Brian Raven; activep...@activestate.com; perl-win32-us...@activestate.com Subject: Re: Where's Tk? - Original Message - From: Brian Raven bra...@nyx.com To: activep

RE: Where's Tk?

2010-12-17 Thread Brian Raven
-Original Message- From: activeperl-boun...@listserv.activestate.com [mailto:activeperl-boun...@listserv.activestate.com] On Behalf Of Brian Raven Sent: 17 December 2010 17:25 To: Sisyphus; activep...@activestate.com; perl-win32-us...@activestate.com Subject: RE: Where's Tk? ... I had

Where's Tk?

2010-12-16 Thread Brian Raven
I have Activestate Perl 5.12.2 (build 1202) installed. I can see some Tk extension packages in the PPM gui, but no sign of Tk itself. Is there a problem, or is just me looking in the wrong place? -- Brian Raven Please consider the environment before printing this e-mail. This e-mail may

RE: does anyone know how to get a TRUE ntfs directory listing? usingPerl, or otherwise

2010-12-10 Thread Brian Raven
that will give you info on NTFS meta data files and ADS. There is even a Perl module on CPAN (and hopefully on PPM) to help with ADS (Win32::StreamNames). HTH -- Brian Raven Please consider the environment before printing this e-mail. This e-mail may contain confidential and/or privileged information

RE: how to best convert an array containing hexadecimal values to asciivalue?

2010-11-24 Thread Brian Raven
bit characters, or will you strip the null bytes out at some point? -- Brian Raven Please consider the environment before printing this e-mail. This e-mail may contain confidential and/or privileged information. If you are not the intended recipient or have received this e-mail in error

RE: Checking for Available Port

2010-11-02 Thread Brian Raven
; } } return NOT IN USE; } sub get_tcp_fields { my @flds = split , $_[0]; if ($^O =~ /cygwin|win32/i) { return @flds[1,3]; } else { return @flds[3,5]; } } Also, I notice that there is a module, Net::Netstat::Wrapper, that may be of interest. HTH -- Brian

RE: lame question \\\\.\\pipe\\pipename vs '\\.\pipe\pipename'

2010-10-20 Thread Brian Raven
argument, then / should work, and not need escaping. HTH -- Brian Raven Please consider the environment before printing this e-mail. This e-mail may contain confidential and/or privileged information. If you are not the intended recipient or have received this e-mail in error, please advise

RE: Win32::OLE on MS Word using Selection.Find.Execute

2010-09-13 Thread Brian Raven
) Null That looks like shell script rather than Perl (Powershell perhaps?). Your Perl code would have been more useful. HTH -- Brian Raven Please consider the environment before printing this e-mail. This e-mail may contain confidential and/or privileged information. If you

RE: Changing Subject color using MIME::Lite

2010-08-23 Thread Brian Raven
of a specific MUA. If that's not possible or feasible, then you may want to rethink your requirement. HTH -- Brian Raven Please consider the environment before printing this e-mail. This e-mail may contain confidential and/or privileged information. If you are not the intended recipient or have

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

2010-08-19 Thread Brian Raven
not entirely clear what you are asking for, but have you looked at Tk::Hlist? It doesn't have adjustable columns, but I notice that there is a Tk::Hlistplus on CPAN which looks like it does. It seems to be in the PPM archive under the package name Tk-MK. HTH -- Brian Raven Please consider

RE: Tk, Tkx, PerlApp, etc

2010-06-09 Thread Brian Raven
useful advice for converting PerlTk to Tkx, then please share. HTH -- Brian Raven Please consider the environment before printing this e-mail. This e-mail may contain confidential and/or privileged information. If you are not the intended recipient or have received this e-mail in error, please

RE: Extract nested zip file

2010-05-14 Thread Brian Raven
in zip files like Archive::Zip, possibly in combination with Archive::Zip::MemberRead. HTH -- Brian Raven Please consider the environment before printing this email. This e-mail may contain confidential and/or privileged information. If you are not the intended recipient or have received this e

RE: Use DLL files at Unix server

2010-04-23 Thread Brian Raven
-questions.html. -- Brian Raven Please consider the environment before printing this email. This e-mail may contain confidential and/or privileged information. If you are not the intended recipient or have received this e-mail in error, please advise the sender immediately by reply e-mail and delete

RE: Use DLL files at Unix server

2010-04-23 Thread Brian Raven
), have a look at the source filtering modules like Filter::Crypto. HTH -- Brian Raven Please consider the environment before printing this email. This e-mail may contain confidential and/or privileged information. If you are not the intended recipient or have received this e-mail in error

RE: parsing email headers

2010-03-24 Thread Brian Raven
pretty much like what you are asking for. BTW, it seems to be available vie ppm as well. HTH -- Brian Raven Please consider the environment before printing this email. This e-mail may contain confidential and/or privileged information. If you are not the intended recipient or have received

RE: Perl Regex

2010-02-26 Thread Brian Raven
XML that regular expressions, even Perl regular expressions. HTH -- Brian Raven Please consider the environment before printing this email. This e-mail may contain confidential and/or privileged information. If you are not the intended recipient or have received this e-mail in error, please

RE: HTML Parsing Question

2010-02-04 Thread Brian Raven
than necessary. Both of which are not recommended, if you will excuse the double negative. Always code with 'use strict; use warnings;' at the top of your code, and declare variables in the smallest scope necessary. HTH -- Brian Raven This e-mail may contain confidential and/or privileged

RE: Help: Random Read/Write a binary file

2009-12-07 Thread Brian Raven
a new output file. HTH -- Brian Raven This e-mail may contain confidential and/or privileged information. If you are not the intended recipient or have received this e-mail in error, please advise the sender immediately by reply e-mail and delete this message and any attachments without

RE: WIN32::OLE WMI Out params

2009-12-03 Thread Brian Raven
well not be, this would probably need to be something like: for my $obj (in $nodes) { print Name: $obj-{Name}\n; } # PerlScript End Any help would be appreciated. HTH, in lieu of somebody coming up with a more certain answer. -- Brian Raven This e-mail may contain confidential

RE: need help installing guitest

2009-11-18 Thread Brian Raven
are you using? Which repositories have you tried? HTH -- Brian Raven This e-mail may contain confidential and/or privileged information. If you are not the intended recipient or have received this e-mail in error, please advise the sender immediately by reply e-mail and delete this message and any

RE: How do I create arrays in OO format?

2009-11-16 Thread Brian Raven
Serguei Trouchelle wrote: Brian Raven wrote: Read the documentation on OO that comes with Perl (perldoc perl$_ foreach qw{boot toot tooc bot}). Also Damian Conway's book comes highly recommended. I can't remember toe title off-hand, but you can google for it. Perl Best Practices That's

RE: How do I create arrays in OO format?

2009-11-12 Thread Brian Raven
(perldoc perl$_ foreach qw{boot toot tooc bot}). Also Damian Conway's book comes highly recommended. I can't remember toe title off-hand, but you can google for it. For things like storing arrays in hashes, 'perldoc perldsc' would be useful. HTH -- Brian Raven This e-mail may contain

RE: Hitting a maximum number of SOCKET connections?

2009-11-04 Thread Brian Raven
them. I strongly suggest that you do the same. -- Brian Raven This e-mail may contain confidential and/or privileged information. If you are not the intended recipient or have received this e-mail in error, please advise the sender immediately by reply e-mail and delete this message and any

RE: Hitting a maximum number of SOCKET connections? Continued...

2009-11-04 Thread Brian Raven
, and it seems to work as expected, i.e. pings seen on the server immediately after they are sent. So you may want to consider switching OS. HTH -- Brian Raven This e-mail may contain confidential and/or privileged information. If you are not the intended recipient or have received this e-mail

RE: Hitting a maximum number of SOCKET connections?

2009-11-03 Thread Brian Raven
be very happy for an explanation! 64 is the default limit on the number of file handles that you can call select with in win32. According to the doco (ActivePerl 5.10 Change Log), this was increased to 2000 for build 1001, so you might want to upgrade your Perl. HTH -- Brian Raven This e-mail

RE: How to passing a hex number in Win32::API call

2009-10-27 Thread Brian Raven
-- Brian Raven This e-mail may contain confidential and/or privileged information. If you are not the intended recipient or have received this e-mail in error, please advise the sender immediately by reply e-mail and delete this message and any attachments without retaining a copy. Any

RE: Strange Perl/Tk action

2009-10-26 Thread Brian Raven
? Any suggestions would be most welcome. I may have missed something from your description and code, but it seems to me that using radio buttons in your menu would be preferable, not to mention simpler, than recreating it. The widget demo has examples if you need them. HTH -- Brian Raven This e

RE: Using .cgi file as form action

2009-10-06 Thread Brian Raven
); } -- HTH -- Brian Raven This e-mail may contain confidential and/or privileged information. If you are not the intended recipient or have received this e-mail in error, please advise the sender immediately by reply e-mail and delete this message and any

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

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

2009-09-02 Thread Brian Raven
if you make it use diagnostics;. use Tk; ... HTH -- Brian Raven This e-mail may contain confidential and/or privileged information. If you are not the intended recipient or have received this e-mail in error, please advise the sender immediately by reply e-mail and delete this message and any

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

2009-09-01 Thread Brian Raven
with a better answer, try copying DialogBox.pm, make mods to it and see what happens. If you discover the answer from that, don't forget to let us know what it is. HTH -- Brian Raven This e-mail may contain confidential and/or privileged information. If you are not the intended recipient or have

RE: CPAN install directory usage

2009-07-01 Thread Brian Raven
. The big question is why don't you install it using ppm, rather than from CPAN. It is much easier as all of the hard work of building it has already been done. It works fine for me. -- Brian Raven This e-mail may contain confidential and/or privileged information. If you are not the intended

RE: CPAN install directory usage

2009-07-01 Thread Brian Raven
From: Perl Perl [mailto:perl.solut...@gmail.com] Sent: 01 July 2009 14:37 To: Brian Raven Cc: perl-win32-users@listserv.activestate.com Subject: Re: CPAN install directory usage Hi Brian Raven, I don't know by which way my system admin has install the module. Here my task

RE: :FTP pasv_xfer() using problem

2009-06-18 Thread Brian Raven
; print SIZE:- $lsize; $ftpout-quit() or die FTP: Couldn't quit.; $ftpin-quit() or die FTP: Couldn't quit.; MESSAGE: Can't call method port without a package or object reference at C:/Perl/lib/Ne t/FTP.pm line 1122. HTH -- Brian Raven This e-mail may contain confidential

RE: LWP Help

2009-06-17 Thread Brian Raven
., was looking for text/html.) } my $content = $response-content; # $content now holds the html page from google. print $content; Just a guess, but are the links in the returned document relative? If so, hava a look at the example code in the doco for HTML::LinkExtor. HTH -- Brian Raven

RE: Compilation (Building ) of project once the file is saved + Perl/Tk

2009-06-08 Thread Brian Raven
/perl tools/Compile tools/Perl/bin/perl tools/pjtCompile.pm /View/Vobs/ $Filename); } Also, it looks like you are (a) using global variables, or (b) not including 'use strict;' at the start of your code. Try to avoid (a), and always do (b). HTH -- Brian Raven This e-mail may contain

RE: inserting the file paths in between the two arrays ( text widget ) : Perl/TK

2009-06-05 Thread Brian Raven
From: Perl Perl [mailto:perl.solut...@gmail.com] Sent: 05 June 2009 13:16 To: Brian Raven Cc: perl-win32-users@listserv.activestate.com Subject: Re: inserting the file paths in between the two arrays ( text widget ) : Perl/TK Thanks a lot HTH ( Brian), This worked for me. Glad

RE: inserting the file paths in between the two arrays ( text widget ) : Perl/TK

2009-06-04 Thread Brian Raven
'. #open (FILE,f1.txt) or die Can't open $!; #foreach (@File_Path) { # print FILE $_; # $t - insert (end, $_); #} } HTH -- Brian Raven This e-mail may contain confidential and/or privileged information. If you are not the intended recipient or have received this e-mail

RE: Activeperl 5.10 + thread + join = random crashes

2009-06-03 Thread Brian Raven
, undef, undef, 0.1; } print All threads finished\n; } sub threadsub { my $id = threads-tid(); print Thread $id starting\n; my $delay = int(rand(5)) + 1; sleep $delay; print Thread $id terminating\n; return $delay; } HTH -- Brian Raven This e-mail may contain

RE: Activeperl 5.10 + thread + join = random crashes

2009-06-03 Thread Brian Raven
be done with great care. HTH -- Brian Raven This e-mail may contain confidential and/or privileged information. If you are not the intended recipient or have received this e-mail in error, please advise the sender immediately by reply e-mail and delete this message and any attachments without

RE: Advice requested, porting unix perl app to windows

2009-06-03 Thread Brian Raven
I'd ask the list for advice. There are command line tools in cygwin and putty. There are also perl modules, e.g. Net::SSH2. HTH -- Brian Raven This e-mail may contain confidential and/or privileged information. If you are not the intended recipient or have received this e-mail in error

RE: Problem iwth perl tk : Creation of file based on options

2009-05-27 Thread Brian Raven
line 250 Tk::Radiobutton::Invoke at /apps/perl/modules-0812/lib/x86_64-linux-thread-multi/Tk/Radiobutton.pm line 42 Button-1 (command bound to event) HTH -- Brian Raven This e-mail may contain confidential and/or privileged information. If you are not the intended recipient or have received

RE: LWP Help please

2009-05-18 Thread Brian Raven
concerned with retrieving data, it is unlikely to be involved, as your question seems to be more related to doing something with the data after retrieving it. HTH -- Brian Raven This e-mail may contain confidential and/or privileged information. If you are not the intended recipient or have received

RE: Win32-TaskScheduler problem with remote systems

2009-05-15 Thread Brian Raven
://cpansearch.perl.org/src/UNICOLET/Win32-TaskScheduler2.0.3/Exampl e.pl) calls SetTargetComputer before calling Activate, so perhaps you should try moving the call to before NewWorkItem, which creates a new active task, in your script. As I said, just a guess. HTH -- Brian Raven This e-mail may contain

RE: use system() function

2009-05-13 Thread Brian Raven
. As it is, I can't reproduce the behaviour you describe. A small, self-contained example script, that we could simply cutpaste and run would be better, along with the output generated when you ran the same code. Also, what happens when you execute those commands manually? HTH -- Brian Raven This e

RE: use system() function

2009-05-13 Thread Brian Raven
Jeon, Please use back stick operator here, instead of system command, because system command doesn't return anything. Not so. From 'perldoc -f system': The return value is the exit status of the program as returned by the wait call. HTH -- Brian Raven This e-mail may contain

RE: expanding hash database

2009-04-29 Thread Brian Raven
to energy add solar root -- energy -- solar \- inorganic and then increasing expansion as needed. Have a look at 'perldoc perldsc' for starters. HTH -- Brian Raven This e-mail may contain confidential and/or privileged information. If you are not the intended recipient or have received

RE: :Socket question (client receive - when # of bytes to be receivedis NOT known in advance)

2009-04-22 Thread Brian Raven
else you are trying to do, if anything. HTH -- Brian Raven This e-mail may contain confidential and/or privileged information. If you are not the intended recipient or have received this e-mail in error, please advise the sender immediately by reply e-mail and delete this message and any

RE: active perl 5.8.8 build 820 inconsistent behavior with $input =STDIN;

2009-04-16 Thread Brian Raven
it. HTH -- Brian Raven This e-mail may contain confidential and/or privileged information. If you are not the intended recipient or have received this e-mail in error, please advise the sender immediately by reply e-mail and delete this message and any attachments without retaining a copy

RE: Reset in ANSIColor sets the background to black

2009-04-01 Thread Brian Raven
(BACKGROUND_RED|BACKGROUND_BLUE|BACKGROUND_GREEN|BACKGROUND_INTENSITY); # This sets the text color on DOS in red with intensity $console-Attr(FOREGROUND_RED|FOREGROUND_INTENSITY|$BackgroundColor); print \nError Msg: $error \n; $console-Attr($CurrentConsoleColor); } 1; HTH -- Brian Raven

RE: running a dos program from perl

2009-04-01 Thread Brian Raven
perlipc', as well as 'perldoc IPC::Open2' and 'perldoc IPC::Open3'. Installing IPC::Cmd and/or IPC::Run may help simplify things a bit. HTH -- Brian Raven This e-mail may contain confidential and/or privileged information. If you are not the intended recipient or have received this e-mail

RE: what is the most robust and accurate way to determine the BOOTvolume?

2009-03-31 Thread Brian Raven
, 0, $result), \n; HTH -- Brian Raven This e-mail may contain confidential and/or privileged information. If you are not the intended recipient or have received this e-mail in error, please advise the sender immediately by reply e-mail and delete this message and any attachments without

RE: Perl Login Script using CGI module

2009-03-17 Thread Brian Raven
as there are a lot of bad examples out there. I would suggest taking a look at http://nms-cgi.sourceforge.net/ though for some decent examples. -- Brian Raven --- This e-mail may contain confidential

RE: Perl Login Script using CGI module

2009-03-17 Thread Brian Raven
From: Perl Perl [mailto:perl.solut...@gmail.com] Sent: 17 March 2009 16:49 To: Brian Raven Cc: perl-win32-users@listserv.activestate.com Subject: Re: Perl Login Script using CGI module Hi Brian, Thanks a lot for your kind mail and in detail description. Please find the the code I

RE: :Socket (client program sends simple text file containing CRLFnewlines)

2009-03-13 Thread Brian Raven
, and explicitly add CRLF when you send them to the socket. HTH -- Brian Raven --- This e-mail may contain confidential and/or privileged information. If you are not the intended recipient or have

  1   2   >