Re: [MacPerl] Cross-platform issue: directory separator

2001-07-11 Thread Scott R. Godin
will use "\\", and if it is a > Unix, I will use "/". use vars qw/$DS/; if ($^O eq 'MacOS') { $DS = ':'; } else { $DS = '/'; } is a simple way to do it for mac/unix, and there are other tests you can do for windows as well. perldo

Re: [MacPerl] HTML-Parser-3.25 for MacPerl

2001-07-18 Thread Scott R. Godin
on 06/18/2001 12:09 PM, KIMURA Takeshi at [EMAIL PROTECTED] wrote: > Scott R. Godin wrote on 01.6.18 5:24 AM: >> MacOS 8.6 >> MacPerl 5.20r4 >> CPAN-mac 0.50 >> CPAN.pm 1.59 >> >> any questions? > > Sorry, I was confused. > > Your screen

Re: [MacPerl] HTML-Parser-3.25 for MacPerl

2001-07-18 Thread Scott R. Godin
on 07/18/2001 04:11 AM, Scott R. Godin at [EMAIL PROTECTED] wrote: getting an error now, with HTML::Parser that doesn't happen on the unix box I also run a similar script on (which I think is running 3.08 but I'll check in a second ... no it's 3.23 there.) # Modification of a

Re: [MacPerl] HTML-Parser-3.25 for MacPerl

2001-07-20 Thread Scott R. Godin
MacPerl 5.6.1a4, which contains HTML::Parser, and will be released today > (hopefully). It is also in 5.6.1a3. Thanks Chris: I'll keep my eyes peeled for it and give it a try :) -- Scott R. Godin| e-mail : [EMAIL PROTECTED] Laughing Dragon Services |web : http://www.webdragon.net/

Re: [MacPerl] HTML-Parser-3.25 for MacPerl

2001-07-20 Thread Scott R. Godin
on 07/20/2001 12:16 PM, KIMURA Takeshi at [EMAIL PROTECTED] wrote: > Scott R. Godin wrote on 01.7.18 4:11 AM: >> I finally got bitched at it and tracked/traced the stupid bug down through >> the fscking logic flow to an error in IO::File.pm >> >> the IO::F

Re: [MacPerl] MacPerl 5.6.1a4 Released

2001-07-21 Thread Scott R. Godin
sible inclusions with the MacPerl set is the basic DBI functionality (if you haven't already added it) SQL::Statement Text::CSV_XS DBI DBD::RAM DBD::CSV Which would mean I could continue prototyping some things I'm working on for www.planetunreal.com/nalicity/ :) -- Scott R. Godin

Re: [MacPerl] MacPerl 5.6.1a4 Released

2001-07-21 Thread Scott R. Godin
on 07/21/2001 12:12 PM, Chris Nandor at [EMAIL PROTECTED] wrote: > At 11:29 -0400 2001.07.21, Scott R. Godin wrote: >> One other thing I might suggest as possible inclusions with the MacPerl set >> is the basic DBI functionality (if you haven't already added it) >>

Re: [MacPerl] MacPerl 5.6.1a4 Released

2001-07-21 Thread Scott R. Godin
MacPerl Ÿ:NaliCity:ratings:(1) requestall_maplist_db line 7. BEGIN failed--compilation aborted at Primus 8.5GB:Applications:MacPerl Ÿ:NaliCity:ratings:(1) requestall_maplist_db line 7. what other information can I give you? -- Scott R. Godin| e-mail : [EMAIL PROTECTED] Laughing Dragon Services |web : http://www.webdragon.net/

Re: [MacPerl] MacPerl 5.6.1a4 Released

2001-07-23 Thread Scott R. Godin
don't? cancel? you can hit -S to 'save', -D to 'dont', and -. to cancel (and the buttons even change to show you the shortcut!) The only one I miss here is the shortcut to "don't" save. I do a lot of little 20-second one-offs for testing and whatnot. :) -- Sc

Re: [MacPerl] HTML-Parser-3.25 for MacPerl

2001-07-23 Thread Scott R. Godin
;m not quite yet ready to depend on it. > Scott R. Godin wrote on 01.7.20 5:52 PM: >>> Which version of IO::File do you have? >> >> I'm running 1.08 here under 520r4 > > The one I have (1.0602) has a code like the following and taking > care of MacPerl (MacO

Re: [MacPerl] MacPerl 5.6.1a4 Released

2001-07-23 Thread Scott R. Godin
x ? :) can we afford to be generous in assuming? 99 buckets of bits on the bus, 99 buckets of bits, take one down, short it to ground, 98 buckets of bits on the bus. -- Scott R. Godin| e-mail : [EMAIL PROTECTED] Laughing Dragon Services |web : http://www.webdragon.net/

Re: [MacPerl] Benchmark huh?!?!?

2001-07-24 Thread Scott R. Godin
ition_to_$#test, scalar_derived, each for at least 5 CPU seconds... addition_to_$#test: 6 wallclock secs ( 5.65 usr + 0.00 sys = 5.65 CPU) @ 498240.53/s (n=2815059) scalar_derived: 6 wallclock secs ( 5.27 usr + 0.00 sys = 5.27 CPU) @ 748308.04/s (n=3941089) 14:47:28 it took a minute and sixteen

Re: [MacPerl] MacPerl 5.6.1a4 Released

