RE: obfuscating code

2013-02-13 Thread Bob McConnell
<http://lxer.com/module/newswire/ext_link.php?rid=180777> bm > -Original Message- > From: Octavian Rasnita [mailto:orasn...@gmail.com] > Sent: Wednesday, February 13, 2013 12:53 PM > To: Bob McConnell; Perl Beginners > Subject: Re: obfuscating code > > From: "Bob Mc

RE: obfuscating code

2013-02-12 Thread Bob McConnell
only distribute the output from the compiler. Even then there may be de-compilers or disassemblers that can reconstruct much of your source in readable form. Bob McConnell > -Original Message- > From: jbiskofski [mailto:jbiskof...@gmail.com] > Sent: Tuesday, February 12, 201

RE: Line-oriented socket I/O using select()

2013-01-14 Thread Bob McConnell
ffers. There may be other options to simplify this. One popular variation is to precede each message with a two byte length value. Normally this will be a 16 bit integer in network byte order. You read the two bytes, then do another read for the number of bytes indicated by them. You still hav

XML::Twig installation fails

2012-10-25 Thread Bob McConnell
- I found descriptions of this problem by searching on Google, but nothing to help me resolve it. Bob McConnell This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential. If t

RE: Is comp.lang.perl dead?

2012-10-23 Thread Bob McConnell
comp.sources.* groups have been superseded by live SCM servers and sites like Sourceforge, many of the discussion groups are still very active. I am using Astraweb <http://astraweb.com/> which has more than four years of retention on most groups. Plans are priced by your choice of bandwidth or volume. Bob McConnell

RE: Learning CPAN

2012-10-05 Thread Bob McConnell
atform. I use Thoth on a Mac. There are lots of > choices. > I use Pan on my Slackware Linux workstations. But I believe Thunderbird will also manage a news feed. Bob McConnell -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

RE: Using different libraries dynamically

2012-09-13 Thread Bob McConnell
clone of the production server as we can make it. This not only makes the automation possible, but it simplifies the build process as well. Bob McConnell -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

RE: Received ezmlm warning

2012-08-28 Thread Bob McConnell
ded too many times and may be the result of a mail loop. A couple of people have looked at it, but have not been able to identify the cause. Bob McConnell

RE: system command not working in different versions

2012-08-09 Thread Bob McConnell
y. The error messages there should point you toward the problem. If it runs, then there has to be a difference in the environments between your login and the user that actually executes the script. The alternative is to wrap it in a script that sends STDERR output to syslog. Bob McConnell -

RE: Multiprocessing script

2012-07-26 Thread Bob McConnell
not in the right order in the logs) you should not worry to much > about the order in which this shows up in the logs. > When you set up multiple processes or threads, Perl no longer has full control of their execution. The OS manages the scheduling and size of the time slices. It is very common to see race conditions like this where one process occasionally jumps ahead of another. Another symptom is split messages where one thread inserts its output in the middle of another's. If you need to manage the sequence of events between processes, you will need to look at IPC (Inter-Process Communications) capabilities of your platform. Semaphores are one mechanism that can be used to control the output sequence. Bob McConnell

RE: Multiprocessing script

2012-07-26 Thread Bob McConnell
not in the right order in the logs) you should not worry to much > about the order in which this shows up in the logs. > When you set up multiple processes or threads, Perl no longer has full control of their execution. The OS manages the scheduling and size of the time slices. It is very common to see race conditions like this where one process occasionally jumps ahead of another. Another symptom is split messages where one thread inserts its output in the middle of another's. If you need to manage the sequence of events between processes, you will need to look at IPC (Inter-Process Communications) capabilities of your platform. Semaphores are one mechanism that can be used to control the output sequence. Bob McConnell

RE: How to create a user manual window

2012-06-12 Thread Bob McConnell
t DWIMPerl itself, but it claims to be based on Strawberry, which I do use. The biggest advantage Strawberry has over ActiveState is the direct use of CPAN and all available modules there. It is not limited to the adulterated and incomplete collection provided by ActiveState. Bob McConnell

RE: Raspberry Pi for Beginners (and developers ;)

2012-06-04 Thread Bob McConnell
have actually worked with was the Digi ConnectME. That was very useful as a network appliance, but at US$47 in small quantities, it only had one each Ethernet and serial ports. Bob McConnell -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

RE: how to display commands while perl script executing

