FW: SPUG: Perl IIS and Out of Memory error.

William Julien moonbeam at catmanor.com
Fri Oct 22 19:27:43 CDT 1999


>
>I found that the line:
>my $date = strftime('%D',localtime);
>
>Is causing the problem.
>

Does your code include the proper 'use...' statement? eg:

-->perl -dpe 42

Loading DB routines from perl5db.pl version 1.0401
Emacs support available.

Enter h or `h h' for help.

main::(-e:0):   BEGIN { require 'perl5db.pl' };LINE: while (<>) {
  DB<1> use POSIX qw(strftime);

  DB<2> $date = strftime('%D',localtime);

  DB<3> print "$date"
10/22/99
  DB<4> q

An "out of memory" is a pretty bizzare error. But I suppose that
is "par" for a microsoft platform.

        _,'|            _.-''``-...___..--';
       /, \'.      _..-' ,      ,--...--'''
      < \   .`--'''      `     /| William Julien moonbeam at catmanor.com
       `-,;'              ;   ; ; http://www.catmanor.com/moonbeam/
 __...--''     __...--_..'  .;.'  vi is my shepherd; i shall not font.
(,__....----'''      (,..--''     
perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'


 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    POST TO: spug-list at pm.org        PROBLEMS: owner-spug-list at pm.org
 Seattle Perl Users Group (SPUG) Home Page: http://www.halcyon.com/spug/
 SUBSCRIBE/UNSUBSCRIBE: Replace ACTION below by subscribe or unsubscribe
        Email to majordomo at pm.org: ACTION spug-list your_address





More information about the spug-list mailing list