2001-07-24 Thread Scott R. Godin
usual without updating the memory settings, and to report back if any problems crop up. I'll admit I don't think too much in terms of minimum being on a 7600/132 with around 216MB of RAM... :) Having those modules be dynamic might help though. I dunno either. :) -- Scott R. Godin| e-mail : [EMAIL PROTECTED] Laughing Dragon Services |web : http://www.webdragon.net/

Re: [MacPerl] MacPerl 5.6.1a4 Released

2001-07-23 Thread Scott R. Godin
on 07/23/2001 03:59 AM, Scott R. Godin at [EMAIL PROTECTED] wrote: > on 07/22/2001 07:31 AM, Chris Nandor at [EMAIL PROTECTED] wrote: > >> Give the MacPerl app more RAM. >> >> Randal, you might want to try the same thing with the debugger. More RAM >> good. >

Re: [MacPerl] problems with Net::FTP

2001-07-25 Thread Scott R. Godin
on 07/25/2001 01:35 PM, Katherine Richmond at [EMAIL PROTECTED] wrote: > > my $jpegType = "binary"; > > $ftp->type($jpegType); > try $ftp->binary(); -- Scott R. Godin| e-mail : [EMAIL PROTECTED] Laughing Dragon Services |web : http://www.webdragon.net/

Re: [MacPerl] problems with Net::FTP

2001-07-25 Thread Scott R. Godin
thin* themselves as well as via the Macintosh Finder File-format "Get-Info" comments. you might think about looking into a way to edit the internal comment in a JPEG/JFIF file. :) -- Scott R. Godin| e-mail : [EMAIL PROTECTED] Laughing Dragon Services |web : http://www.webdragon.net/

[MacPerl] nntp.perl.org

2001-07-27 Thread Scott R. Godin
I successfully accessed and subscribed to the various lists via the nntp but two posts I made never showed up.. is it because I have an e-mail address munging thing going on? should I use my actual address there? or is there another more dire reason? -- Scott R. Godin| e-mail

[MacPerl] just an nntp.perl.org test post

2001-07-27 Thread Scott R. Godin
if this works I can clear out my mailbox always a good thing. -- Scott R. Godin| e-mail : [EMAIL PROTECTED] Laughing Dragon Services |web : http://www.webdragon.net/

Re: [MacPerl] nntp.perl.org

2001-07-27 Thread Scott R. Godin
In article <p05100304b78732a12499@[192.168.0.151]>, [EMAIL PROTECTED] (Chris Nandor) wrote: > At 10:46 -0400 2001.07.27, Scott R. Godin wrote: > >I successfully accessed and subscribed to the various lists via the nntp but > >two posts I made never showed up.. is it bec

Re: [MacPerl] CPAN mac and site_perl position in search path

2001-07-27 Thread Scott R. Godin
do. :-) I will > consider it, most likely, but not now. If you really want it done, please > add it to Feature Requests, and we can revisit the issue at a later date. > I won't even get back to MacPerl development for another few weeks, so > please be patient. So noted. *gets t

Re: [MacPerl] re: Use of uninitialized value

2001-08-06 Thread Scott R. Godin
with which to pass it arguments. QED -- Scott R. Godin| e-mail : [EMAIL PROTECTED] Laughing Dragon Services |web : http://www.webdragon.net/

[MacPerl] Re: SMTP and out of memory

2001-08-14 Thread Scott R. Godin
27; => 'etc etc etc', ); my $body = <<"EOB"; Insert body text here with $variables if necessary; EOB # bang.. zoom! To the moon, Alice! $mailer->open(\%headers); print $mailer $body; $mailer->close; HTH! -- Scott R. Godin| e-mail : [EMAIL PROTECTED] Laughing Dragon Services |web : http://www.webdragon.net/

[MacPerl] Re: MacPerl 5.6.1 Beta

2001-09-03 Thread Scott R. Godin
th between the apps. I've started testing 5.6.1.a4 with some of the scripts I'd written for the older perl, and so far, so good. One complaint I do have is the absence of the spinning cursor indicating work-in-progress, and a seeming sluggishness in response to a -. 's

Re: [MacPerl] MacPerl 5.6.1a5 Released

2001-09-03 Thread Scott R. Godin
that matters. iCab 2.5.3 is out, fyi. :o) -- Scott R. Godin| e-mail : [EMAIL PROTECTED] Laughing Dragon Services |web : http://www.webdragon.net/

[MacPerl] Re: Mac-DBI-bundle 0.10 for MacPerl 5.6.1

2001-10-01 Thread Scott R. Godin
the file is a DOS file, even though I'm setting csv_eol properly... the question is WHERE? my $dbh = DBI->connect( "dbi:CSV:f_dir=${dbi_connect_dir};csv_sep_char=\t;csv_eol=\015\012", '', '', { RaiseError => 2 }) or die "Can't connect

Re: [MacPerl] Re: Mac-DBI-bundle 0.10 for MacPerl 5.6.1