2012-05-15 Thread Bob McConnell
in a Perl mailing list, you are going to get Perl scripts. If that is not what you are looking for, you need to find a mailing list for your particular shell, which you didn't name. Bob McConnell -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

RE: PERL CGI, HTML and PHP

2012-04-26 Thread Bob McConnell
either globally or by using NoScript or similar add-ons. As a result, it should never be used to enable critical elements of a web page, but only to enhance the presentation. Bob McConnell -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

RE: MIME::Lite Return-Path not being set

2012-04-25 Thread Bob McConnell
Received" chain with a path for each relay point, but I'm not a server admin, so I can't be sure of that. Good luck, Bob McConnell -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

RE: MIME::Lite Return-Path not being set

2012-04-24 Thread Bob McConnell
; is reserved for use by the transport servers. It is likely your server is stripping out the suggestion you have put in there. It is also very likely that the bounce messages you expect are not being sent, due to the long term SPAM epidemic we have been experiencing. Most mail servers have that

RE: WWW::Selenium click not working - CPAN install problem

2012-04-05 Thread Bob McConnell
nct impression that all of the Perl developers had left that project, and nobody still working on it was interested in keeping the Perl drivers up to date. I never saw any indication there would be Perl drivers bundled with Se2. Bob McConnell -- To unsubscribe, e-mail: beginners-unsubscr...@perl.

RE: Solved(?) Re: IO:Socket - receiving data

2011-10-26 Thread Bob McConnell
> From: Gary > > Bob McConnell wrote: > >> From: Gary > > >> For the record, this is what I did to get around the problem: > >> > >> ,[ code ] > >> | my $s = IO::Select->new($self->{_sock}); while (my @ready

RE: Solved(?) Re: IO:Socket - receiving data

2011-10-25 Thread Bob McConnell
e same length, or is there a delimiter at the end you can test for? If the length is constant, I would change the loop test to (length($ret) < SIZE) instead of just waiting for a partial buffer. If you do get to handle multiple messages without a significant delay between them, this code also

RE: IO:Socket - receiving data

2011-10-24 Thread Bob McConnell
nough you have to wait for more. If you have too many, you need to hold on to the extra to start the next element. If you want a read() to return exactly as many bytes as the matching write() sent, you need UDP. But then you give up the delivery guarantee. Bob McConnell -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

RE: John SJ Anderson is Perl Beginners list moderator

2011-10-06 Thread Bob McConnell
Lookout is another. I have to manually edit each line to turn this into a bottom post. They totally dropped the Usenet style reply option in the Office 2003 release. Bob McConnell -Original Message- From: Zachary Zebrowski [mailto:zak.zebrow...@gmail.com] Sent: Thursday, October 06

RE: Validating input

2011-10-04 Thread Bob McConnell
From: shawn wilson > On Oct 3, 2011 8:48 AM, "Bob McConnell" wrote: >> >> From: shawn wilson >> >> > On Sun, Oct 2, 2011 at 02:32, Shlomi Fish wrote: >> >> On Sun, 2 Oct 2011 00:07:34 +0300 >> >> "Octavian Rasnita" w

RE: Validating input

2011-10-03 Thread Bob McConnell
rc, some browsers don't or google say are dangerous > - there doesn't seem to be any script running on this page - cursory > look): > http://ha.ckers.org/xss.html > For general guidelines and tools, take a look at the OWASP Projects at <http://www.owasp.org/>. Bob McConnell -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

RE: Socket6 won't install

2011-08-24 Thread Bob McConnell
From: Sisyphus > From: "Bob McConnell" > >>I am using Strawberry on WinXP. I need to test some IPv6 connectivity >> but can't get Socket6 to install. It all boils down to two errors during >> the compile stage. >> >> Socket6.o:Socket6

Socket6 won't install

