From gypsy at freeq.com Mon Jun 7 13:09:28 2004 From: gypsy at freeq.com (Gypsy Rogers) Date: Mon Aug 2 21:32:26 2004 Subject: [Mpls-pm] MIME::Base64 on Windows Message-ID: Let me start this email by saying I NEVER code for windows with PERL I live my live in a real shell on real operating systems so this frustrates me a little..... I have a simple script (below) that when I try to use MIME::Base64 it just spins forever and eventually times out. It does not throw an error. Just wondering if any of you have run across this same issue with this module before or any other issues when trying to use modules on Windows. Script as follows: -----------------cut here--------------------- #use MIME::Base64 (); #use MIME::Base64; print "Content-Type: text/html\n\n\nboo

\n\n"; foreach $x (@INC){print "$x
\n";} opendir(LIB,"D:/perl/lib/MIME") or die "cant open lib\n"; @list = readdir LIB; closedir LIB; foreach $x (@list){print "$x
\n";} ---------------------cut here---------------------- From gypsy at freeq.com Mon Jun 7 13:31:40 2004 From: gypsy at freeq.com (Gypsy Rogers) Date: Mon Aug 2 21:32:26 2004 Subject: [Mpls-pm] MIME::Base64 on Windows In-Reply-To: <20040607182413.GA23134@grenekatz.org> Message-ID: I didn't use CGI.pm because it was a quicky test script to prove a point... when use MIME::Base64; is uncommented the script times out, when it is commented out the script works fine. The script I sent was my test not the actual script which was too long and might have had other errors in it. On Mon, 7 Jun 2004 13:24:13 -0500 Josh Jore wrote: > On Mon, Jun 07, 2004 at 01:09:28PM -0500, Gypsy Rogers > wrote: > } > } I have a simple script (below) that when I try to use > } MIME::Base64 it just spins forever and eventually times > } out. It does not throw an error. Just wondering if any > of > } you have run across this same issue with this module > before > } or any other issues when trying to use modules on > Windows. > > I wonder if you accounted for Win32's normal IO filter > which > translates \n to \r\n. I'd also wonder why you didn't > just have CGI.pm > do that for you so it'd happen correctly and portably. > I'd also have > used CGI.pm's HTML generation features but that isn't of > relevance to > the problem you expressed. > > use CGI qw( header ); > print header() . "\nboo