2001-10-02 Thread Scott R. Godin
low of things, as of yet. (and isn't that the whole point of transparent drivers? :) > You might also want to take a look at DBD:AnyData, the successor of DBD::RAM. > Don't know if that module fits your needs, though. dunno either, but I'll take a look. IIRC it's still in

[MacPerl] http://perl.com/cs/user/query/q/6?id_topic=51 is in serious need of updating :|

2001-11-17 Thread Scott R. Godin
'nuff said -- Scott R. Godin| e-mail : [EMAIL PROTECTED] Laughing Dragon Services |web : http://www.webdragon.net/ It is not necessary to cc: me via e-mail unless you mean to speak off-group. I read these via nntp.perl.org, so as to get the stuff OUT of my mailbox. :-)

[MacPerl] Re: MacPerl Beta

2001-11-06 Thread Scott R. Godin
>getQuote('SUNW')->result(), "\n"; All in all one of the sweetest and smoothest upgrades to MacPerl I've had yet, and while there's still a few bumps here and there, 98% of what I've been using Perl for runs great! All I need is .cgi support so that I can

[MacPerl] Re: MacPerl 5.6.1 Beta 2 Warning

2001-11-14 Thread Scott R. Godin
ncluded, get it in ASAP. Thanks, Looking forward to it :) Nothing else to report yet, other than what I've already posted. So far it's been damned smooth sailing. Very impressive. -- Scott R. Godin| e-mail : [EMAIL PROTECTED] Laughing Dragon Services |web : http://www

[MacPerl] Perl menus to pod reference docs

2001-11-22 Thread Scott R. Godin
I *love* how the reference menu now shows which actual .pod file is being accessed. Very handy. :) Two thumbs and two big toes up, Way way up! - siskel and ebert -- Scott R. Godin| e-mail : [EMAIL PROTECTED] Laughing Dragon Services |web : http://www.webdragon.net/ It is

[MacPerl] re: Time::Hires

2001-11-27 Thread Scott R. Godin
0.0009 seconds. :-) oops. #!perl use Elapse; Elapse->lapse(my $now = "testing 0"); for (1 .. 5) { print "$now\n"; $now = "testing $_"; } print "$now\n"; 00:00:00.000937 [testing 0] 00:00:00.000743

[MacPerl] Re: MacPerl Goes Beta

2001-10-06 Thread Scott R. Godin
les (CGI update, Quantum::Superpositions, DBD::AnyData, etc.) to site_perl also worked terrifically, although I had to redirect to the right site_perl folder during config (it wanted to use the one from 5.6.1a4) I'll let you know if I come across anything strange, but so far, it's be

[MacPerl] Re: Mac Perl resources (free)

2001-10-13 Thread Scott R. Godin
ference IMHO for Macintosh specific things involving 520r4 MacPerl. -- Scott R. Godin| e-mail : [EMAIL PROTECTED] Laughing Dragon Services |web : http://www.webdragon.net/

[MacPerl] Re: 5.6.1b1 problem .pm files

2001-10-14 Thread Scott R. Godin
acPerl directly FileTyper, an excellent shareware app, can help you mass-convert file types/creators. check versiontracker.com -- Scott R. Godin| e-mail : [EMAIL PROTECTED] Laughing Dragon Services |web : http://www.webdragon.net/

Re: [MacPerl] Re: 5.6.1b1 problem .pm files

2001-10-16 Thread Scott R. Godin
In article <p0510030bb7f0e1d118b7@[10.0.1.177]>, [EMAIL PROTECTED] (Chris Nandor) wrote: > At 03:01 -0400 2001.10.15, Scott R. Godin wrote: > >A>that's the way it should be. > > > >Shuck is the pod file reader. > > It is how I designed it, yes.

[MacPerl] BBEdit/MacPerl/Shuck AutoTyper

2001-12-02 Thread Scott R. Godin
e the AutoTyper to something that you yourself use, instead. :) print pack "H*", "4a75737420416e6f74686572204d61635065726c204861636b65722c0d"; -- Scott R. Godin| e-mail : [EMAIL PROTECTED] Laughing Dragon Services |web : http://www.webdragon.net/ It is not ne

[MacPerl] Re: MMP updated

2001-12-11 Thread Scott R. Godin
2204d61635065726c204861636b65722c0d"; -- Scott R. Godin| e-mail : [EMAIL PROTECTED] Laughing Dragon Services |web : http://www.webdragon.net/ It is not necessary to cc: me via e-mail unless you mean to speak off-group. I read these via nntp.perl.org, so as to get the stuff OUT of my mailbox. :-)

Re: [MacPerl] cpan-mac 0.50 broken?

2002-01-18 Thread Scott R. Godin
_perl:"); use CPAN; my $foo = $ENV{HOME}; die "Please set a HOME environment variable in your preferences.\n" if ! exists $ENV{HOME}; shell(); might not be a bad idea to include one in the list of droplets that come with the new macperl :) print pack "H*", "4a757

Re: [MacPerl] DBI

2002-01-18 Thread Scott R. Godin
IIRC it HAS been ported. *rummaging* http://usemacperl.esmartweb.com/downloads/Mac-DBI-bundle-0.10.tar.gz print pack "H*", "4a75737420416e6f74686572204d61635065726c204861636b65722c0d"; -- Scott R. Godin| e-mail : [EMAIL PROTECTED] Laughing Dragon Services |web :

[MacPerl] OT: anyone heard from Jeff Zucker lately?

2002-05-03 Thread Scott R. Godin
you contact me at my [EMAIL PROTECTED] address from some other mailbox, so I have a way of sending you the bug report? sorry to intrude; we now return you to your regularly scheduled MacPerl. print pack "H*", "4a75737420416e6f74686572204d61635065726c204861636b65722c0d"

