[MacPerl] macperl bug?

2004-12-14 Thread THEARTOFWEB PRODUCTION
Dear [EMAIL PROTECTED] I'm a perl newbie and I've used MacPerl5.6.1.r2 (MacOS9.1) to run my perl scripts. It goes without saying that MacPerl is my all time favorite application on MacOS9! Unfortunately,I've been in trouble lately... below is the code I've been working on: [code] #!/perl # #

RE: [MacPerl] macperl bug?

2004-12-14 Thread THEARTOFWEB PRODUCTION
From: "THEARTOFWEB PRODUCTION" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: [MacPerl] macperl bug? Date: Tue, 14 Dec 2004 17:49:19 + Dear [EMAIL PROTECTED] I'm a perl newbie and I've used MacPerl5.6.1.r2 (MacOS9.1) to run my perl scripts. It goes without

[MacPerl] I'm having trouble with RuntimeBuilder.dp

2004-12-14 Thread THEARTOFWEB PRODUCTION
I noticed a weird issue regarding RuntimeBuilder.dp below is the code i tried to compile: [code] #!/perl use strict; use warnings; use File::Spec; print File::Spec->rootdir() || "what the hell!?\n";; [/code] I ran the code above with "MacPerl5.6.1r2" and got the "Macintosh HD:" value on the screen

[MacPerl] I'm having trouble with RuntimeBuilder.dp

2004-12-14 Thread THEARTOFWEB PRODUCTION
I noticed a weird issue regarding RuntimeBuilder.dp below is the code i tried to compile: [code] #!/perl use strict; use warnings; use File::Spec; print File::Spec->rootdir() || "what the hell!?\n";; [/code] I ran the code above with "MacPerl5.6.1r2" and got the "Macintosh HD:" value on the screen

Re: [MacPerl] I'm having trouble with RuntimeBuilder.dp

2004-12-14 Thread THEARTOFWEB PRODUCTION
It has been many many moons since I've touched RuntimeBuilder, but I seem to recall having to explictly load the File::Spec::Mac module in the script to be compiled. Since RuntimeBuilder needs to create a runtime with every module being used, and File::Spec doesn't know what module to use until

RE: [MacPerl] macperl bug?

2004-12-15 Thread THEARTOFWEB PRODUCTION
eureka! it seems like i've sorted it out! at first, I tried this: #!/perl @nomi = keys(%SIG); for my $nomesig (@nomi) {$SIG{$nomesig} = 'IGNORE';} but i found that this would be better: #!/perl sub handleruniversale { print "\ngot a signal $_[0]\n"; $SIG{$_[0]} = \&handleruniversale; } @nomi = ke

[MacPerl] MACSHARED

2004-12-22 Thread THEARTOFWEB PRODUCTION
Hi everyone, below is the code I've been working on. Can anybody give it a shot? [code] #!/perl # # MAC SHARED - Share your files on MacOS9 # Copyleft (C) 2004 , [EMAIL PROTECTED] # # This file is part of MAC SHARED # # MAC SHARED is free software; you can redistribut

[MacPerl] Capture audio on MacOS9

2005-01-20 Thread THEARTOFWEB PRODUCTION
Hi all! I'm a Perl programmer and been using MacOS classic since 1998. I don't have spending money so I ain't gonna buy Mac X for the moment. Now, I'd like to code a MacOS9 app that captures audio from an external microphone and convert the audio in MP3 format then finally streams the audio via So