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
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
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
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/
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
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
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)
>>
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/
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
;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
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/
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
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/
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.
>
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/
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/
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
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/
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
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
with which to pass it
arguments. QED
--
Scott R. Godin| e-mail : [EMAIL PROTECTED]
Laughing Dragon Services |web : http://www.webdragon.net/
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/
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
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/
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
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
'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. :-)
>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
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
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
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
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
ference IMHO for Macintosh specific
things involving 520r4 MacPerl.
--
Scott R. Godin| e-mail : [EMAIL PROTECTED]
Laughing Dragon Services |web : http://www.webdragon.net/
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/
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.
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
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. :-)
_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
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 :
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"
> 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
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
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
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?
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
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.
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/
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
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/
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
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/
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
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
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/
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.
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/
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
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/
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
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/
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
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
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/
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
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
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 :)
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/
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/
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/
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
. *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
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/
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
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
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/
#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
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/
#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/
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
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/
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/
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!
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/
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
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/
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/
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/
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/
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
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/
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
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/
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! $!");
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/
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/
:MacPerl :site_perl:ExtUtils:MM_MacOS.pm';
Line 1049
--
Scott R. Godin| e-mail : [EMAIL PROTECTED]
Laughing Dragon Services |web : http://www.webdragon.net/
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
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/
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
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 - 100 of 102 matches
Mail list logo