[MacPerl] Re: Simple Newbie Question

2002-07-11 Thread Scott R. Godin
> 212 > > > SK HTML::Parser from CPAN is your best bet for doing something like this. IIRC there's even an HTML::TableExtract somewhere although I don't know whether it will suit your needs. print pack "H*", "4a75737420416e6f74686572204d61635065726c204861636b

Re: [MacPerl] Scope problems in regular expressions (please ignore previous)...

2003-03-11 Thread Scott R. Godin
Detlef Lindenthal wrote: > ###Richard Smith wrote: > ### "... but the previous value of $1 still seems to > ### persist." > ### > ### > ### Hi Richard, > ### > ### In RegEx, the variables $1, $2, $3 ... might carry on > ### unwanted values from previous uses. > ### How can we

[MacPerl] Re: problem with Japanese text

2003-03-18 Thread Scott R. Godin
Jon Reinsch wrote: > I use a simple MacPerl program to archive my email: I save each message to > a text file, then run the program to append the messages to a text file in > date/time order. Omitting some details, the heart of the program is just: > > open (inhandle,"$infilename")) > { > whi

[MacPerl] Re: listing directory contents

2003-04-03 Thread Scott R. Godin
Gene Ray wrote: > Hello all. > > I have a script in a directory called "banners" > I'm trying to read the contents of the directory with a script I > pulled from a book. > I keep getting the sub ErrorMessage text and don't understand why. > Isn't the "." supposed to be for the working directory?

[MacPerl] Re: Setting $/

2003-04-03 Thread Scott R. Godin
Lynn Glessner wrote: > Hello, I've been lurking a little bit and wanted to ask a (hopefully > simple) question. > > I use a perl script to convert some text files on my mac, but occasionally > I want to put the text file on my windows machine and run my script there. > Yay for the cross-platform

[MacPerl] Re: Locating perl on my Mac

2003-04-04 Thread Scott R. Godin
Toman Tool_tj Rubasch wrote: > Dear macperl.org, > > I have recently installed perl version 5.6.1 r2 on my G4 macintosh > running OS 9.2. It is located on my harddrive. > > I have been trying to pass valued from an HTML document to a perl script > locally on my Mac. I am not having any success.

[MacPerl] || vs or in CGI.pm

2001-01-16 Thread Scott R. Godin
ecause the possibility of returning undef exists in the expression" ? hopefully that was succinct enough. :) fails on the unix box too (also 5.004 running under slowaris) -- Scott R. Godin| e-mail : [EMAIL PROTECTED] Laughing Dragon Services |web : http://www.webdragon.net/

[MacPerl] Compress::Zlib port?

2001-01-18 Thread Scott R. Godin
ports (yay!) of various modules, I'd like to request that you attempt to port the current Compress::Zlib to MacPerl.. my reason for this request is that Archive::Zip's latest version requires Compress::Zlib > 1.06 -- Scott R. Godin| e-mail : [EMAIL PROTECTED] Laughi

[MacPerl] Re: SQL::Statement 0.1012 on MacPerl

2001-01-18 Thread Scott R. Godin
t order otherwise. >> >> >> Why is it treating it like a numeric despite the obviousness that it is a >> string? after looking at some other sort algorithms recently, I thought to >> myself "wouldn't it be simpler to write it as this?" >> { >> $a <=> $b >> || >> $a cmp $b >> } >> >> ... or am I off-base here? Do you now have a better way to determine if a >> field value is numeric or string? >> >> Your thoughts (and time) would be appreciated. >> >> I hope I haven't included too much information, but I thought being thorough >> and giving a full explanation while showing what I tried was better than a >> half-assed question. :) > Hi, Scott, > > I highly agree with you, that the RE that determines whether > a column contains a number should be changed. Any suggestions, > besides ^[+-]\d+$, possibly including floats? > > Thanks, > > Jochen I mailed Jochen back and indicated that I'd be posting this query to the MacPerl lists and to comp.lang.perl.misc as well in search of a better answer.. responses welcome. I'm stumped. :) *muttergrumbleregexes* -- Scott R. Godin| e-mail : [EMAIL PROTECTED] Laughing Dragon Services |web : http://www.webdragon.net/

[MacPerl] Compress::Zlib port?

2001-01-18 Thread Scott R. Godin
ports (yay!) of various modules, I'd like to request that you attempt to port the current Compress::Zlib to MacPerl.. my reason for this request is that Archive::Zip's latest version requires Compress::Zlib > 1.06 -- Scott R. Godin| e-mail : [EMAIL PROTECTED] Laughi

[MacPerl] Re: SQL::Statement 0.1012 on MacPerl

2001-01-18 Thread Scott R. Godin
t order otherwise. >> >> >> Why is it treating it like a numeric despite the obviousness that it is a >> string? after looking at some other sort algorithms recently, I thought to >> myself "wouldn't it be simpler to write it as this?" >> { >> $a <=> $b >> || >> $a cmp $b >> } >> >> ... or am I off-base here? Do you now have a better way to determine if a >> field value is numeric or string? >> >> Your thoughts (and time) would be appreciated. >> >> I hope I haven't included too much information, but I thought being thorough >> and giving a full explanation while showing what I tried was better than a >> half-assed question. :) > Hi, Scott, > > I highly agree with you, that the RE that determines whether > a column contains a number should be changed. Any suggestions, > besides ^[+-]\d+$, possibly including floats? > > Thanks, > > Jochen I mailed Jochen back and indicated that I'd be posting this query to the MacPerl lists and to comp.lang.perl.misc as well in search of a better answer.. responses welcome. I'm stumped. :) *muttergrumbleregexes* -- Scott R. Godin| e-mail : [EMAIL PROTECTED] Laughing Dragon Services |web : http://www.webdragon.net/

Re: [MacPerl] Compress::Zlib port?

2001-01-19 Thread Scott R. Godin
on 01/20/2001 12:54 AM, KIMURA Takeshi at [EMAIL PROTECTED] wrote: > Scott R. Godin wrote on 01.1.18 3:50 PM: >> >> not knowing whether it's possible or not... >> >> Compress::Zlib is currently at 1.09 on CPAN >> >> http://pudge.net/mmp/ is on

Re: [MacPerl] Re: Newbie Tutorial or FAQ's

2001-01-22 Thread Scott R. Godin
ooking elsewhere (the book, the mailing list, the newsgroups) There is varying debate as to the utility of some of the current crop of Perl books available.. check DejaNews for posts to c.l.p.m as to what the perl gurus are currently recommending in addition to the above. -- Scott R. Godin

[MacPerl] Mailing list listings at www.perl.org

2001-01-28 Thread Scott R. Godin
need to be updated to reflect the current [EMAIL PROTECTED] addressing.. -- Scott R. Godin| e-mail : [EMAIL PROTECTED] Laughing Dragon Services |web : http://www.webdragon.net/

Re: [MacPerl] Compress::Zlib port intermediate report

2001-01-30 Thread Scott R. Godin
with file handling. Maybe the compiler > did too much optimization, or misconfigured link order? > > Well, a step forward. indeed. I'm looking forward to it :) Thank you for your time with this, really.. I wish I knew enough about C/C++ to even THINK about working with something like that.

Re: [MacPerl] Net::FTP usage

2001-01-30 Thread Scott R. Godin
sing the most recent libnet install ? #!perl -w use Net::FTP; print $Net::FTP::VERSION; -- Scott R. Godin| e-mail : [EMAIL PROTECTED] Laughing Dragon Services |web : http://www.webdragon.net/

Re: [MacPerl] Net::FTP usage

2001-01-30 Thread Scott R. Godin
on 01/30/2001 11:46 PM, Nicholas G. Thornton at [EMAIL PROTECTED] wrote: > --- "Scott R. Godin" wrote: > print $Net::FTP::VERSION; > --- end of quote --- > It's v 2.56 . I'm not quite sure how you mean I got it backwards. The code at > present is something lik

Re: [MacPerl] The State of MacPerl

2001-01-31 Thread Scott R. Godin
n a section. not even IE 5.5 ! =:o get iCab.. WAY mo bettah http://www.icab.de/ -- Scott R. Godin| e-mail : [EMAIL PROTECTED] Laughing Dragon Services |web : http://www.webdragon.net/

[MacPerl] Re: OT: Browsers (was: The State of MacPerl)

2001-01-31 Thread Scott R. Godin
on 01/31/2001 07:31 AM, Chris Nandor at [EMAIL PROTECTED] wrote: > At 05:58 -0500 01.31.2001, Scott R. Godin wrote: >> on 01/31/2001 04:54 AM, KIMURA Takeshi at [EMAIL PROTECTED] wrote: >> >>> Morbus Iff wrote on 01.1.30 1:45 PM: >>>> Do you SSH through CVS o

Re: [MacPerl] Net::FTP usage

2001-01-31 Thread Scott R. Godin
something like \*FILE, which passes a reference to it. It would be like > doing my $fh = \*FILE, and then passing $fh. ahh that's good to know.. WIsh the docs were as bluntly clear on that ;) -- Scott R. Godin| e-mail : [EMAIL PROTECTED] Laughing Dragon Services |web : http://www.webdragon.net/

Re: [MacPerl] Re: OT: Browsers (was: The State of MacPerl)

2001-01-31 Thread Scott R. Godin
ible to me that the boolean attribute 'disabled' would be > coded in CGI.pm's methods as disabled=>'false' or disabled=>'true'. > > Hmm? you know, this is sounding more and more like I should send a 'bug report' to Lincoln Stein about

Re: [MacPerl] Re: OT: Browsers (was: The State of MacPerl)

2001-01-31 Thread Scott R. Godin
the test ? yes : no; things to work in any CGI.pm script I've tried them in. I will grant the possibility that I'm not doing them correctly, but I have tried various times and ways over the last 9 months off and on, as experiments, and always wind up using an if-then block instead. -- S

Re: [MacPerl] Re: OT: Browsers (was: The State of MacPerl)

2001-02-01 Thread Scott R. Godin
the method. What if I want the menu to be enabled or disabled based on the previious user input, time-of-day, phase-of-the-moon? it seems to me to be easier (and cleaner) to say {-disabled => $value} in the popup hash than to toss that into an if-then, and have CGI.pm know what to do with the result. -- Scott R. Godin| e-mail : [EMAIL PROTECTED] Laughing Dragon Services |web : http://www.webdragon.net/

Re: [MacPerl] OT: Reply-to and minimal munging

2001-02-01 Thread Scott R. Godin
ibly annoying to recieve TWO copies of each message because the user also has to add-back the MacPerl list if they want others to see it too. (waste of time that adds up more and more each time I have to deal with this silliness) Can I be ANY clearer about this? =:) *PLEASE PLE

