Forum

Posts

RECENTLY INDEXED PROGRAMMING SOLUTIONS OF Perl


Parsing a text file into an array  

I am new to perl, and have not found any good examples of parsing to help me out. I have a text file that I am reading into an array that has to be parsed out and put into another ... Continue Reading
Views : 326
Monday 26th of November 2012

Writing to Windows EventLog  

I am attempting to write to the Windows EventLog. I have a sample script which does write to the log, but the error in the log says; "The description for Event ID ( 1 ) in Source ( TFSM ) ... Continue Reading
Views : 55
Monday 26th of November 2012

system() produces error.  

I am having problems with making system calls on Windows under Cygwin that involve the use of redirection operators and pipes. For example, the line below will cat two files, but the next command will not append the first file ... Continue Reading
Views : 56
Monday 26th of November 2012

URI::URL  

Hi, I get the following error: Can't locate object method "host" via package "URI::_generic" This error occurs randomly. What't the reason for that? Fritz... Continue Reading
Views : 20
Monday 26th of November 2012

PHP in PErl  

I am calling a perl script that writes a WEB page - Plain and simple except that the perl script also writes out some PHP processing. All works fine when I just create an html file of the program but ... Continue Reading
Views : 66
Monday 26th of November 2012

RE: Merge HTML form with external data  

The Template Toolkit can handle that out of the box. www.template-toolkit.org Then you'll have to find another development project - Mark. $PHXGREAT -----Original Message----- $PHXGREAT From: clpm-bounces-thomas_m=bls.gov@lists.eyrie.org $PHXGREAT... Continue Reading
Views : 48
Monday 26th of November 2012

take the price info from a line  

I use wget to download a web page. Now I need to extract the price info from the following line. Prev Close:$PHXLESS/td$PHXGREAT$PHXLESStd class="yfnc_tabledata1"$PHXGREAT4.83$PHXLESS/td$PHXGREAT$PHXLESS/tr$PHXGREAT$PHXLESStr$PHXGREAT$PHXLESStd class="yfnc_tablehead1"... Continue Reading
Views : 50
Monday 26th of November 2012

Curses chgat  

Does anyone have a working example of using the `chgat' function from Curses.pm? I've tried something similar to the following: ,---- | use Curses; | initscr(); | $win = new Curses; | ... | $win-$PHXGREATmove($y,$x); | $win-$PHXGREATchgat(20,A_BOLD,0); | $win-$PHXGREATrefresh; `---- ... Continue Reading
Views : 68
Monday 26th of November 2012

Is this possible  

I am a newbie perl programmer and I have an idea for a perl program, but I want to know if it is possible before I attempt to write it. Here is what I need: I have a client, talking ... Continue Reading
Views : 42
Monday 26th of November 2012

[comp.lang.perl.moderated] Welcome - read this first!  

Archive-Name: perl-faq/moderated/welcome Comp-lang-perl-moderated-archive-name: welcome Posting-Frequency: weekly Version: $Id: FAQ,v 1.51 2004/08/10 16:05:00 gbacon Exp $ URL: http://www.plover.com/clpm/FAQ Maintainer: Greg Bacon $PHXLESSgbacon@hiwaay.net$PHXGREAT Copyright-Notice: see Section 14... Continue Reading
Views : 180
Monday 26th of November 2012

POE HTTP Proxy  

Hello, I am working on creating a proxy server based off the example given on the poe.perl.org website for a HTTP Proxy. I have tried to change it to use streaming, however, I am finding that often the responses are ... Continue Reading
Views : 68
Monday 26th of November 2012

POE HTTP Proxy  

Hello, I am working on creating a proxy server based off the example given on the poe.perl.org website for a HTTP Proxy. I have tried to change it to use streaming, however, I am finding that often the responses are ... Continue Reading
Views : 57
Monday 26th of November 2012

Another newbie question re: STDERR and IPC::open3(), nowait() and zombies  

I've tried the FAQs and read the postings, but can't seem to find the magic combo. Any help out there would be greatly appreciated. I can't seem to get rid of the zombies. I'm attempting to use perldoc in a ... Continue Reading
Views : 83
Monday 26th of November 2012

perl program working with XML to do stats  

I'm a previous student of Tad's Perl class so I'll get to it.. I'm writing a Perl program that takes an XML page and adds some statistics to the page. The statistics are word, sentence, and paragraph counts of the ... Continue Reading
Views : 117
Monday 26th of November 2012

Encryption from text to text...  

I am looking for an encryption algorithm that converts plain texts into another form, one character to another...What are the nice and simple algorithms out there? Thanks.... Continue Reading
Views : 87
Monday 26th of November 2012

