Re: what's your most favourite feature of perl?

2006-12-24 Thread Todd W
[EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Just a simple survey. As a perl fan, I'd like know what's make you are so enthusiastic with perl. As for me, I vote the smart data structure design:) the CPAN, regular expressions, and autovivification Todd W. -- To unsubscribe, e

Re: how to stop RPC::XML::Server blocking

2006-11-14 Thread Todd W
apache: http://search.cpan.org/~rjray/RPC-XML-0.59/lib/Apache/RPC/Server.pm Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: Problem with installing PAR module

2006-11-07 Thread Todd W
there was no way it would work. I was wrong. Worked flawlessly on WinXP Home and Win2k Server without a perl interpreter installled. Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first

Re: Programming WAP pages

2006-08-21 Thread Todd W
technology (http://java.sun.com/products/midp/). This is the technology used in tools like google maps mobile (http://www.google.com/gmm/index.html). For the sake of simplification, one could call MDIP Flash for cellphones. Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: [OT] Programming WAP pages

2006-08-21 Thread Todd W
an extensive developer resource found at http://developer.openwave.com/. They have free SDKs (if you choose to use them... remember, these are plain ol' web apps), and free simulators (very, very useful). snip Todd W. This kind of thinking is why there are so many problems rendering

Re: Calculation distances

2006-08-21 Thread Todd W
/Distance.pm) It supports MySQL out of the box. Great module. Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: [OT] Programming WAP pages

2006-08-21 Thread Todd W
Mathew Snyder [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Todd W wrote: Mathew Snyder [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] snip The most popular web browser found in cell phones is made by openwave. Personally, I consider the openwave browser

Re: perl script calls batch file

2006-08-05 Thread Todd W
kind of value? It's the value of a variable generated in the batch script. That still doesn't say much... rant Sure it does... the quality of the programmers at infosys http://en.wikipedia.org/wiki/Infosys http://www.infosys.com/home.asp /rant Todd W. -- To unsubscribe, e-mail: [EMAIL

Re: Module to parse CSV string

2006-07-20 Thread Todd W
',123,'Harry\'s',,'Tuesday, Thursday' ... You gave up too quick :-) Theres also Text::CSV_XS which is configurable (and faster than Text::CSV). Specifically, note the quote_char and escape_char arguments to the constructor... Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: CGI, IIS and pack

2006-07-20 Thread Todd W
)? That means it is an old perl. Old perls didn't come with the warnings pragma. You could only turn them off and on globally ($^W, I think). If this is the case, I would not be suprised by any problem description you may have. Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Newbie Perl Question

2006-07-17 Thread Todd W
WASHER 228765329;1;GASKET Enjoy, Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: Flushing output buffer under mod_perl

2006-07-16 Thread Todd W
them system and environment info... Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: How to write output in an xml file

2006-07-15 Thread Todd W
); exec( qq|$ie $tmp| ); Plese help me solving this issue, it's very urgent. LOL Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: Another (hopefully more clear) plea for help with CSV data

2006-06-23 Thread Todd W
Jun 23 12:04 machines driver.pl is the program above. The file shop/machines is your csv file. Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: faster search engine for fulltext search

2006-05-31 Thread Todd W
recordsets? You should probably be paging the data somehow. It definitely works great with 5 million+ records on just okay hardware. Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: Java/Perl