Re: [MacPerl] OT: Reply-to and minimal munging

2001-02-01 Thread Scott R. Godin
n expert. thanks! I'll look into this in the event that a normal mailing list format ('normal' insofar as any other mailing list I've ever been involved with in the past) cannot be agreed upon to change to. -- Scott R. Godin| e-mail : [EMAIL PROTECTE

Re: [MacPerl] OT: Reply-to and minimal munging

2001-02-01 Thread Scott R. Godin
ht of that, it does make a lot of sense.. I'll look into the other person's suggestion of the "mailing list handling" features of outlook express and see whether it will work that way. thanks for taking the time to explain your position clearly enough it makes sense now :)

Re: [MacPerl] Send a simple notification message

2001-02-02 Thread Scott R. Godin
iguring out why, since I discovered the existence of MailTools. -- Scott R. Godin| e-mail : [EMAIL PROTECTED] Laughing Dragon Services |web : http://www.webdragon.net/

Re: [MacPerl] Net::Telnet

2001-02-07 Thread Scott R. Godin
les = ( "${curdir}maps_list.txt", "${curdir}ftpinfo.txt", "${curdir}ftpdirs_full_backup.txt" ); $ftp->cwd($curdir) or die ("Could not change directory $!"); foreach my $file (@files) { $ftp->get($file) or die ("Could not download $file! $!"); print "$file download successful!\n"; } $ftp->quit() or die("error closing FTP session: $!"); } print 'Update completed.'; exit; -- Scott R. Godin| e-mail : [EMAIL PROTECTED] Laughing Dragon Services |web : http://www.webdragon.net/

