Re: UNIX question: "newest" file in a directory?

2006-11-29 Thread Bruce McKenzie
end not to have children? > - Robert J. Kolker in sci.math, "Re: Genetics and Math-Ability" >___ >ActivePerl mailing list >ActivePerl@listserv.ActiveState.com >To unsubscribe: http://listserv.ActiveState.com/mailman

installing html::tidy

2006-07-11 Thread bruce
tidy) lib for the build process and it dies given that this is a "windows" list, does anyone have knowledge/expertise/comments on what might be happeneing here. this is on a linux/FC platform. thanks -bruce ___ ActivePerl mailin

perl guru.. mechanize/libwww expertise...

2006-07-07 Thread bruce
f what the livehttpheaders app is telling me.. if you have the expertise, and a few minutes to help, i'd appreciate it... if you're in the bay area, lunch is on me... thanks -bruce ___ ActivePerl mailing list ActivePerl@listserv.ActiveState.com

RE: fetching a POST webpage...

2006-07-07 Thread bruce
collected, and some associated functions.. if i could figure out how to get this piece to work. i'd probably be ok... -bruce -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Mark Gardner Sent: Friday, July 07, 2006 9:53 AM To: activeperl@listserv.ac

RE: fetching a POST webpage...

2006-07-07 Thread bruce
action... i was trying to simulate/recreate the process by simply using the content/query information that i have... i can't see how to accomplish this via the mechanize function/methods... -bruce -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf O

fetching a POST webpage...

2006-07-06 Thread bruce
t to the page... if you've done this kind of thing, and you have some thoughts, let me know. i can send you the output of the livehttpheaders app, and the test code that i have... the site i'm looking at is https://axess.stanford.edu and the subse

perl/xpath question...

2006-07-06 Thread bruce
quot; section... sample data. Summer B Course Course Course number and suffix, if applicable. C = combined lecture and lab course L = laboratory course AST 1002 AST 1022L AST 1022L AST 1022L Summer C Course . . . thanks... -bruc

Dirty HTML

2006-06-30 Thread bruce
hi... when it comes to reading/parsing HTML, what's the best mod you've used to effectively clean up the HTML before parsing/manipulating it i'm playing with libxml. is there anything better? -bruce ___ ActivePerl mailing

XPath question....

2006-06-30 Thread bruce
ml.pm i'm also including the dat file that i'm using.. if someone can point me to a solution to this, i'd appreciate it... thanks.. if i can't really use XPath to parse a page, f*d -bruce === sample perl code..

RE: running perl on linux..

2006-06-30 Thread bruce
h #, not just bang! #!/usr/bin/perl -w use strict; - - Martin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of bruce Sent: Friday, June 30, 2006 2:29 PM To: activeperl@listserv.activestate.com Subject: running perl on linux.. hi... i know this list i

running perl on linux..

2006-06-30 Thread bruce
. i get errors saying the 'use' cmd isn't found... among others.. any ideas/pointers on what i'm missing.. thanks -bruce <>___ ActivePerl mailing list ActivePerl@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

RE: xpath question

2006-06-30 Thread bruce
by the app... thanks... -bruce -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Brian Raven Sent: Friday, June 30, 2006 2:37 AM To: activeperl@listserv.activestate.com Subject: RE: xpath question bruce <> wrote: > hi... > > in getting inf

xpath question

2006-06-29 Thread bruce
what the Xpath statement would be to generate that given itm/element of the Tree... i've seen a few tools but none that have exactly what i'm looking for... has anyone knowledge of any kind of tool/plugin like this? i'd also like to hear your comments pro/con of the tool if you've

RE: perl guru...

2006-06-29 Thread bruce
/research/shashi-group/Project/cfg-index.htm in reality, i'm going to need someone who's got serious regex/xpath/xml skills to really make this fly... but if i can get it to where i think it can really work, it will be quite useful. -bruce -Original Message- From: Wayne Simm

perl guru...

2006-06-29 Thread bruce
amiliar with the XPath function, who understands what i'm trying to do would be helpful!!! helpful thoughts/comments/pointers/examples would be greatly appreciated... thanks -bruce --- sample html:   Fall 06 : Back to All subjects : ACCT courses

RE: C - Perl integration...

2006-06-27 Thread bruce
hi john... thanks for the reply... should have made it a little more clear.. the html parsing would be handled via the DOM/xpath/xml perl kinds of functions.. it's the results of these parsing actions that i'm looking at being able to return... -bruce -Original Message- Fr

C - Perl integration...

2006-06-27 Thread bruce
pp to a C app... ie if foo has something like abc = system `perl cat.pl "att1, att2"` how would i return an array/list of items from cat.pl into foo... thanks -bruce ___ ActivePerl mailing list ActivePerl@listserv.Active

screen scraping questions... (Perl/XPATH/Mechanize/Etc..)