2011-08-23 Thread Bob McConnell
ference to `inet_ntop' collect2: ld returned 1 exit status How do I resolve this problem? Bob McConnell -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

RE: XAMPP

2011-08-04 Thread Bob McConnell
o reason to look back. Bob McConnell -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

RE: substring first 100 words from a string in perl

2011-07-29 Thread Bob McConnell
My first impression was that he wanted the first hundred characters rounded off to the previous or next full word. It sounded like he wanted smart line breads at the word boundaries. Bob McConnell From: timothy adigun > I get the point you are making here, if you check the subroutine &

RE: url checker load average opensource s/w

2011-07-21 Thread Bob McConnell
l: <http://www.santaclarahightech.org/teacher/selenium-rc/> <http://quicksilver1183.com/2010/09/07/setting-up-selenium-with-perl/> <http://testingwithperl.blogspot.com/2008/03/using-selenium-for-testing. html#driver> <http://wiki.openqa.org/display/SRC/Selenium+RC+and+Perl>

RE: Verifying an e-mail address

2011-06-27 Thread Bob McConnell
actual response from the user. Even then I would be worried that it could be a 'bot responding to you. Email should no longer be considered a reliable basis to make financial decisions. Bob McConnell -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

RE: Re : Re: Re : Re: Re : Re: Check if words are in uppercase?

2011-06-21 Thread Bob McConnell
t;> >> It's probably less fast than other ones, but it seems to work. > > I'm afraid you may need to improve your testing skills. > > I assume your keywords are in lower case. What happens with mixed case? You > would need /i on your first // You need to be a l

RE: regexp validation (arbitrary code execution) (regexp injection)

2011-06-02 Thread Bob McConnell
then accesses the database. There are any number of variations on these themes, but in each case, they have to run some application code somewhere in order to access the data. Bob McConnell -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

RE: Alternative to goto

2011-04-15 Thread Bob McConnell
implies. But "goto" is uncontrolled and ignores that context, leaving the stack and related structures in an unknown state. This is what makes it so dangerous. It can also be used to jump into a code block without correctly initializing its structures, creating a even bigger mess. Th

RE: how do make certain that no input (keyboard + mouse paste) is outside of 7-bit ASCII in a perl script?

2011-02-02 Thread Bob McConnell
t;if ( /^[\040-\176]*$/ ){ # all from space to tilde > print "OK. '$_' is all us-ascii\n-> " >} else { > print "Can't accept '$_' ; " . > "contains non us-ascii characters\n-> " >} > } Yo

RE: How to avoid Out of Memory Errors when dealing with a large XML file?

2011-01-11 Thread Bob McConnell
w much RAM and swap space you have available. So the other option is to switch to a 64-bit system. Bob McConnell -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

RE: 1st line of perl script

2011-01-10 Thread Bob McConnell
to decide what to do with that first line. Bob McConnell -Original Message- From: Shawn H Corey [mailto:shawnhco...@gmail.com] Sent: Monday, January 10, 2011 11:08 AM To: beginners@perl.org Subject: Re: 1st line of perl script On 11-01-10 10:57 AM, Sunita Rani Pradhan wrote: > Yes I

RE: 1st line of perl script

2011-01-10 Thread Bob McConnell
or different scripts. Bob McConnell -Original Message- From: Sunita Rani Pradhan [mailto:sunita.prad...@altair.com] Sent: Monday, January 10, 2011 10:58 AM To: Brandon McCaig; Shawn H Corey Cc: beginners@perl.org Subject: RE: 1st line of perl script Yes I agree . Then I am coming back to my

RE: Real life usage

2010-12-20 Thread Bob McConnell
equence is run, verify the final state of the data. Bob McConnell -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

RE: No Output in Terminal

2010-10-04 Thread Bob McConnell
From: Brandon McCaig > On Fri, Oct 1, 2010 at 8:26 AM, Bob McConnell wrote: >> AKA carriage return, it suggests you have DOS/Windows line endings >> instead of Unix. You can clean them up in the source files with the >> dos2unix or tr filters. The latter looks something l

RE: No Output in Terminal

2010-10-04 Thread Bob McConnell
From: Shlomi Fish > On Monday 04 October 2010 14:45:57 Bob McConnell wrote: >> From: Brandon McCaig >> >> > On Fri, Oct 1, 2010 at 8:26 AM, Bob McConnell wrote: >> >> AKA carriage return, it suggests you have DOS/Windows line endings >> >> inst

RE: No Output in Terminal

2010-10-01 Thread Bob McConnell
AKA carriage return, it suggests you have DOS/Windows line endings instead of Unix. You can clean them up in the source files with the dos2unix or tr filters. The latter looks something like this: $> tr "\r\n" "\n" < bad.pl > good.pl Bob McConnell -Original M

RE: Web UI Automation

2010-09-23 Thread Bob McConnell
es the LWP bundle help in automating all web protocols ? > > See WWW::Mechanize > http://search.cpan.org/~petdance/WWW-Mechanize-1.66/lib/WWW/Mechanize.pm > Another option is Selenium[1]. It works within a browser using a JavaScript proxy to mimic the actions of the user. The rem

RE: print string in file

2010-08-17 Thread Bob McConnell
gt; any advice please You can't have unescaped quotes in a quoted string. Try this: print MYFILE "\n"; or this: print MYFILE '' . "\n"; Bob McConnell -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

RE: Data migration

2010-07-27 Thread Bob McConnell
Thanks Shlomi. But in order for that to work, I would have to retain the > 'old' UID numbering system, rather than use the 'new' (Debian) numbering > system. If I wanted to do that, your solution would work fine. > > Maybe I've missed something. Maybe it would

RE: Remove duplicate files

2010-07-13 Thread Bob McConnell
ry entries to point to the same file (hard links). You may delete (unlink) the entry you know about, but if there are others, the file will not be removed until they are all gone. Then it will still be kept as long as any processes have it open. Bob McConnell -- To unsubscribe, e-mail: beginners-un

RE: No paths in Test-Harness-3.21.tar

2010-06-22 Thread Bob McConnell
From: Uri Guttman >>>>>> "BM" == Bob McConnell writes: > > BM> From: Uri Guttman > > >> that implicates the tar.exe in your box as the guilty party. put > >> the blame on camelbox for not handling some variation in tar > >&

RE: No paths in Test-Harness-3.21.tar

2010-06-22 Thread Bob McConnell
From: Uri Guttman >>>>>> "BM" == Bob McConnell writes: > > BM> To remove the tar binary from Config.pm: > BM> 1) Open C:\camelbox\lib\CPAN\Config.pm in an editor that understands > BM> Unix files (NOT notepad.exe; wordpad will work for thi

RE: No paths in Test-Harness-3.21.tar

2010-06-22 Thread Bob McConnell
From: Steve Bertrand > On 2010.06.21 18:22, Bob McConnell wrote: > >> After a little more digging, and trying your suggestion to try from >> Linux, I have determined that the directory information in the new tar >> files is being put into the prefix field of the heade

RE: No paths in Test-Harness-3.21.tar

2010-06-21 Thread Bob McConnell
From: Bob McConnell > From: Uri Guttman >>>>>>> "BM" == Bob McConnell writes: >> >> BM> Looking at the two tar files with a binary viewer after uncompressing >> BM> them through gzip, I see several differences, but other than th

RE: No paths in Test-Harness-3.21.tar

2010-06-21 Thread Bob McConnell
From: Uri Guttman >>>>>> "BM" == Bob McConnell writes: > > BM> Looking at the two tar files with a binary viewer after uncompressing > BM> them through gzip, I see several differences, but other than the > BM> obvious, I don't know which

RE: No paths in Test-Harness-3.21.tar

2010-06-21 Thread Bob McConnell
From: Uri Guttman >>>>>> "BM" == Bob McConnell writes: > BM> Yes, that was all one line. Lookout doesn't give me any options to > BM> prevent it from wrapping. Microsoft _always_ believe they know what's > BM> best for you. > >

RE: store and edit perl hash data

2010-06-21 Thread Bob McConnell
and run eval on it (or use do/require). it also depends on how > you write out the file itself. you may need to edit (in perl) the dumper > text to make it work in your context (package space, lexicals, etc.) > > another alternative if your hash is simplistic is to use CSV or a DBD >

RE: No paths in Test-Harness-3.21.tar

2010-06-18 Thread Bob McConnell
From: Uri Guttman >>>>>> "BM" == Bob McConnell writes: > BM> From: Uri Guttman > > >> tar zxvf Test-Harness-3.17.tar.gz > > BM> C:\camelbox\.cpan\build\tmp-Test>tar xzvf > BM> D:\Downloads\Test-Harness-3.21.tar.gz > BM&

RE: No paths in Test-Harness-3.21.tar

2010-06-18 Thread Bob McConnell
From: Uri Guttman >>>>>> "BM" == Bob McConnell writes: > > BM> From: Uri Guttman > >> i will assume the tarball from cpan is in good shape. so the issues > >> seems to be you have a broken unzipping of a tar.gz file. can you try > &g

RE: No paths in Test-Harness-3.21.tar

2010-06-18 Thread Bob McConnell
From: Uri Guttman >>>>>> "BM" == Bob McConnell writes: > > BM> Just that, there are no paths shown in the directory tree. When > BM> unpacked, I see this: > > BM> -- > BM> C:\camelbox\.cpan\build

RE: No paths in Test-Harness-3.21.tar

2010-06-18 Thread Bob McConnell
.pm ... -- There were also several name collisions, so not all of the files are there. There is no chance Make is going to work. I also have CPAN and Net::PCAP source packages which do show a directory structure and unpack into the correct directories. Bob McConn

No paths in Test-Harness-3.21.tar

2010-06-18 Thread Bob McConnell
stead of in the directories. Is this tar ball broken? Bob McConnell -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

RE: Location of Perl libraries

2010-05-27 Thread Bob McConnell
to make sure your base scripts record errors when there are network problems and they can't reach those servers. Notice I said 'when' not 'if'. It is a basic theorem that there will be times that your scripts can't get through. Bob McConnell -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

RE: Return value = 0

2010-05-26 Thread Bob McConnell
while (system($command) != 0) { } Bob McConnell -Original Message- From: Andros Zuna [mailto:andros.z...@gmail.com] Sent: Wednesday, May 26, 2010 8:57 AM To: Chaitanya Yanamadala Cc: beginners@perl.org Subject: Re: Return value = 0 Hi, Thank you for the tip Chaitanya

Unable to install Net::Pcap on Slackware

2010-05-24 Thread Bob McConnell
I am getting the following error report when I try to install Net::Pcap for Perl 5.10.0 as root on Slackware 12.2.0. Can anyone tell me what I am missing? Bob McConnell Test Summary Report --- t/03-openlive.t (Wstat: 256 Tests: 14 Failed: 1) Failed test: 13 Non

RE: Installation of WinPcap developer's pack

2010-05-24 Thread Bob McConnell
From: Bob McConnell > I am trying to install Net::Pcap for Camelbox Perl on WinXP. cpan > returns the error message below, but won't tell me what the standard > location should be for WpdPack. > > Where do I put it? I am also having problems installing Net::Pcap on Slackwa

Installation of WinPcap developer's pack

2010-05-24 Thread Bob McConnell
I am trying to install Net::Pcap for Camelbox Perl on WinXP. cpan returns the error message below, but won't tell me what the standard location should be for WpdPack. Where do I put it? Bob McConnell -8< CPAN.pm: Going to

RE: maping a network with perl

2010-05-19 Thread Bob McConnell
and you have to be pretty familiar with > that service to know how to get the info you need. I would start by playing with nmap and think about using Perl to reduce the results to a usable format. Bob McConnell -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

Determining real network delays

2010-05-19 Thread Bob McConnell
more than a 10 second difference between MIN and MAX. IF there is, how frequently does it reach the high end. Yes, we are having timeout issues with the applications talking over this connection. Any suggestions? Thank you, Bob McConnell -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org

RE: help in perl script

2010-05-18 Thread Bob McConnell
The Perl command opens a new instance of the shell, not the one you called Perl from. The new instance has no history to report. Bob McConnell -Original Message- From: Chaitanya Yanamadala [mailto:dr.virus.in...@gmail.com] Sent: Tuesday, May 18, 2010 10:20 AM To: Bob McConnell Cc

RE: help in perl script

2010-05-18 Thread Bob McConnell
of the current shell. Since you just opened it via the system call, it has no history, so it returns an empty string. That behavior is correct. Now, what are you actually looking for? Bob McConnell -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

RE: data dumper

2010-05-17 Thread Bob McConnell
eloaded >mvia "use". What is the difference between this and exporting a YAML file? Where would either be preferred over the other? Bob McConnell -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

RE: How do I control a C programme from perl?

2010-05-13 Thread Bob McConnell
o disable output buffering. Bob McConnell -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

RE: Merging YAML nodes/streams

2010-05-07 Thread Bob McConnell
next_yaml)) but this gives me a void context. > > Can anyone suggest how I could merge them? You might try the suggestion here: <http://www.perlmonks.org/?node_id=813443>. As usual, I ran across it yesterday while looking for something else. Bob McConnell -- To unsubscribe, e-mail: b

RE: Still pondering working with hashs

2010-05-04 Thread Bob McConnell
From: Philip Potter > On 4 May 2010 13:45, Bob McConnell wrote: >> From: Uri Guttman >> >>>>>>>> "HP" == Harry Putnam writes: >>> >>>   HP> "Uri Guttman" writes: >>>   >> nope. been doing this f

RE: Still pondering working with hashs

2010-05-04 Thread Bob McConnell
dea of the lay of the land and the paths available to get from here to there. It is also called experimenting with the tool set, or working through the exercises at the end of the chapter. As long as he is learning, what difference does it make what his final destination is. Do any of us know what t

RE: Creating groups of bat files from perl script

2010-04-30 Thread Bob McConnell
n windows. Always something. Do you really need to change them? Many applications on MS-Windows will parse either slash correctly. Test what you have before you spend (waste) time changing them. Bob McConnell -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands,

RE: Perl not closing TCP sockets if clients are no longer connected?

2010-04-28 Thread Bob McConnell
your end. Otherwise, the half open socket will remain until something triggers a network error that causes the write to fail. But you don't check the results of the send() either, so you may have missed that as well. Bob McConnell -Original Message- From: Leon Meyer [mailto:

RE: Problem in installing ActivePerl 5.10 on Windows 7 with x64 chipset

2010-04-14 Thread Bob McConnell
the registry at all. After it's > installed you can then 'rmdir /s /q' the "temporary location". To install on 64 bit systems, you need a 64 bit installer that knows it is installing a 32 bit application. Otherwise, by default MS-Windows will install the registry entri

RE: Looping in Test::Harness

2010-04-09 Thread Bob McConnell
From: Uri Guttman >>>>> "BM" == Bob McConnell writes: > BM> From: Philip Potter > >> On 6 April 2010 16:52, Bob McConnell wrote: > >>> I have a test harness set up with a series of Selenium test scripts. > >>> Each

RE: Looping in Test::Harness

2010-04-09 Thread Bob McConnell
From: Philip Potter > On 6 April 2010 16:52, Bob McConnell wrote: >> I have a test harness set up with a series of Selenium test scripts. >> Each script tests a specific scenario on my web site. But I have some >> scenarios that I want to test multiple times with different

RE: Using References in Modules within threads

2010-04-07 Thread Bob McConnell
I don't see why anyone would want to run Windows. It's like > trying to run a marathon while dragging a bus. It's not that we want to run MS-Windows, but the PHB's don't give us any choice. Bob McConnell -- To unsubscribe, e-mail: beginners-unsubscr...@perl.

Looping in Test::Harness

2010-04-06 Thread Bob McConnell
;$user"); $sel->type_ok("LoginPWD", "$pwd"); $sel->click_ok("LoginSubmit"); $sel->wait_for_page_to_load_ok("1"); --8<--- Is there a cleaner way to pass those variables into each test script? Ho

RE: hv_store hoh

2010-04-01 Thread Bob McConnell
From: Patrick Dupre > I do not know what to tell you. > > I tried another webmail, but I cannot sent an empty email with an empty > subjet !!! Just put the word "Subscribe" in each field. The server will ignore them. Bob McConnell -- To unsubscribe, e-mail: beginners-un

RE: Connecting to a socket

2010-03-31 Thread Bob McConnell
2821. It mostly extends the original protocol and tries to clarify some explanations. So 821 is still a proper subset. I do think it is best to read 821 first. One difference that does matter is that the CR+LF pair as line terminator is now explicitly required by both 2821 and 2822. That was not cl

RE: Where is the error

2010-03-31 Thread Bob McConnell
From: Harry Putnam > "Uri Guttman" writes: > > [...] > >> . . . . . . . . . . . . . . . . . . . . . . . . . . . . but it >> all starts in your head. a disorganized mind can't ever be a good >> coder. > > I may be in deep do do here... >

RE: Get result of a https page with SSL after login.

2010-03-30 Thread Bob McConnell
u are welcome to modify or add to it. The other option is their Google group at <http://groups.google.com/group/selenium-users>. Bob McConnell -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

RE: Subroutines With Multiple Parameters

2010-03-26 Thread Bob McConnell
n't believe in programming in an idiot-proof manner and avoiding useful > features in order to dumb down the code. It wouldn't work anyway, since each generation of idiots just gets more ingenious than the last. Bob McConnell -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org

RE: Getting garbage fast

2010-03-23 Thread Bob McConnell
"rand x 100", but that's too slow, too. :-/ > > Any ideas are greatly appreciated. Copy a text or binary file into the stream. Any file in /bin or /sbin could be used. Bob McConnell -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

Testing with Perl and Selenium RC

2010-03-12 Thread Bob McConnell
notes in a page on their wiki <http://wiki.openqa.org/display/SRC/Selenium+RC+and+Perl>, but it's not a very good explanation of how to do it. Thank you, Bob McConnell -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h.

RE: Controlling one process depending on the status of another

2010-03-05 Thread Bob McConnell
From: Jay Savage > On Wed, Mar 3, 2010 at 8:28 AM, Bob McConnell wrote: > [snip] >> >> However, if the application is this complex, is Perl really the best >> language to use? It would not be my first choice. > > That is a very strange statement to make on a Pe

RE: Controlling one process depending on the status of another

2010-03-04 Thread Bob McConnell
ce process, and requires significantly different tool kits. Also, the choice of OS will dictate some of those requirements. Unfortunately, there are not a lot of tool kits that are fully portable between MS-Windows and the rest of the world. Bob McConnell -- To unsubscribe, e-mail: beginners-unsub

RE: Controlling one process depending on the status of another

2010-03-03 Thread Bob McConnell
channel between each thread and the process it called. Then use the threads to monitor and/or control the individual processes until they terminate. Once the process is done, terminate the matching thread. When processes run on the local machine, any of the IPC options can be used for the comm channe

RE: being smart about script structure

2009-12-18 Thread Bob McConnell
me. The Perlish style (perldoc perlstyle) would be There is one other question about B. that I haven't seen mentioned in this thread. There may be other reasons why you would change that tire. Would you really want it bound that tightly with CheckFlat() when you need to add them? Bob McCo

RE: SMTP black hole script

2009-12-15 Thread Bob McConnell
From: Bob McConnell > Just to avoid re-inventing a pair of wheels, does anyone > have a script that will accept any and all SMTP connections > and messages, but dumps them into a file instead of trying > to forward them? To close the loop on this question, even though I didn&#

SMTP black hole script

2009-12-14 Thread Bob McConnell
and frustration. Thank you, Bob McConnell -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

RE: Getting USER env variable in Windows -- How to?

2009-12-09 Thread Bob McConnell
From: Tony Esposito > I need to get the current USER env var in a Windows Perl > program.  Does anyone know how this is done?  I have done > it on UNIX/Linux. I believe it is labeled USERNAME in the MS-Windows environment. Bob McConnell -- To unsubscribe, e-mail: beginners

RE: Simple XML to XLS format

2009-11-02 Thread Bob McConnell
or Windows. > > If you can, please use Strawberry Perl instead of ActivePerl. See: > > http://win32.perl.org/wiki/index.php?title=Main_Page I would suggest you also take a look at camelbox. It was the result of a Google "Summer of Code" project. I have been using it on WinXP for m

RE: Larry's filename fixer

2009-10-19 Thread Bob McConnell
it, but it should all be typed on one line. I don't know if the extra spaces are significant, but it works so I haven't changed it. perl -MTest::Harness -e "@ARGV= map glob, @ARGV if $^O =~ /^MSWin/; runtests @ARGV;" t/*.t Bob McConnell -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

RE: yet another question

2009-10-07 Thread Bob McConnell
ts it to Perl. I then add additional validations, input some variables from the environment and put it into a test directory to add to the growing suite of tests. What problems do you need to solve? Bob McConnell -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional comm

RE: decimal to binary?

2009-09-23 Thread Bob McConnell
From: Bryan R Harris >> From: Uri Guttman >> >>>>>>>> "BM" == Bob McConnell writes: >>> >>> BM> From: Bryan R Harris >>>>> >>>>> I need to convert a number like this: -3205.0569059 >>>

RE: decimal to binary?

2009-09-23 Thread Bob McConnell
From: Uri Guttman >>>>>> "BM" == Bob McConnell writes: > > BM> From: Bryan R Harris > >> > >> I need to convert a number like this: -3205.0569059 > >> ... into an 8-byte double (big and little endian), e.g. 4f 3e 52 00

RE: decimal to binary?

2009-09-23 Thread Bob McConnell
f() family is your friend. Bob McConnell -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

RE: Testing with Selenium

2009-09-23 Thread Bob McConnell
From: Steve Bertrand > Steve Bertrand wrote: > > Bob McConnell wrote: >>> >>> I have begun the task of automating functional tests for some of our web >>> servers. I have had some success using Selenium IDE in Firefox to >>> capture input sequences, e

Testing with Selenium

2009-09-22 Thread Bob McConnell
12.dev" portion of the URL into each of the test scripts. I can't see any way with Test::Harness or Test::More to do this. If I can, then I have other parameters that need to be passed in as well. Any suggestions? Bob McConnell --8<

  1   2   >