2006-05-02 Thread Todd W
Karjala [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Has anyone used the Java module successfully in Perl? State University of New York at Buffalo has: http://www.perl.com/pub/a/2004/12/09/epayment.html Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: htaccess question

2006-03-06 Thread Todd W
Bill Stephenson [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Aug 17, 2005, at 11:03 AM, zentara wrote: On Mon, 15 Aug 2005 16:29:54 -0500, [EMAIL PROTECTED] (Bill Stephenson) wrote: On Aug 12, 2005, at 2:06 AM, David Dorward wrote: snip / How do I point this at a

Re: Suggest a mod_perl book for apache2

2006-02-11 Thread Todd W
Brian [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi all. Can someone suggest a good book for learning mod_perl with apache2. After a little reading I get the impression the two implementations of mod_perl are very different. In searching amazon it seems just about every book is

Re: hash key names

2006-01-20 Thread Todd W
The Ghost [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I have keys with periods in them: my %hash; $hash{something.withaperiod}=some text; my $something='something'; my $withaperiod='withaperiod'; print qq{$hash{$something.$withaperiod}\n}; what will it print? Looking at

Re: How to take a reference in line

2006-01-18 Thread Todd W
in the last 2 statements? There's got to be a way to pass a reference without having to explicitly name a variable. Right? You bet: check_required_items(Mr. Howell, [qw(Money preserver sunscreen)] ); a generic construct looks like this: my $array_ref = [ 'foo', 'bar', 'bazz' ]; perldoc perlref Todd W

Re: recognizing static or instance call

2006-01-07 Thread Todd W
sub? thanks, Lars sub get_defaults { my $self = shift; if ( ref $self ) { # object method } else { # class method } } Enjoy, Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org

Re: getting a number out of a string....

2005-12-28 Thread Todd W
: 001 Gambia0021.tiff : 0021 Gambia031.tiff : 031 Gambia035.tiff : 035 Thanks! You bet! Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: getting a time diff from strings

2005-12-28 Thread Todd W
Robert [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I have a log that I am parsing and I can get the login and logout time string parsed out. It looks like this: 13:50:01# this is the when the user logged in 14:14:35# this is when the user logged out I need to get how

Re: Looking for good Perl projects

2005-12-19 Thread Todd W
to get coding ideas and ask questions. Monks there are always looking for testers and/or people to take over maintenance of modules. http://apprentice.perl.org/ This is the example application developed during the writing of the Mason book. Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED

Re: sort files by creation time

2005-12-12 Thread Todd W
are all done. Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: Parameterizing a module

2005-12-07 Thread Todd W
need ), so there may be some caveats that aren't immediately obvious to me. Enjoy, Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: Parameterizing a module

2005-12-07 Thread Todd W
Wiggins d'Anconia [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Todd W wrote: [snip] you could do something like this: $ cat TestMod.pm use warnings; use strict; package TestMod; use Exporter; sub import { my $class = shift; foreach my $module

Re: which is more effective between map and foreach?

2005-12-06 Thread Todd W
. For big hashes I would probably use Bob S's solution. Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: referencing functions

2005-11-19 Thread Todd W
: dispatch.pl f|g Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: Perl equivalent of JavaScript match

2005-10-11 Thread Todd W
Frank Geueke [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi. I need to grab regex matches from a string in perl. The string is an enum data type in Mysql. i.e. enum('Berks','Carbon','Lehigh','Montgomery') So basically I need a match on alphabetic chars between single quotes.

Re: Math::Currency compilation failure

2005-09-20 Thread Todd W
. Installed it succesfully by going into ~/.cpan/build/Math-Currency-0.40 and manually running perl Build.PL ./Build test ./Build install Also, you may need a newer CPAN.pm. I'm pretty sure mine handles distros packaged with Module::Build Todd W. -- To unsubscribe, e-mail: [EMAIL

Re: Problem with package

2005-09-20 Thread Todd W
: $ perl -e 'print map dir: [$_]\n, @INC;' dir: [/usr/local/lib/perl5/5.8.7/i686-linux] dir: [/usr/local/lib/perl5/5.8.7] dir: [/usr/local/lib/perl5/site_perl/5.8.7/i686-linux] dir: [/usr/local/lib/perl5/site_perl/5.8.7] dir: [/usr/local/lib/perl5/site_perl] dir: [.] Todd W. -- To unsubscribe, e

Re: changing action with appended key/value pairs in a POST

2005-08-30 Thread Todd W
::Application, it makes quick work of what you are trying to do. Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: quote problem and mysql

2005-08-04 Thread Todd W
INTO table VALUES (${ \join(', ', map('?', @data)) }); $dbh-do( $sql, undef, @data ); Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

mixin object method

2005-07-14 Thread Todd W
I've been trying to undersand what mixins are and at the same time figuring out how to make them easy to use. I just belched out this piece of code, but I dont know if its doing anything special: use warnings; use strict; package MyMixins; sub SomeMethod { my $obj = shift; print( 'a ',

Re: how to use command line parameters

2005-07-14 Thread Todd W
.= ' --loglevel=[DEBUG|INFO|WARN|ERROR|FATAL]' . \n\n; die( $usage ); } Enjoy, Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: How to plug memory leak?

2005-07-13 Thread Todd W
### $thread-join; Didnt you say: When you make a thread, you pass it a subroutine to run. The thread WILL NOT join unless the thread goes to the end of that subroutine. Agian, beautifuly simple code. Thanks, Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: Errors on processing 2GB XML file by using XML:Simple

2005-05-13 Thread Todd W
solution. Ive handled 10's of gigabytes of XML with this method; splitting files, archiving files, sticking records in a RDBMS, etc. Works great, and most importantly, fast. Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http

Re: Are there any Cons of Scalar Referencing??

2005-05-13 Thread Todd W
. Let's say that it is some interconnection cost: my %cost; [...] $cost{$x\t$y} += 0.63; See how more readable that is? Or even simpler still, a multidemensional hash: $cost{$x}{$y} += 0.63; Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: examples using Template::Plugin::Page

2005-04-28 Thread Todd W
Ramprasad A Padmanabhan [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi all, snip / Can anybody send me some examples on pagination with Templates I have also had great sucess with DBIx::Pager. There arent any examples, but the source is short and very easy to read. Todd W

Re: First time Parsing XML

2005-04-02 Thread Todd W
Gavin Henry [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Saturday 02 Apr 2005 04:29, Johnstone, Colin wrote: Gidday All, I would like to use xml Parser to parse this chunk of xml (below) and return the business unit name and id attributes for each of the elements where

Re: simple server app

2005-03-29 Thread Todd W
in server called RPC::XML::Server. Theres also a RPC-XML server that comes with SOAP-Lite. The difference between the two is the way you define your network enabled functions. If you need a book, try _Programming Web Services with Perl_ excellently written and easy to read. Todd W

Re: image manipulation (scaling)

2005-03-23 Thread Todd W
Ingo Weiss [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi all, I need have my CGI scale images on the server, and I was wondering whether there is a standard perl module that can do that (and possibly other image manipulation tasks). I am looking for one that: - is easy to

Re: Multiple variable initialization

2005-03-11 Thread Todd W
Peter Rabbitson [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Fri, Mar 11, 2005 at 12:45:10PM -0800, Wagner, David --- Senior Programmer Analyst --- WGO wrote: Peter Rabbitson wrote: Is there a quick way to initialize a number of variables at once? Something like my

Re: Multiple variable initialization

2005-03-11 Thread Todd W
Todd W [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Peter Rabbitson [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Fri, Mar 11, 2005 at 12:45:10PM -0800, Wagner, David --- Senior Programmer Analyst --- WGO wrote: Peter Rabbitson wrote: Is there a quick way

Re: Design Plugin System

2005-03-10 Thread Todd W
know how to do =) What you describe is called a Class Factory and you may be able to use a module or two from CPAN, the one that immediately comes to mind is the aptly named Class::Factory. http://search.cpan.org/~cwinters/Class-Factory-1.03/lib/Class/Factory.pm Todd W. -- To unsubscribe, e

Re: filehandle into a hash?

2005-03-10 Thread Todd W
, Message = join('', MESSAGE), ); Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: SOAP::Lite help?

2005-03-01 Thread Todd W
Jason Balicki [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Todd W mailto:[EMAIL PROTECTED] wrote: Its a lot easier than that. If the WSDL file is good. SOAP::Lite comes with a program called stubmaker.pl that takes a wsdl file as an argument and creates a module that you can

Re: SOAP::Lite help?

2005-03-01 Thread Todd W
Todd W mailto:[EMAIL PROTECTED] wrote: Its a lot easier than that. If the WSDL file is good. SOAP::Lite comes with a program called stubmaker.pl that takes a wsdl file as an argument and creates a module that you can use(). Then all you do is call functions the module makes available

Re: SOAP::Lite help?

2005-02-28 Thread Todd W
your source that you are calling network enabled functions. It also comes with programs called SOAPsh.pl and XMLRPCsh.pl You give them a wsdl file or an endpoint and you can make calls to the soap server from the command line. Wow this stuff is cool. Todd W. -- To unsubscribe, e-mail: [EMAIL

Re: Perl and Semantic web

2005-02-28 Thread Todd W
are going to do this, you are going to have get past concept and roll up your sleeves and dig in to some code. I used _Programming Web Services with Perl_ Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http

Re: lwp-download

2005-02-25 Thread Todd W
( 'INSERT INTO table VALUES (?, ?, ...)' ) foreach my $line ( split(/\n/, get( $url )) ) { # split record in to fields... see Text::CSV $sth-execute( @splitted_stuff ); } Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http

Re: WWW::Mechanize java navigation

2005-02-24 Thread Todd W
property. So I looked through the javascript to see what url I need the action set to for me, and I used the WWW::Mechanize API to set the action with perl code before -submit()ting the form. Either that or write some glue to get WWW::Mechanize to support javascript ;0). Todd W. -- To unsubscribe

Re: [Maybe OT] . . .the Contracting Business

2005-02-23 Thread Todd W
Ron Wingfield [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] snip / Always contract for 1099 payment -- Never, never W2! Can I ask why? I landed some telecommuting work I've been doing for about a month now and the proprietor wants to move me to a W2... Thanks, Todd -- To

Re: Read Serial Port String

2005-02-11 Thread Todd W
); return if (Win32::GetTickCount() $timeout); } } Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: no rows selected

2005-01-28 Thread Todd W
in the conditional before processing any more. Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: Geo::PostalCode

2005-01-22 Thread Todd W
the standard install method. Whenever I have trouble installing a module from CPAN, I do a: cpan look Some::Module and CPAN.pm will open a shell for me in that distro. So I can tweak the install. Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: More elegant solution for a date conversion

2005-01-22 Thread Todd W
Scott R. Godin [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Todd W wrote: Jason Balicki [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, I've got a phone record that keeps the date and time in the following format: YYMMDDHHMM example

Re: More elegant solution for a date conversion

2005-01-21 Thread Todd W
Install and read the docs for Time::Piece. Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: xml and perl help

2005-01-14 Thread Todd W
Strikes Back Info: http://... Genre: Science Fiction Runtime: 128 Name: Star Wars: Episode VI - Return of the Jedi Info: http://... Genre: Science Fiction Runtime: 134 Have fun, Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Using LWP to Browse a Perl Page

2005-01-12 Thread Todd W
No forms on current page. http://www.nyc.gov/html/doh/html/rii/index.html But you will probably have better luck using WWW::Mechanize. Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: xml

2005-01-04 Thread Todd W
) { print $xp-findvalue( './title', $node ), \n; } [EMAIL PROTECTED] misc]$ perl parserss.pl 1 ZAR = AED (0.649063) 1 ZAR = ARS (0.523159) 1 ZAR = AUD (0.226934) 1 ZAR = BHD (0.066453) ... How cool is that? Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: A very simple example program Comparing Perl, Python and Java

2004-12-24 Thread Todd W
of the for: print map \t$_\n, @ARGV; print map $_\n, grep length() = 3, @ARGV; Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: What exactly does $| = 1; do?

2004-12-16 Thread Todd W
... The first line is all printed out at once. The second line prints '1...' then waits a second then prints '2...' and so on. Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: $ID = $newcook{'usrID'}-value;

2004-12-03 Thread Todd W
created. Anyway, my question is: how do I test to see if a coockie exists b 4 i try to read it ??? If ( UNIVERSAL::can( $newcook{'usrID'} = 'value' ) ) { # ... } Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http

cookie based asp sessions, cookie checks, and redirects

2004-11-28 Thread Todd W
); #print(cookie headers:\n, $cj-as_string, \n); print(response headers:\n, $res-{_headers}-as_string, \n); TIA for all responses, Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first

Re: Subroutine call

2004-11-24 Thread Todd W
[EMAIL PROTECTED] temp]$ perl method.pl Enter Qualifier: (q,r,e): x error: x cannot be qualified [EMAIL PROTECTED] temp]$ perl method.pl Enter Qualifier: (q,r,e): e zzze args: data1, data2 please read perldoc perlreftut and perldoc perltoot Enjoy! Todd W. http://waveright.homeip.net

Re: Overridden methods

2004-11-24 Thread Todd W
this will avoid a few bugs you were potentially about to write. Todd W. On Wed, 2004-11-24 at 17:35, Michael Kraus wrote: G'day... If a sublass has overrides a method in a superclass, and the subclasses method calls the superclass's method, is there any mechanism to detect that the superclass

Re: Problem installing the perl Template module

2004-10-27 Thread Todd W
by default to en_US.UTF-8. I dont know much about locale settings, but somehow this results is tests obsurely failing. Try setting your LANG variable to en_US: $ export LANG=en_US and try again. Another suggestion is to upgrade to Fedora. Let us know what happens. Todd W. -- To unsubscribe, e

Re: reflection in perl

2004-10-09 Thread Todd W
ClassB-bar 6: ClassB=HASH(0x1a8941c) cant baz Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: CGI - DBI

2003-12-02 Thread Todd W.
and even worse, starting to create forms etc for data edit and data entry would make my hair even more grey than it is now.. I use MySQLMan, a free web based mysql client: http://www.gossamer-threads.com/scripts/mysqlman/index.htm works great. Todd W. -- To unsubscribe, e-mail: [EMAIL

Re: Storing Form Data without submitting it.

2003-11-26 Thread Todd W.
), then RPC or SOAP is the way to go. Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: perl is slick

2003-11-26 Thread Todd W.
Rob Dixon [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Todd W. wrote: Rob Dixon [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Todd wrote: Perl is so slick: if ( $self-{code} ) { $string = $self-{code}; } else { $self

Re: Yahoo! Getter

2003-11-25 Thread Todd W.
Jason Dusek [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Monday, November 24, 2003, at 10:56 PM, Andrew Gaffney wrote: There is atleast 1 Perl program for downloading Yahoo mail out there. Okay, but let's say I want to learn how to do it anyway. It seems like a good practice

perl is slick

2003-11-24 Thread Todd W.
in a Template::Toolkit template. Vive OO. Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: perl is slick

2003-11-24 Thread Todd W.
R. Joseph Newton [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Todd W. wrote: Perl is so slick: if ( $self-{code} ) { $string = $self-{code}; } else { $self-{class}{file}{generator}{tt2}-process( $self-{class}{file}{generator}{fmgr}{templates

Re: perl is slick

2003-11-24 Thread Todd W.
::Toolkit. $string is returned, being called for in the first place by another method call placed in a Template::Toolkit template. Vive OO. Todd W. Maybe. But I would take at least a couple of minutes to understand what you've written. I wote that code years ago. I did explain it above

Re: REMOTE_USER

2003-11-20 Thread Todd W.
this is not how _I_ would do it, but it is a perfectly viable method. Todd W. Bob Showalter [EMAIL PROTECTED] 12/11/2003 11:52 PM To: Colin Johnstone/Australia/Contr/[EMAIL PROTECTED], [EMAIL PROTECTED] cc: Subject:RE: REMOTE_USER Colin Johnstone

Re: When MUST you use 'map' ?

2003-11-18 Thread Todd W.
); @array = @array[ map abs(), -$#array .. 0 ]; print( join(\n, @array), \n ); Ctrl-D 5 4 3 2 1 see http://groups.google.com/groups?threadm=20030827112457.74911.qmail%40onion.perl.org Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [ADMIN] Re: File upload script

2003-11-18 Thread Todd W.
Casey West [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] snip / Casey West -- f u cn rd ths, u cn gt a gd jb n cmptr prgmmng. Where? =0) Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: how do I create self aware functions

2003-11-18 Thread Todd W.
level stuff, check out Carp::Clan from CPAN. It does stack traces. Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: HTML headers with CGI.pm

2003-09-24 Thread Todd W.
'='/styles/style1.css'}, -BGCOLOR='blue'); After running this your next question will be how to create a http-equiv meta tag. Again, read the docs. Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Editing __DATA__

2003-09-24 Thread Todd W.
hashes. If simultaneous invocations are possible, check the docs about locking tied dbm files. Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Help wanted regading approch for displaying live scores

2003-09-23 Thread Todd W.
that uses an RPC client in the browser: http://waveright.homeip.net/products/FavoritesAnywhere.html Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

online favorites project

2003-09-22 Thread Todd W.
/index.php?c=5 Thanks eveyone, Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

online favorites project

2003-09-22 Thread Todd W.
/index.php?c=5 Thanks eveyone, Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Problems with CPAN

2003-09-17 Thread Todd W.
CPAN configuration is blown? after invoking the cpan shell, run: cpan o conf init to reinitialialize you cpan configuration. This is the same series of steps you went through to initialize CPAN.pm. You will be given a list of mirrors and so fourth. Todd W. -- To unsubscribe, e-mail: [EMAIL

Re: perl @ mysql

2003-09-17 Thread Todd W.
handling mechanisms found on the CPAN. It should probably be filtered out and made into its own distro. Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Still Not sure if I agree with myself.

2003-09-14 Thread Todd W.
Drieux [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Friday, Sep 12, 2003, at 18:54 US/Pacific, Todd W. wrote: [..] I dont think you can call that a closure yet. You would have to be defining subroutines that refer to lexical variables outside of the subroutine

Re: Still Not sure if I agree with myself.

2003-09-12 Thread Todd W.
/~trwww/api.gif But sometimes its funner to pretend everything is a jigsaw puzzle. Making CGI::Application, CGI::Session, Class::DBI, and Template::Toolkit work together transparently has been interesting. Perhaps one day it will be done =0). Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED

Re: Env. var LC_ALL

2003-09-12 Thread Todd W.
this (the line number may vary): Makefile:91: *** missing separator then set the environment variable LC_ALL to C and retry. Anyone knows where or how to set envionment variable LC_ALL to C? use: $ export LC_ALL=C Then make will run. Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED

Re: Env. var LC_ALL

2003-09-12 Thread Todd W.
the environment. Notice the quote: setenv LC_ALL=C (or similar based on OS/version/whatever) from your first reply. $ export LC_ALL=C Please go get a book on Linux basics from the library. HTH, Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: form submission DoS

2003-09-10 Thread Todd W.
( Apache ) server, or you have a friendly sysadmin, you can use Apache::SpeedLimit. It blocks calls from a client if they start getting greedy with your services. Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: linux - install bundle::cpan

2003-09-07 Thread Todd W.
first, it gets loaded. Then some type of check is done ( maybe a version check ) against the version just installed. Your biggest indicator is the tests. If they pass, everything is fine. Anything else is usually an edge case CPAN.pm isnt prepared for. Todd W. -- To unsubscribe, e-mail: [EMAIL

Re: passing an argument to a subroutine

2003-09-05 Thread Todd W.
= @_; $forwarded gets the number of elements in @_ print $forwarded; # print ${$forwarded}; } In both cases, the script prints out 1. What is going on here? What do you expect to happen? What _is_ happening is exactly what is supposed to. Todd W. -- To unsubscribe, e-mail

Re: passing an argument to a subroutine

2003-09-05 Thread Todd W.
= @_; $forwarded gets the number of elements in @_ print $forwarded; # print ${$forwarded}; } In both cases, the script prints out 1. What is going on here? What do you expect to happen? What _is_ happening is exactly what is supposed to. Todd W. -- To unsubscribe, e-mail

Re: reverse range (10..1)

2003-08-27 Thread Todd W.
-- ) { ( $array[$a], $array[$z] ) = ( $array[$z], $array[$a] ); # @array[ $a, $z ] = @array[ $z, $a ]; # works too } print( join(\n, @array), \n ); Ctrl-D 5 4 3 2 1 perl is s cool. Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Parlsax parsing problem

2003-08-22 Thread Todd W.
forward the node down stream. Perhaps you could post that handler? I am very curious. Could you post an example program? You could generate 70k of sample cdata by using the 'x' operator: $doc = 'doc![CDATA[' . 'abcdefhijklm' x 50_000 . ']]/doc'; Todd W. -- To unsubscribe, e-mail: [EMAIL

Re: Look Ahead

2003-08-14 Thread Todd W.
: [EMAIL PROTECTED] trwww]$ perl $s = http::/foo/bar:http::/foo1/bar1:http/foo1/bar1; @x = $s =~ /(http:?:?[^:]+)/g; print( map { $_\n } @x ); Ctrl-D http::/foo/bar http::/foo1/bar1 http/foo1/bar1 Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: cookies with CGI and IE7

2003-08-04 Thread Todd W.
Todd W. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

  1   2   >