2006-04-11 Thread bruce
site. using the perl/mechanize/regex approach is slower to develop, but works. can someone tell me if the XPATH approach works, and can you point me to fully developed sample scripts that will illustrate how this works? any other approaches that i should look into? thanks -bruce [

RE: Top posting

2005-10-04 Thread bruce
fo my $0.02 worth.. whoever starts the post should be able to determine the posting... you could have: top bottom sideways diagonal small letters all caps... in san fran, i think sideways/bottom posting works well keep laughing!!! -Original Message- From: [EMAIL PROTECTED]

NET::SMTP attachments

2005-06-24 Thread Bruce D. Meyer
he script as cron runs it twice a day for me: (Under Linux, but that shouldn't matter)   Bruce D. Meyer, CCNA, MCSENetwork AnalystCity of Columbia, SC #!/usr/local/bin/perl# This script allows modifying various fields# Define Variables#$DIR="/home/pgp/";$mnuChoice="";$

RE: How to enter a password without typing it?

2005-03-07 Thread bruce
oscar... give us a little more in understanding your app/goal. if you're trying to write an app that hits a given site, and you know the structure of the site, it's easy to write a 'screen-scriping' app that hits the site, enters the user/passwd, and then returns with the resulting web page/inform

RE: What is the easiest way to get the last line of a file.

2004-09-30 Thread bruce
e you should check yourself next time...! regards -Original Message- From: Mark Mielke [mailto:[EMAIL PROTECTED] Sent: Thursday, September 30, 2004 7:38 AM To: bruce Cc: 'Dave Blakemore'; [EMAIL PROTECTED] Subject: Re: What is the easiest way to get the last line of a file.

RE: What is the easiest way to get the last line of a file.

2004-09-30 Thread bruce
dave... chek the perl file i/o functions.. i'm fairly certain there are functions that allow you to open a file starting at either the start/end of a file.. assuming that you can read a file starting at the end, you then simply read the 1st line... regards -Original Message- From: [EMA

running perl from command line...

2004-09-24 Thread bruce
ocation of the perl exe/bin on the 1st line of the code. is there something else that has to be done as well?? thanks -bruce ___ ActivePerl mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

modifying @INC

2004-07-24 Thread bruce
e?? thanks for any pointers/etc... searching google didn't really provide a good answer... thanks -bruce ___ ActivePerl mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

how to remove old versions of perl

2004-07-23 Thread bruce
ll me where all this "stuff/information" is maintained within the perl environment, and how it can be modified? searching through perl.org/google hasn't really shed any light on this.. thanks -bruce ___ ActivePerl mailing list [EM

RE: log4perl

2004-07-07 Thread bruce
.. or do they get lost!! thanks -bruce -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Bradley K. Embree Sent: Wednesday, July 07, 2004 7:11 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: log4perl bruce wrote: > i'm looking into using

log4perl

2004-07-07 Thread bruce
i'm looking into using log4perl, has anybody ever used/implemented the package...??? any thoughts/comments/opinions/experieinces/etc... thanks... -bruce <>___ ActivePerl mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.Acti

regex issue/question...

2004-07-01 Thread bruce
understand regex.. it appears that all the information is rather based on a column structure... something like this... $line =~ /(skip 3 chars)(get 5 chars)(skip 3 chars)./ any ideas... -bruce ___ ActivePerl mailing list [EMAIL PROTECTED] To unsubsc

RE: LWP Simple --> mirror URL Redirection...

2004-07-01 Thread bruce
hi don't really use the lwp::simple function... but i imagine the redirect portion/issue should be accomplished behind the scenes if everything is setup properly. if it isn't you may have to capture the header/location/return codes to see what the server is sending, and wht should be sent back

accessing a site with a password/frames...

2004-04-15 Thread bruce
quest, and then log off... and, is there a way to use the LWP functions that will allow me to get the content that's inside a given frame??? i'm assuming there is, but i haven't been able to find any reasonable/clear examples as to how to get this to work...

Re: IIS Giving 404 Not Found for all .pl scripts

2004-02-21 Thread Bruce Reed
cgi scripts have to be in a directory labeled for cgi script execution in the web server. Generally, this will be in a different location than html files. At 2/21/2004 04:13 PM, you wrote: I have ActivePerl 5.8 isntalled on a Win2K3 server. Scripts run fine from the command prompt, but when I

Re: Archive::Zip

2004-02-06 Thread Bruce Reed
Somebody offered a "quick example". Why are we picking on Clay about Windows vs Unix and portability? It's just an example. About Zip. Who cares what directory is used in the example? At 2/6/2004 03:17 PM, $Bill Luebkert wrote: Ned Cunningham wrote: > The 'mydir/.' Piece of that code would b

Re: HTTP::Daemon

2004-01-21 Thread Bruce Reed
I think you need HTTP headers. At a minimum, you need this: Content-type: text/html Note the blank line after Content-type. Here's out $html should look: $html="Content-type: text/html Bremsenserver test "; Note that spreading this string on multiple lines was intentional. It's more readable

TK and threads (with join) problem

2004-01-09 Thread Hale, Bruce E
uch larger program causes this). For example, the code snippit below returns an error on completion (this error does not occur if I remove either the "$mw = new MainWindow" line or the "$ReturnData = $thr[$i++]->join;" line). Thanks for your help, Bruce ===> T

RE: Tk novice questions

2001-11-16 Thread Files, Bruce
ng 'Advanced' and 'Cookbook') through O'Reilly's 'Safari Tech Books Online' .    Bruce Files mpct Solutions - Chicago (312) 540-7325 -Original Message-From: T. William Schmidt [mailto:[EMAIL PROTECTED]]Sent: Friday, November 16, 2001 4:44 PMT

RE: regedit, was RE: Installation Moved

2001-10-02 Thread Files, Bruce
Try lavasoftusa.com instead. bf -Original Message- From: David Rego [mailto:[EMAIL PROTECTED]] Sent: Monday, October 01, 2001 3:49 PM To: [EMAIL PROTECTED] Cc: Chris Devers; [EMAIL PROTECTED] Subject: RE: regedit, was RE: Installation Moved Got a 403 when I tried to access the site. On