HP3000-L Archives

July 1997, Week 4

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
John Korb <[log in to unmask]>
Reply To:
John Korb <[log in to unmask]>
Date:
Mon, 28 Jul 1997 14:45:11 -0400
Content-Type:
TEXT/PLAIN
Parts/Attachments:
TEXT/PLAIN (33 lines)
OK, tonight I'm going to download Perl 5.003 to replace the Perl 5.001
that I'm presently using.  But before I do, can someone explain the
following?  Why are CONTENT_LENGTH and cl null in Perl, when
CONTENT_LENGTH displays properly in the shell?

   shell/iX> echo $TZ
   EST5EDT
   shell/iX> echo $CONTENT_LENGTH
   19
   shell/iX> /usr/local/bin/perl
      print "TZ = $ENV{'TZ'}\n";
      print "CONTENT_LENGTH = $ENV{'CONTENT_LENGTH'}\n";
      $tz=$ENV{'TZ'};
      $cl=$ENV{'CONTENT_LENGTH'};
      print "tz = $tz\n";
      print "cl = $cl\n";
   :eod
   TZ = EST5EDT
   CONTENT_LENGTH =
   tz = EST5EDT
   cl =
   shell/iX>

Thanks!

John
--------------------------------------------------------------
John Korb                            email: [log in to unmask]
Innovative Software Solutions, Inc.

The thoughts, comments, and opinions expressed herein are mine
and do not reflect those of my employer(s), or anyone else.

ATOM RSS1 RSS2