cgi-lib  

newbie to perl; am an experienced java programmer shouldn't every perl web installation support: require "cgi-lib.pl"; On Earthlink hosting unix servers, this particular line doesn't work. They claim to support perl and perl5. I tracked the problem down to that ... Continue Reading
Views : 81
Monday 26th of November 2012

Logical operators  

$PHXGREAT$PHXGREATFrom a file, I read a list of files or directories. I must check if in my current subtree , it exists. The individual match ( if it is a file or it is a directory) is successfull but it ... Continue Reading
Views : 64
Monday 26th of November 2012

Re: Perl Tk Missle Defense Fun  

On Wed, 01 Dec 2004 12:50:23 -0500, zentara $PHXLESSzentara@highstream.net$PHXGREAT wrote: An newer Mach1 version, with "fully automated radar fire control" is now available. :-) http://perlmonks.org/index.pl?node_id=411938 -- I'm not really a human, but I play one on earth. ... Continue Reading
Views : 47
Monday 26th of November 2012

Re: Get Tk::Canvas pixels  

----- Original Message ----- From: $PHXLESSisofroni@cc.uoi.gr$PHXGREAT To: $PHXLESSptk@lists.Stanford.EDU$PHXGREAT Sent: Saturday, December 04, 2004 2:25 PM Subject: Re: Get Tk::Canvas pixels $PHXGREAT ----- Original Message ----- $PHXGREAT From: "John"... Continue Reading
Views : 16
Monday 26th of November 2012

Listbox  

Is it possible to type in the first character of a Listbox list that will select the first word in the list starting with the character? How? Thanks, Jerry... Continue Reading
Views : 58
Monday 26th of November 2012

dialogBox without widget reference  

Is it possible to call a dialog box without a widget reference? I want to have a standard input box function that I can call from any function without that function having to have a widget passed in and without ... Continue Reading
Views : 249
Monday 26th of November 2012

Windows amenities  

I've found an example online that shows how to handle Systray behaviour in Windows, so that's not too much of a problem. What I -do- need to know is how to make a Tk app disappear from the Alt-Tab task ... Continue Reading
Views : 95
Monday 26th of November 2012

numeric keypad 4 & 6  

Hello, I am wondering if anyone else has experienced this: When trying to enter numbers (in a text entry widget) using the numeric keypad, numbers 4 & 6 act like left and right arrows respectively. All the other numbers seem ... Continue Reading
Views : 43
Monday 26th of November 2012

listen for virtual events  

Hi everyone, I have searched through MTK and the pod docs and experimented myself but I'm still stumped. The code below shows that if I bind a widget to a virtual event it only responds to the event if it ... Continue Reading
Views : 97
Monday 26th of November 2012

exit value not passed back  

Dear All, I have a strange problem I am calling a perl script from another perl script using the system command. The called perl script can exit with different values which I want to capture in the calling script. This ... Continue Reading
Views : 61
Monday 26th of November 2012

disable entry unless a checkButton is checked  

I have some code like below to allow a user to select a state and then enter a school name. However, if the state name is not checked, the user should not be able to type anything into the entry ... Continue Reading
Views : 49
Monday 26th of November 2012

Re: Perl Prog as Root  

Tom, You can also use xauth. Be careful with xhost as you can open you machine up to outsiders if you don't know what you are doing. I had a similar problem many moons ago when I was trying to ... Continue Reading
Views : 45
Monday 26th of November 2012

Re: Anyone try running Insight/gdbtk thru tcl2perl   

$PHXGREAT Jeff Hobbs has mentioned this on the clp.tk newsgroup recently, $PHXGREAT and mentioned Tcl::Tk was "80% compatible", which caused me to $PHXGREAT ask if he could enumerate the 20% thats currently missing. $PHXGREAT Perhaps you can provide that info ... Continue Reading
Views : 118
Monday 26th of November 2012

Win32-Printer module  

Hi Folks, I've tried to install the Win32-printer Module via ppm in ActivePerl5.8.4.810. the PPM says to me "Sucessfully installed Win32-Printer version 0.7 ", but nothing will be downloaded. Can anyone helps me ? Thanks Pit... Continue Reading
Views : 131
Monday 26th of November 2012

ProgressBar woes  

I'm having some weird behavior w/ ProgressBar that I hope someone can shed light on. (WinXP, AS 5.8.3, Perl/TK 804.027 + patches) My (rather large/complex) application is building many dialogs and widgets at startup, and withdrawing them for later activation. ... Continue Reading
Views : 62
Monday 26th of November 2012