[MacPerl] MLDBM giving error

2001-02-08 Thread Scott R. Godin
it; this simple example from "Programming the Perl DBI" gives the following error under MacPerl: # MLDBM error: Second level tie failed, "Invalid argument" File 'Dev:Pseudo'; Line 32 # Can't initialize MLDBM file: Invalid argument any ideas what I'm/it's doing wrong? -- Scott R. Godin| e-mail : [EMAIL PROTECTED] Laughing Dragon Services |web : http://www.webdragon.net/

Re: [MacPerl] MLDBM giving error

2001-02-08 Thread Scott R. Godin
R, 0777, $DB_HASH) || die ; > $test{"testkey"} = "testvalue" ; this worked > You also have to "use" DB_File before you "use" MLDBM, otherwise you will > receive very cryptic error messages that won't give you a clue. this didn't. (same er

[MacPerl] Mail::Mailer not working under MacPerl (growl)

2001-02-09 Thread Scott R. Godin
. *scratching head* (this script at least *works* without barking at me, even though it doesn't produce RFC822 compliant headers): --- #!perl -w use strict; use Net::SMTP; my($smtp, $email, $to, $subject, $message); $smtp= Net::SMTP->new('mail.magpage.com') or

Re: [MacPerl] Mail::Mailer not working under MacPerl (growl)

2001-02-09 Thread Scott R. Godin
sure there aren't any other weirdnesses going on, but it IS working at this point.. not sure what I fixed. heh -- Scott R. Godin| e-mail : [EMAIL PROTECTED] Laughing Dragon Services |web : http://www.webdragon.net/

Re: [MacPerl] sleep

2001-02-10 Thread Scott R. Godin
on 02/10/2001 09:01 PM, g3pb at [EMAIL PROTECTED] wrote: > i need to cause a delay in my program, sleep delays for a full seconds or > more, how do i sleep for 1/60 or multiple of 1/60 of a seconds? > > thanks perlfaq8.pod How can I sleep() or alarm() for under a second? -- Sc

Re: [MacPerl] MacPerl's Editor

2001-03-01 Thread Scott R. Godin
error on line 171, I don't feel like counting. second these, and add - shift-arrowkeys to select and unselect text - allow blocks of text to be shifted left or right - auto-conversion of TAB chars to n spaces - allow soft-wrapping of text to be turned on and off also agree

Re: [MacPerl] MacPerl's Editor

2001-03-02 Thread Scott R. Godin
output. How about the editor window having a > console pane in which I can type a quick command that would be > executed on what I have in the text pane? Damn, nice idea! I'd really love the ability to add plug-in capability to the internal editor ala perl scripts or AppleScripts. In fact I'd also love to be able to drop perl scripts into BBEdit's scripts menu to do things to/with the text too :D [snip] -- Scott R. Godin| e-mail : [EMAIL PROTECTED] Laughing Dragon Services |web : http://www.webdragon.net/

Re: [MacPerl] MacPerl's Editor

2001-03-02 Thread Scott R. Godin
#x27;t display all of the text. If I look at the actual POD code in the module in question I can see the missing text, but even the Shuck option to show everything, doesn't in this odd case. If someone will be updating Shuck along the way, I'd be happy to muck about and come up wi

Re: [MacPerl] Msql-Mysql-modules-1.2215.tar.gz

2001-03-02 Thread Scott R. Godin
e script around DBD::CSV for testing purposes and when completed, change things to use DBD::mysql instead and move it to the Apache server. -- Scott R. Godin| e-mail : [EMAIL PROTECTED] Laughing Dragon Services |web : http://www.webdragon.net/

[MacPerl] This one caused MacPerl to eat itself heinously

2001-03-04 Thread Scott R. Godin
#x27;,0x6c,f('%c%s', 32,f('%c%s',0x48,f('%c%s',97,f('%c%s',99,f('%c%s',107,f('%c%s',101,f('%c%s', 114,f('%c%s',10,) Had to force-shutdown the Mac, and lost my place in c.l.p.m. cuz I haden't saved the groups file (since I was in the middle of reading) hehe argh! -- Scott R. Godin| e-mail : [EMAIL PROTECTED] Laughing Dragon Services |web : http://www.webdragon.net/

Re: [MacPerl] This one caused MacPerl to eat itself heinously

2001-03-04 Thread Scott R. Godin
on 03/04/2001 06:12 AM, Bart Lateur at [EMAIL PROTECTED] wrote: > On Sun, 04 Mar 2001 05:32:25 -0500, Scott R. Godin wrote: > >> tried to syntax-check this JAPH of Abigail's and MacPerl not only choked on >> it but started writing itty-bitty lines of nonsense graphical d

Re: [MacPerl] Setting regex switch programmaticaly

2001-03-05 Thread Scott R. Godin
04; (?imsx:PATTERN) was added later. > > > Ronald you forgot an additional '?' ;) print /(?$switch)PERL/ ? 'Y':'N'; # ^ This does work however in 5.004 MacPerl. Thanks for the heads-up :) -- Scott R. Godin| e-mail : [EMAIL PROTECTED] Laughing Dragon Services |web : http://www.webdragon.net/

Re: [MacPerl] Re: MacPerl Crashing

2001-03-07 Thread Scott R. Godin
cripts and other web stuff, along with "a better finder rename" for re-naming multiple batches of files.) If you like default folder, add these two to your arsenal -- you'll wonder how you lived without them. -- Scott R. Godin| e-mail : [EMAIL PROTECTED] Laughing Dragon Services |web : http://www.webdragon.net/