\n\n"; > > OR > > binmode STDOUT; > print "Content-Type: text/html\n\n..."; > > OR if you were me > > use CGI qw( header start_html br end_html ); > > print > header() > . start_html() > . p( "\@INC:" > . join( '', > map $_ . br(), > @INC ) ) > . p( "D:/yatta/whatever" > . join( '', > map $_ . br(), > glob "D:/yatta/whatever/*" ) ) > . end_html(); > > -- > Josh From gypsy at freeq.com Mon Jun 7 14:14:44 2004 From: gypsy at freeq.com (Gypsy Rogers) Date: Mon Aug 2 21:32:26 2004 Subject: [Mpls-pm] MIME::Base64 on Windows In-Reply-To: <20040607185621.GB23134@grenekatz.org> Message-ID: I don't believe windows machines have error logs that or they hide them in some obscure spot. I've already tried squelching the buffer to no avail. And carping gives me nothing. Running the script from command line with use MIME::Base64; uncommmented gives no output, running it commented gives me my output. On Mon, 7 Jun 2004 13:56:21 -0500 Josh Jore wrote: > On Mon, Jun 07, 2004 at 01:31:40PM -0500, Gypsy Rogers > wrote: > } > } I didn't use CGI.pm because it was a quicky test script > to > } prove a point... when use MIME::Base64; is uncommented > the > } script times out, when it is commented out the script > works > } fine. The script I sent was my test not the actual > script > } which was too long and might have had other errors in > it. > > Well then perhaps you are "suffering from buffering" due > to an > error. Go search google using that phrase. See also > Carp::CGI > 'fatalsToBrowser'. Further, see your error log to see if > anything > showed up there. > > -- > Josh From jamesludlow at yahoo.com Mon Jun 7 14:35:17 2004 From: jamesludlow at yahoo.com (James Ludlow) Date: Mon Aug 2 21:32:26 2004 Subject: [Mpls-pm] MIME::Base64 on Windows In-Reply-To: References: Message-ID: <6.0.3.0.2.20040607143433.01e68098@pop.mail.yahoo.com> I ran your code on Windows XP (SP1) and it worked fine. I had both "MIME" lines uncommented. The only other thing I changed was the directory I was trying to use. ------------------------- use MIME::Base64 (); use MIME::Base64; print "Content-Type: text/html\n\n\nboo

\n\n"; foreach $x (@INC){print "$x
\n";} opendir(LIB,"C:/tmp/apm") or die "cant open lib\n"; @list = readdir LIB; closedir LIB; foreach $x (@list){print "$x
\n";} ----------------------------------------- Perl version: This is perl, v5.8.3 built for MSWin32-x86-multi-thread (with 8 registered patches, see perl -V for more detail) Copyright 1987-2003, Larry Wall Binary build 809 provided by ActiveState Corp. http://www.ActiveState.com ActiveState is a division of Sophos. Built Feb 3 2004 00:28:51 Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using `man perl' or `perldoc perl'. If you have access to the Internet, point your browser at http://www.perl.com/, the Perl Home Page. At 01:09 PM 6/7/2004 -0500, Gypsy Rogers wrote: >Let me start this email by saying I NEVER code for windows >with PERL I live my live in a real shell on real operating >systems so this frustrates me a little..... > > >I have a simple script (below) that when I try to use >MIME::Base64 it just spins forever and eventually times >out. It does not throw an error. Just wondering if any of >you have run across this same issue with this module before >or any other issues when trying to use modules on Windows. > >Script as follows: >-----------------cut here--------------------- > >#use MIME::Base64 (); >#use MIME::Base64; > >print "Content-Type: text/html\n\n\nboo

\n\n"; > >foreach $x (@INC){print "$x
\n";} > >opendir(LIB,"D:/perl/lib/MIME") or die "cant open lib\n"; >@list = readdir LIB; >closedir LIB; >foreach $x (@list){print "$x
\n";} > >---------------------cut here---------------------- > > >_______________________________________________ >Mpls-pm mailing list >Mpls-pm@pm.org >http://www.pm.org/mailman/listinfo/mpls-pm -- James From craig at wavefront.net Mon Jun 7 15:33:46 2004 From: craig at wavefront.net (Craig S. Wilson) Date: Mon Aug 2 21:32:26 2004 Subject: [Mpls-pm] MIME::Base64 on Windows Message-ID: <40C4D12A.9080109@wavefront.net> James Ludlow wrote: >I ran your code on Windows XP (SP1) and it worked fine. I had both "MIME" >lines uncommented. The only other thing I changed was the directory I >was trying to use. Same here. I ran with both commented, then one uncommented and then the other. Windows XP (SP1) Intel Celeron 2.6 GHz 378 MB memory I have Visual Studio.net with Visual Perl and the Perl Development Kit installed. This is perl, v5.8.3 built for MSWin32-x86-multi-thread (with 8 registered patches, see perl -V for more detail) Copyright 1987-2003, Larry Wall Binary build 809 provided by ActiveState Corp. C:\bin\test>time The current time is: 15:18:01.03 C:\bin\test>perl mime64.pl Content-Type: text/html boo

C:/Perl/lib
C:/Perl/site/lib
.
.
..
Base64.pm
QuotedPrint.pm
C:\bin\test>time The current time is: 15:18:06.36 C:\bin\test>perl mime642.pl Content-Type: text/html boo

C:/Perl/lib
C:/Perl/site/lib
.
.
..
Base64.pm
QuotedPrint.pm
C:\bin\test>time The current time is: 15:18:13.92 C:\bin\test>perl mime643.pl Content-Type: text/html boo

C:/Perl/lib
C:/Perl/site/lib
.
.
..
Base64.pm
QuotedPrint.pm
C:\bin\test>time The current time is: 15:18:19.40 C:\bin\test> -- --------------------------------------- Craig S. Wilson craig@wavefront.net WaveFront Communications, Inc. 1677 Lake Valentine Road Arden Hills MN 55112-2840 1.651.638.9594 1.612.865.8794 =============================== Note: If you send me HTML-mail, it will probably end up in my SPAM bucket. --------------------------------------- From Dan at oelke.com Tue Jun 8 10:11:02 2004 From: Dan at oelke.com (Dan Oelke) Date: Mon Aug 2 21:32:26 2004 Subject: [Mpls-pm] MIME::Base64 on Windows In-Reply-To: References: Message-ID: <40C5D706.7080308@oelke.com> One more idea - I don't know enough here to say if this is possible. So, maybe this will help Gypsy, *and* hopefully it will help me learn something new about perl. ;-) Is there a way to have the perl interpreter/compiler spit out a line as it goes into each function. Kind of like an strace but for every function call. That would at least give you an idea of what is causing the hang up. Dan Gypsy Rogers wrote: >I don't believe windows machines have error logs that or >they hide them in some obscure spot. I've already tried >squelching the buffer to no avail. > >And carping gives me nothing. > >Running the script from command line with use MIME::Base64; >uncommmented gives no output, running it commented gives me >my output. > >On Mon, 7 Jun 2004 13:56:21 -0500 > Josh Jore wrote: > > >>On Mon, Jun 07, 2004 at 01:31:40PM -0500, Gypsy Rogers >>wrote: >>} >>} I didn't use CGI.pm because it was a quicky test script >>to >>} prove a point... when use MIME::Base64; is uncommented >>the >>} script times out, when it is commented out the script >>works >>} fine. The script I sent was my test not the actual >>script >>} which was too long and might have had other errors in >>it. >> >>Well then perhaps you are "suffering from buffering" due >>to an >>error. Go search google using that phrase. See also >>Carp::CGI >>'fatalsToBrowser'. Further, see your error log to see if >>anything >>showed up there. >> >>-- >>Josh >> >> > >_______________________________________________ >Mpls-pm mailing list >Mpls-pm@pm.org >http://www.pm.org/mailman/listinfo/mpls-pm > > From James.FitzGibbon at target.com Tue Jun 8 10:18:21 2004 From: James.FitzGibbon at target.com (James.FitzGibbon) Date: Mon Aug 2 21:32:26 2004 Subject: [Mpls-pm] MIME::Base64 on Windows Message-ID: <39ECDD0CC54A1A44A2DDC489A86B2AFB129B48@EMAILSTORE07.target.com> This is from the perldebug manpage: If your rc file contains: parse_options("NonStop=1 LineInfo=db.out AutoTrace"); then your script will run without human intervention, putting trace information into the file db.out. (If you interrupt it, you'd better reset "LineInfo" to /dev/tty if you expect to see anything.) There's also Devel::Trace: http://search.cpan.org/~mjd/Devel-Trace-0.10/ -----Original Message----- From: mpls-pm-bounces@pm.org [mailto:mpls-pm-bounces@pm.org] On Behalf Of Dan Oelke Sent: Tuesday, June 08, 2004 10:11 AM To: Gypsy Rogers Cc: Mpls-pm@pm.org Subject: Re: [Mpls-pm] MIME::Base64 on Windows One more idea - I don't know enough here to say if this is possible. So, maybe this will help Gypsy, *and* hopefully it will help me learn something new about perl. ;-) Is there a way to have the perl interpreter/compiler spit out a line as it goes into each function. Kind of like an strace but for every function call. That would at least give you an idea of what is causing the hang up. Dan Gypsy Rogers wrote: >I don't believe windows machines have error logs that or >they hide them in some obscure spot. I've already tried squelching the >buffer to no avail. > >And carping gives me nothing. > >Running the script from command line with use MIME::Base64; >uncommmented gives no output, running it commented gives me my output. > >On Mon, 7 Jun 2004 13:56:21 -0500 > Josh Jore wrote: > > >>On Mon, Jun 07, 2004 at 01:31:40PM -0500, Gypsy Rogers >>wrote: >>} >>} I didn't use CGI.pm because it was a quicky test script >>to >>} prove a point... when use MIME::Base64; is uncommented >>the >>} script times out, when it is commented out the script >>works >>} fine. The script I sent was my test not the actual >>script >>} which was too long and might have had other errors in >>it. >> >>Well then perhaps you are "suffering from buffering" due >>to an >>error. Go search google using that phrase. See also >>Carp::CGI >>'fatalsToBrowser'. Further, see your error log to see if anything >>showed up there. >> >>-- >>Josh >> >> > >_______________________________________________ >Mpls-pm mailing list >Mpls-pm@pm.org >http://www.pm.org/mailman/listinfo/mpls-pm > > _______________________________________________ Mpls-pm mailing list Mpls-pm@pm.org http://www.pm.org/mailman/listinfo/mpls-pm From ericp at esp.com Tue Jun 22 14:45:11 2004 From: ericp at esp.com (Eric Putkonen) Date: Mon Aug 2 21:32:26 2004 Subject: [Mpls-pm] Direct hire, full-time - Perl Programmer Message-ID: <08922A4150FB024A9257756E5A586F250260B88B@espspi> The primary responsibilities of this position are to develop, document and maintain back-office related e-commerce software. Included in this key role are data design and project scope identification. Principal accountabilities include: Data structure design, Object Oriented design, and system upgrades. We seek candidates with demonstrated ability to troubleshoot, and identify database/system issues. Additional requirements include 4 years Unix experience, 2 years Perl, 2 years database design, 2 years software design and strong knowledge in HTML, Java Script, Style sheets and web presentation technologies. Ideally, recent web application development in Perl (complex web applications). Exposure to object oriented perl. Used MySQL with Perl and not just PHP. Eric Putkonen ESP The IT Candidate People (612) 337-9193 (800) 886-3086 ext. 193 ericp@esp.com www.esp.com From shemus at visi.com Wed Jun 30 17:34:51 2004 From: shemus at visi.com (shemus) Date: Mon Aug 2 21:32:26 2004 Subject: [Mpls-pm] perlmn Message-ID: <1983339210.20040630173451@visi.com> 6/30/2004 from Phillip Cawhorn Hello, I have not received any messages for several weeks now. Is anyone out there? From matt at omega.org Wed Jun 30 18:00:44 2004 From: matt at omega.org (Matthew Johnson) Date: Mon Aug 2 21:32:26 2004 Subject: [Mpls-pm] perlmn In-Reply-To: <1983339210.20040630173451@visi.com> References: <1983339210.20040630173451@visi.com> Message-ID: <510C2987-CAE9-11D8-99DD-000A95D92230@omega.org> Hello Phillip: Yes, We Are Here. I'm thinking about writing some perl code to do photo management. I want to create a directory tree according to the creation dates of all photos (i.e. Pics/2000/Jan/1) and move the photos to the correct folder in the tree according to their creation date. Then I was thinking about creating symbolic links in subject directories that point to the to the photos. On the website side of things, I like what [1]Chris G. did at his [2]site. It looks like he used a [3]database for his photos. That's my fun for this week. -Matt Johnson Links -- [1] http://www.phototour.minneapolis.mn.us/essays/intro.html [2] http://www.phototour.minneapolis.mn.us/ [3] http://www.phototour.minneapolis.mn.us/linux.html On Jun 30, 2004, at 5:34 PM, shemus wrote: > 6/30/2004 from Phillip Cawhorn > > > > Hello, I have not received any messages for several weeks now. Is > anyone out there? > > _______________________________________________ > Mpls-pm mailing list > Mpls-pm@pm.org > http://www.pm.org/mailman/listinfo/mpls-pm