Re: [MacPerl] HTML Email

2001-03-16 Thread Scott R. Godin
7;d > like to hear from others as well. [1] I would love to have been at that M$ board meeting where some bright young and incredibly stupid software engineer proposed adding html-capabilities to their newsreading and e-mail software. OUT comes the LART[2]. WhackWhackWHACK BAD idea! STUPID idea!

Re: [MacPerl] 425 Data connection error

2001-03-16 Thread Scott R. Godin
d not log in! $!"); $ftp->ascii() or die ("could not change type to ascii! $!"); my @files = ( "${curdir}maps_list.txt", "${curdir}ftpinfo.txt", "${curdir}ftpdirs_full_backup.txt" ); $ftp->cwd($curdir) or die ("Could not change directory $!"); foreach my $file (@files) { $ftp->get($file) or die ("Could not download $file! $!"); print "$file download successful!\n"; } $ftp->quit() or die("error closing FTP session: $!"); } print 'Update completed.'; exit; -- Scott R. Godin| e-mail : [EMAIL PROTECTED] Laughing Dragon Services |web : http://www.webdragon.net/

Re: [MacPerl] OOPs DESTROYed?

2001-03-16 Thread Scott R. Godin
this, straight from the OOP book. Check out Damian Conway's "Object Oriented Perl" if you're looking to get in deeper. It's hard to say where the error might be occurring, though, since we cannot see the rest of your code. :) -- Scott R. Godin| e-mail : [EMA

Re: [MacPerl] 425 Data connection error

2001-03-16 Thread Scott R. Godin
e name, where it's perfectly OK. > > Personally I'd try getting rid of passive mode if that's possible. The real question is whether it's attempting to 'put' the entire file name AS the entire file name :) -- Scott R. Godin| e-mail : [EMAIL PROTECTED] Laughing Dragon Services |web : http://www.webdragon.net/

Re: [MacPerl] More beginner Perl stuff

2001-03-23 Thread Scott R. Godin
ld be great. The problem I am having right now is > in even figuring out where to begin on those subroutines. Like I > said, once I get started it should come easier...but for whatever > reason I am mentally stuck 100%. which is why I suggested you look at those modules -- for ideas and reference :) -- Scott R. Godin| e-mail : [EMAIL PROTECTED] Laughing Dragon Services |web : http://www.webdragon.net/

Re: [MacPerl] Where to start?

2001-03-25 Thread Scott R. Godin
down the absolute winner. More Mac-like than 90% of the apps I use. :) you can pick it up here: http://www.smfr.org/mtnw/ Comes with complete documentation, too if you're unfamiliar or partially familiar with Usenet. -- Scott R. Godin| e-mail : [EMAIL PROTECTED] Laughing Dragon Services |web : http://www.webdragon.net/

[MacPerl] Uninitialized Value warnings with DBD::CSV 0.1024 (mildly urgent)

2001-04-02 Thread Scott R. Godin
y code again and cannot really see where this might be coming from. ANY help would be appreciated.. I'm QUITE sure my ISP would prefer and appreciate that I don't fill their weblogs with 7300 lines of this crap every time my script gets accessed. :/ Any assistance appreciated. -- Scott R. Godin| e-mail : [EMAIL PROTECTED] Laughing Dragon Services |web : http://www.webdragon.net/

Re: [MacPerl] Off topic...

2001-04-12 Thread Scott R. Godin
on 04/12/2001 10:33 PM, Bill Becker at [EMAIL PROTECTED] wrote: > I you could only have two editors on your Mac, one for wysiwyg formal > formatting and potentially publishing, and a plain old text editor > for simple ASCII files, which two would they be? Nisus Writer BBEdit -- Scott

[MacPerl] MacPerl 5.6.1 status?

2001-04-16 Thread Scott R. Godin
now that 5.6.1 is 'officially' released, can we expect a final build of MacPerl based on those sources within say, two months? :) -- Scott R. Godin| e-mail : [EMAIL PROTECTED] Laughing Dragon Services |web : http://www.webdragon.net/

Re: [MacPerl] MacPerl 5.6.1 status?

2001-04-16 Thread Scott R. Godin
on 04/16/2001 08:06 PM, Chris Nandor at [EMAIL PROTECTED] wrote: > At 19:49 -0400 2001.04.16, Scott R. Godin wrote: >> now that 5.6.1 is 'officially' released, can we expect a final build of >> MacPerl based on those sources within say, two months? :) &g

Re: [MacPerl] OpenSRS anyone??

2001-04-17 Thread Scott R. Godin
on from OpenSRS look at my files and he thinks they look > fine. He is however a Unix weenie, not a Mac weenie so he may not understand > the subtleties of the Mac OS. :-) -- Scott R. Godin| e-mail : [EMAIL PROTECTED] Laughing Dragon Services |web : http://www.webdragon.net/

[MacPerl] ok I'm stumped. 520R4. issue with MacPerl::SetFileInfo

2001-05-04 Thread Scott R. Godin
7;, 'timeout'=>'7500') or die ("Could not open connection: $!"); $ftp->login($username, $password) or die ("Could not log in! $!"); $ftp->binary or die ("could not change type to binary! $!");

[MacPerl] CPAN.pm and 5.6.1a2

2001-05-14 Thread Scott R. Godin
ing and testing process (IMNERHO), as I find it totally necessary for my current enjoyment of MacPerl 520r4 :) -- Scott R. Godin| e-mail : [EMAIL PROTECTED] Laughing Dragon Services |web : http://www.webdragon.net/

Re: [MacPerl] MacPerl and Tcl/Tk

2001-05-31 Thread Scott R. Godin
gish. > > > I haven't taken a look at the AppleScript piece, but this is already much more > divergent from the level of portability I was hoping for. > > Socket connection: Sounds promising, but I am unfamiliar with this stuff. > > Anybody done this, have an example, or interested in taking a stab at it? -- Scott R. Godin| e-mail : [EMAIL PROTECTED] Laughing Dragon Services |web : http://www.webdragon.net/

Re: [MacPerl] HTML-Parser-3.25 for MacPerl

2001-06-15 Thread Scott R. Godin
:MacPerl Ÿ:site_perl:ExtUtils:MM_MacOS.pm'; Line 1049 -- Scott R. Godin| e-mail : [EMAIL PROTECTED] Laughing Dragon Services |web : http://www.webdragon.net/

Re: [MacPerl] HTML-Parser-3.25 for MacPerl

2001-06-18 Thread Scott R. Godin
on 06/18/2001 02:53 AM, KIMURA Takeshi at [EMAIL PROTECTED] wrote: > Scott R. Godin wrote on 01.6.15 4:44 AM: >> on 06/12/2001 04:33 AM, KIMURA Takeshi at [EMAIL PROTECTED] wrote: >> >> cpan> install K/KI/KIMURA/HTML-Parser-3.25-bin-1-Mac.tgz &g

Re: [MacPerl] How do I install a new Module to MacPerl

2001-06-26 Thread Scott R. Godin
porter's page above) Then install DBD::CSV and DBD::RAM from CPAN This lets you build and work with a CSV sample database on the Mac, and create your interface to it. Then, when complete, porting it to use the DBD::mysql driver instead (on say, unix), will be a snap. -- Scott R. Godin| e-mail : [EMAIL PROTECTED] Laughing Dragon Services |web : http://www.webdragon.net/

FW: NDN: Re: [MacPerl] How do I install a new Module to MacPerl

2001-06-26 Thread Scott R. Godin
livered to: > > Jana Rickel (Mailbox or Conference is full.) > Why am I getting these (and similar from other systems) whenever I post to the list? This never used to happen with the original list @ macperl.org... it's starting to get very annoying and could potentially cau

Re: [MacPerl] Re: Digest::MD5 2.13

2001-06-26 Thread Scott R. Godin
ADME Digest-MD5-2.13-bin-2-Mac/rfc1321.txt Digest-MD5-2.13-bin-2-Mac/t/badfile.t Digest-MD5-2.13-bin-2-Mac/t/files.t Digest-MD5-2.13-bin-2-Mac/t/md5-aaa.plx.bin Digest-MD5-2.13-bin-2-Mac/typemap # Unable to open :Digest-MD5-2.13-bin-2-Mac:blib:lib:MacCFM68K:auto:Digest:MD5:MD5.bin: Invalid argument File 'Primu

  1   2   >