[13665] in Perl-Users-Digest

home help back first fref pref prev next nref lref last post

Perl-Users Digest, Issue: 1075 Volume: 9

daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Fri Oct 15 15:42:34 1999

Date: Fri, 15 Oct 1999 12:42:17 -0700 (PDT)
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)
Message-Id: <940016537-v9-i1075@ruby.oce.orst.edu>
Content-Type: text

Perl-Users Digest           Fri, 15 Oct 1999     Volume: 9 Number: 1075

Today's topics:
        problem with telnet.pl (JD)
        problems with date::manip <inna@raykhman.com>
    Re: problems with date::manip (Martien Verbruggen)
        Digest Administrivia (Last modified: 16 Sep 99) (Perl-Users-Digest Admin)

----------------------------------------------------------------------

Date: Fri, 15 Oct 1999 12:32:46 GMT
From: sp1d3rjd@yahoo.com (JD)
Subject: problem with telnet.pl
Message-Id: <38071ee3.8104684@news.erols.com>

I have been trying to use the telnet.pm module but with some problems,
here is the code ....


I ran the program  and it gave me no output except for the input and
dump logs.....then i logged in my self using the usual telnet method
and performed a last gator|more and it showed that it did log in but
did not perform the $command like it was supposed to....I am wondering
why I did not see the output for the ps command on my screen(when the
program was ran) and why it did not show up when i checked it using
the regular telnet 128.220.101.100 method.  Can any one tell me why i
did not see the ps command give its output....Does this have anything
to do with setting the cmd_remove_mode value.....Also included is the
input_log file and dump_log file that was created excluding my
password (obviously)

Thanks for you help....

JD Durick
AT&T Information Security Center
Columbia, MD
=================================================================================================================

<ACTUAL PROGRAM:  telnet.pl>

#!/usr/bin/perl

use strict;
use Net::Telnet;

# Config Variables
my $host = '128.220.101.100';
my $command = '/usr/bin/who > who_log';
my $com1='/usr/bin/ps';
my $user = 'gator';
my $pass = 'thepassword';

my $telnet = Net::Telnet->new(-host => $host, -prompt => '/[aplcenmp
!>>] $/', Dump_log => "dump_log",Input_log => "input_log",
                              -timeout => 240);

die "Can't connect to $host: $!" unless $telnet;

# login
$telnet->login($user, $pass)
        or die "login failed: @{[$telnet->errmsg]}";

# execute the command
my @output = $telnet->cmd($command);

# dump the output
print @output;
$telnet->close;

========================================================================================================================

<INPUT_LOG>
SunOS 5.6



Sun Microsystems Inc.   SunOS 5.6       Generic August 1997


              (aplcenMP) : SUN 64bit Ultra Enterprise 450 


                             Computer Center for
                        The Johns Hopkins University
           Part-Time Programs in Engineering and Applied Science

                Using JHU academic computers for e-mail spamming
           is strictly against school and computer facility policies 
           and is cause for losing computer account as a minimum .

*****************************************************************************
*  WARNING:  UNAUTHORIZED ACCESS TO THIS SYSTEM IS IN VIOLATION OF
ARTICLE  * 
*  27, SECTION 146 OF THE ANNOTATED CODE OF MARYLAND.  THE JOHNS
HOPKINS    *
*  UNIVERSITY MONITORS THIS SYSTEM TO ENSURE COMPLIANCE WITH
UNIVERSITY     *
*  POLICIES AND ALL APPLICABLE LAWS PERTAINING TO ACCESS AND USE OF
*
*  COMPUTER SYSTEMS.  THIS MESSAGE CONSTITUTES NOTICE THAT BY
ACCESSING     *
*  THIS SYSTEM, YOU CONSENT TO SUCH MONITORING.  IF SUCH MONITORING
*
*  REVEALS SUSPECTED UNLAWFUL CONDUCT, THE MATTER MAY BE REFERRED TO
*
*  LAW ENFORCEMENT OFFICIALS AND/OR APPROPRIATE OFFICIALS OF THE JOHNS
*
*  HOPKINS UNIVERSITY.
*
*****************************************************************************

        Running IRC related programs on this system is strictly
against
        school and computer facility policies and is cause for losing
        computer account. 



login: gator
Password: 
Last login: Thu Oct 14 20:29:42 from 216-164-138-81.s
Sun Microsystems Inc.   SunOS 5.6       Generic August 1997


              (aplcenMP) : SUN 64bit Ultra Enterprise 450 


                             Computer Center for
                        The Johns Hopkins University
           Part-Time Programs in Engineering and Applied Science

                Using JHU academic computers for e-mail spamming
           is strictly against school and computer facility policies 
           and is cause for losing computer account as a minimum .

*****************************************************************************
*  WARNING:  UNAUTHORIZED ACCESS TO THIS SYSTEM IS IN VIOLATION OF
ARTICLE  * 
*  27, SECTION 146 OF THE ANNOTATED CODE OF MARYLAND.  THE JOHNS
HOPKINS    *
*  UNIVERSITY MONITORS THIS SYSTEM TO ENSURE COMPLIANCE WITH
UNIVERSITY     *
*  POLICIES AND ALL APPLICABLE LAWS PERTAINING TO ACCESS AND USE OF
*
*  COMPUTER SYSTEMS.  THIS MESSAGE CONSTITUTES NOTICE THAT BY
ACCESSING     *
*  THIS SYSTEM, YOU CONSENT TO SUCH MONITORING.  IF SUCH MONITORING
*
*  REVEALS SUSPECTED UNLAWFUL CONDUCT, THE MATTER MAY BE REFERRED TO
*
*  LAW ENFORCEMENT OFFICIALS AND/OR APPROPRIATE OFFICIALS OF THE JOHNS
*
*  HOPKINS UNIVERSITY.
*
*****************************************************************************

        Running IRC related programs on this system is strictly
against
        school and computer facility policies and is cause for losing
        computer account. 


**********************************************************************
    * Both JDK 1.1.x and JDK 1.2.x (Java2) are available on this
system. *
    * The respective paths are:
*
    *                                   /usr/java/bin for JDK 1.1
*
    *                   and
*
    *                           /usr/java1.2/bin for JDK 1.2 (Java2)
*

**********************************************************************


You have mail.
TERM = (vt100) 



=====================================================================================================================

<DUMP_LOG>


< 0x00000: ff fd 18 ff  fd 1f ff fd  23 ff fd 27  ff fd 24
ÿý.ÿý.ÿý#ÿý'ÿý$

> 0x00000: ff fc 18 ff  fc 1f ff fc  23 ff fc 27  ff fc 24     ÿü.ÿü.ÿü#ÿü'ÿü$

< 0x00000: ff fe 18 ff  fe 1f ff fe  23 ff fe 27  ff fe 24 0d
ÿþ.ÿþ.ÿþ#ÿþ'ÿþ$.
< 0x00010: 0a 0d 0a 53  75 6e 4f 53  20 35 2e 36  0d 0a 0d 00
 ..SunOS 5.6....
< 0x00020: 0d 0a 0d 00                                         ....

< 0x00000: ff fb 01 ff  fb 03 ff fd  01 53 75 6e  20 4d 69 63
ÿû.ÿû.ÿý.Sun Mic
< 0x00010: 72 6f 73 79  73 74 65 6d  73 20 49 6e  63 2e 20 20
rosystems Inc.  
< 0x00020: 20 53 75 6e  4f 53 20 35  2e 36 20 20  20 20 20 20   SunOS
5.6      
< 0x00030: 20 47 65 6e  65 72 69 63  20 41 75 67  75 73 74 20
Generic August 
< 0x00040: 31 39 39 37  0d 0a 0d 0a  0d 0a 20 20  20 20 20 20
1997......      
< 0x00050: 20 20 20 20  20 20 20 20  28 61 70 6c  63 65 6e 4d
(aplcenM
< 0x00060: 50 29 20 3a  20 53 55 4e  20 36 34 62  69 74 20 55  P) :
SUN 64bit U
< 0x00070: 6c 74 72 61  20 45 6e 74  65 72 70 72  69 73 65 20  ltra
Enterprise 
< 0x00080: 34 35 30 20  0d 0a 0d 0a  0d 0a 20 20  20 20 20 20  450
 .....      
< 0x00090: 20 20 20 20  20 20 20 20  20 20 20 20  20 20 20 20

< 0x000a0: 20 20 20 20  20 20 20 43  6f 6d 70 75  74 65 72 20
Computer 
< 0x000b0: 43 65 6e 74  65 72 20 66  6f 72 0d 0a  20 20 20 20  Center
for..    
< 0x000c0: 20 20 20 20  20 20 20 20  20 20 20 20  20 20 20 20

< 0x000d0: 20 20 20 20  54 68 65 20  4a 6f 68 6e  73 20 48 6f      The
Johns Ho
< 0x000e0: 70 6b 69 6e  73 20 55 6e  69 76 65 72  73 69 74 79  pkins
University
< 0x000f0: 0d 0a 20 20  20 20 20 20  20 20 20 20  20 50 61 72  ..
Par
< 0x00100: 74 2d 54 69  6d 65 20 50  72 6f 67 72  61 6d 73 20  t-Time
Programs 
< 0x00110: 69 6e 20 45  6e 67 69 6e  65 65 72 69  6e 67 20 61  in
Engineering a
< 0x00120: 6e 64 20 41  70 70 6c 69  65 64 20 53  63 69 65 6e  nd
Applied Scien
< 0x00130: 63 65 0d 0a  0d 0a 20 20  20 20 20 20  20 20 20 20  ce....

< 0x00140: 20 20 20 20  20 20 55 73  69 6e 67 20  4a 48 55 20
Using JHU 
< 0x00150: 61 63 61 64  65 6d 69 63  20 63 6f 6d  70 75 74 65
academic compute
< 0x00160: 72 73 20 66  6f 72 20 65  2d 6d 61 69  6c 20 73 70  rs for
e-mail sp
< 0x00170: 61 6d 6d 69  6e 67 0d 0a  20 20 20 20  20 20 20 20
amming..        
< 0x00180: 20 20 20 69  73 20 73 74  72 69 63 74  6c 79 20 61     is
strictly a
< 0x00190: 67 61 69 6e  73 74 20 73  63 68 6f 6f  6c 20 61 6e  gainst
school an
< 0x001a0: 64 20 63 6f  6d 70 75 74  65 72 20 66  61 63 69 6c  d
computer facil
< 0x001b0: 69 74 79 20  70 6f 6c 69  63 69 65 73  20 0d 0a 20  ity
policies .. 
< 0x001c0: 20 20 20 20  20 20 20 20  20 20 61 6e  64 20 69 73
and is
< 0x001d0: 20 63 61 75  73 65 20 66  6f 72 20 6c  6f 73 69 6e   cause
for losin
< 0x001e0: 67 20 63 6f  6d 70 75 74  65 72 20 61  63 63 6f 75  g
computer accou
< 0x001f0: 6e 74 20 61  73 20 61 20  6d 69 6e 69  6d 75 6d 20  nt as a
minimum 
< 0x00200: 2e 0d 0a 0d  0a 2a 2a 2a  2a 2a 2a 2a  2a 2a 2a 2a
 ....***********
< 0x00210: 2a 2a 2a 2a  2a 2a 2a 2a  2a 2a 2a 2a  2a 2a 2a 2a
****************
< 0x00220: 2a 2a 2a 2a  2a 2a 2a 2a  2a 2a 2a 2a  2a 2a 2a 2a
****************
< 0x00230: 2a 2a 2a 2a  2a 2a 2a 2a  2a 2a 2a 2a  2a 2a 2a 2a
****************
< 0x00240: 2a 2a 2a 2a  2a 2a 2a 2a  2a 2a 2a 2a  2a 2a 2a 2a
****************
< 0x00250: 2a 2a 0d 0a  2a 20 20 57  41 52 4e 49  4e 47 3a 20  **..*
WARNING: 
< 0x00260: 20 55 4e 41  55 54 48 4f  52 49 5a 45  44 20 41 43
UNAUTHORIZED AC
< 0x00270: 43 45 53 53  20 54 4f 20  54 48 49 53  20 53 59 53  CESS TO
THIS SYS
< 0x00280: 54 45 4d 20  49 53 20 49  4e 20 56 49  4f 4c 41 54  TEM IS
IN VIOLAT
< 0x00290: 49 4f 4e 20  4f 46 20 41  52 54 49 43  4c 45 20 20  ION OF
ARTICLE  
< 0x002a0: 2a 20 0d 0a  2a 20 20 32  37 2c 20 53  45 43 54 49  * ..*
27. SECTI
< 0x002b0: 4f 4e 20 31  34 36 20 4f  46 20 54 48  45 20 41 4e  ON 146
OF THE AN
< 0x002c0: 4e 4f 54 41  54 45 44 20  43 4f 44 45  20 4f 46 20  NOTATED
CODE OF 
< 0x002d0: 4d 41 52 59  4c 41 4e 44  2e 20 20 54  48 45 20 4a
MARYLAND.  THE J
< 0x002e0: 4f 48 4e 53  20 48 4f 50  4b 49 4e 53  20 20 20 20  OHNS
HOPKINS    
< 0x002f0: 2a 0d 0a 2a  20 20 55 4e  49 56 45 52  53 49 54 59  *..*
UNIVERSITY
< 0x00300: 20 4d 4f 4e  49 54 4f 52  53 20 54 48  49 53 20 53
MONITORS THIS S
< 0x00310: 59 53 54 45  4d 20 54 4f  20 45 4e 53  55 52 45 20  YSTEM
TO ENSURE 
< 0x00320: 43 4f 4d 50  4c 49 41 4e  43 45 20 57  49 54 48 20
COMPLIANCE WITH 
< 0x00330: 55 4e 49 56  45 52 53 49  54 59 20 20  20 20 20 2a
UNIVERSITY     *
< 0x00340: 0d 0a 2a 20  20 50 4f 4c  49 43 49 45  53 20 41 4e  ..*
POLICIES AN
< 0x00350: 44 20 41 4c  4c 20 41 50  50 4c 49 43  41 42 4c 45  D ALL
APPLICABLE
< 0x00360: 20 4c 41 57  53 20 50 45  52 54 41 49  4e 49 4e 47   LAWS
PERTAINING
< 0x00370: 20 54 4f 20  41 43 43 45  53 53 20 41  4e 44 20 55   TO
ACCESS AND U
< 0x00380: 53 45 20 4f  46 20 20 20  20 20 20 20  20 20 2a 0d  SE OF
*.
< 0x00390: 0a 2a 20 20  43 4f 4d 50  55 54 45 52  20 53 59 53  .*
COMPUTER SYS
< 0x003a0: 54 45 4d 53  2e 20 20 54  48 49 53 20  4d 45 53 53  TEMS.
THIS MESS
< 0x003b0: 41 47 45 20  43 4f 4e 53  54 49 54 55  54 45 53 20  AGE
CONSTITUTES 
< 0x003c0: 4e 4f 54 49  43 45 20 54  48 41 54 20  42 59 20 41  NOTICE
THAT BY A
< 0x003d0: 43 43 45 53  53 49 4e 47  20 20 20 20  20 2a 0d 0a
CCESSING     *..
< 0x003e0: 2a 20 20 54  48 49 53 20  53 59 53 54  45 4d 2c 20  *  THIS
SYSTEM. 
< 0x003f0: 59 4f 55 20  43 4f 4e 53  45 4e 54 20  54 4f 20 53  YOU
CONSENT TO S

> 0x00000: ff fd 01 ff  fd 03 ff fc  01                        ÿý.ÿý.ÿü.

< 0x00000: 55 43 48 20  4d 4f 4e 49  54 4f 52 49  4e 47 2e 20  UCH
MONITORING. 
< 0x00010: 20 49 46 20  53 55 43 48  20 4d 4f 4e  49 54 4f 52   IF
SUCH MONITOR
< 0x00020: 49 4e 47 20  20 20 20 20  20 20 20 20  2a 0d 0a 2a  ING
*..*
< 0x00030: 20 20 52 45  56 45 41 4c  53 20 53 55  53 50 45 43
REVEALS SUSPEC
< 0x00040: 54 45 44 20  55 4e 4c 41  57 46 55 4c  20 43 4f 4e  TED
UNLAWFUL CON
< 0x00050: 44 55 43 54  2c 20 54 48  45 20 4d 41  54 54 45 52  DUCT.
THE MATTER
< 0x00060: 20 4d 41 59  20 42 45 20  52 45 46 45  52 52 45 44   MAY BE
REFERRED
< 0x00070: 20 54 4f 20  20 20 20 20  20 20 20 2a  0d 0a 2a 20   TO
*..* 
< 0x00080: 20 4c 41 57  20 45 4e 46  4f 52 43 45  4d 45 4e 54   LAW
ENFORCEMENT
< 0x00090: 20 4f 46 46  49 43 49 41  4c 53 20 41  4e 44 2f 4f
OFFICIALS AND/O
< 0x000a0: 52 20 41 50  50 52 4f 50  52 49 41 54  45 20 4f 46  R
APPROPRIATE OF
< 0x000b0: 46 49 43 49  41 4c 53 20  4f 46 20 54  48 45 20 4a  FICIALS
OF THE J
< 0x000c0: 4f 48 4e 53  20 20 20 20  20 20 2a 0d  0a 2a 20 20  OHNS
*..*  
< 0x000d0: 48 4f 50 4b  49 4e 53 20  55 4e 49 56  45 52 53 49  HOPKINS
UNIVERSI
< 0x000e0: 54 59 2e 20  20 20 20 20  20 20 20 20  20 20 20 20  TY.

< 0x000f0: 20 20 20 20  20 20 20 20  20 20 20 20  20 20 20 20

< 0x00100: 20 20 20 20  20 20 20 20  20 20 20 20  20 20 20 20

< 0x00110: 20 20 20 20  20 20 20 20  20 2a 0d 0a  2a 2a 2a 2a
*..****
< 0x00120: 2a 2a 2a 2a  2a 2a 2a 2a  2a 2a 2a 2a  2a 2a 2a 2a
****************
< 0x00130: 2a 2a 2a 2a  2a 2a 2a 2a  2a 2a 2a 2a  2a 2a 2a 2a
****************
< 0x00140: 2a 2a 2a 2a  2a 2a 2a 2a  2a 2a 2a 2a  2a 2a 2a 2a
****************
< 0x00150: 2a 2a 2a 2a  2a 2a 2a 2a  2a 2a 2a 2a  2a 2a 2a 2a
****************
< 0x00160: 2a 2a 2a 2a  2a 2a 2a 2a  2a 0d 0a 0d  0a 20 20 20
*********....   
< 0x00170: 20 20 20 20  20 52 75 6e  6e 69 6e 67  20 49 52 43
Running IRC
< 0x00180: 20 72 65 6c  61 74 65 64  20 70 72 6f  67 72 61 6d
related program
< 0x00190: 73 20 6f 6e  20 74 68 69  73 20 73 79  73 74 65 6d  s on
this system
< 0x001a0: 20 69 73 20  73 74 72 69  63 74 6c 79  20 61 67 61   is
strictly aga
< 0x001b0: 69 6e 73 74  0d 0a                                  inst..

< 0x00000: 20 20 20 20  20 20 20 20  73 63 68 6f  6f 6c 20 61
school a
< 0x00010: 6e 64 20 63  6f 6d 70 75  74 65 72 20  66 61 63 69  nd
computer faci
< 0x00020: 6c 69 74 79  20 70 6f 6c  69 63 69 65  73 20 61 6e  lity
policies an
< 0x00030: 64 20 69 73  20 63 61 75  73 65 20 66  6f 72 20 6c  d is
cause for l
< 0x00040: 6f 73 69 6e  67 0d 0a 20  20 20 20 20  20 20 20 63  osing..
c
< 0x00050: 6f 6d 70 75  74 65 72 20  61 63 63 6f  75 6e 74 2e  omputer
account.
< 0x00060: 20 0d 0a 0d  0a 0d 0a 0d  0a 6c 6f 67  69 6e 3a 20
 .......login: 

> 0x00000: 67 61 74 6f  72 0d 0a                               gator..

< 0x00000: ff fe 01                                            ÿþ.

< 0x00000: 67 61 74 6f  72 0d 0a 50  61 73 73 77  6f 72 64 3a
gator..Password:
< 0x00010: 20                                                   

> 0x00000: 45 58 50 6c  2e 31 33 0d  0a                        thepassword..

< 0x00000: 0d 0a                                               ..

< 0x00000: 4c 61 73 74  20 6c 6f 67  69 6e 3a 20  54 68 75 20  Last
login: Thu 
< 0x00010: 4f 63 74 20  31 34 20 32  30 3a 32 39  3a 34 32 20  Oct 14
20:29:42 
< 0x00020: 66 72 6f 6d  20 32 31 36  2d 31 36 34  2d 31 33 38  from
216-164-138
< 0x00030: 2d 38 31 2e  73 0d 0a                               -81.s..

< 0x00000: 53 75 6e 20  4d 69 63 72  6f 73 79 73  74 65 6d 73  Sun
Microsystems
< 0x00010: 20 49 6e 63  2e 20 20 20  53 75 6e 4f  53 20 35 2e   Inc.
SunOS 5.
< 0x00020: 36 20 20 20  20 20 20 20  47 65 6e 65  72 69 63 20  6
Generic 
< 0x00030: 41 75 67 75  73 74 20 31  39 39 37 0d  0a 0d 0a 0d  August
1997.....
< 0x00040: 0a 20 20 20  20 20 20 20  20 20 20 20  20 20 20 28  .
(
< 0x00050: 61 70 6c 63  65 6e 4d 50  29 20 3a 20  53 55 4e 20
aplcenMP) : SUN 
< 0x00060: 36 34 62 69  74 20 55 6c  74 72 61 20  45 6e 74 65  64bit
Ultra Ente
< 0x00070: 72 70 72 69  73 65 20 34  35 30 20 0d  0a 0d 0a 0d  rprise
450 .....
< 0x00080: 0a 20 20 20  20 20 20 20  20 20 20 20  20 20 20 20  .

< 0x00090: 20 20 20 20  20 20 20 20  20 20 20 20  20 20 43 6f
Co
< 0x000a0: 6d 70 75 74  65 72 20 43  65 6e 74 65  72 20 66 6f  mputer
Center fo
< 0x000b0: 72 0d 0a 20  20 20 20 20  20 20 20 20  20 20 20 20  r..

< 0x000c0: 20 20 20 20  20 20 20 20  20 20 20 54  68 65 20 4a
The J
< 0x000d0: 6f 68 6e 73  20 48 6f 70  6b 69 6e 73  20 55 6e 69  ohns
Hopkins Uni
< 0x000e0: 76 65 72 73  69 74 79 0d  0a 20 20 20  20 20 20 20
versity..       
< 0x000f0: 20 20 20 20  50 61 72 74  2d 54 69 6d  65 20 50 72
Part-Time Pr
< 0x00100: 6f 67 72 61  6d 73 20 69  6e 20 45 6e  67 69 6e 65  ograms
in Engine
< 0x00110: 65 72 69 6e  67 20 61 6e  64 20 41 70  70 6c 69 65  ering
and Applie
< 0x00120: 64 20 53 63  69 65 6e 63  65 0d 0a 0d  0a 20 20 20  d
Science....   
< 0x00130: 20 20 20 20  20 20 20 20  20 20 20 20  20 55 73 69
Usi
< 0x00140: 6e 67 20 4a  48 55 20 61  63 61 64 65  6d 69 63 20  ng JHU
academic 
< 0x00150: 63 6f 6d 70  75 74 65 72  73 20 66 6f  72 20 65 2d
computers for e-
< 0x00160: 6d 61 69 6c  20 73 70 61  6d 6d 69 6e  67 0d 0a 20  mail
spamming.. 
< 0x00170: 20 20 20 20  20 20 20 20  20 20 69 73  20 73 74 72
is str
< 0x00180: 69 63 74 6c  79 20 61 67  61 69 6e 73  74 20 73 63  ictly
against sc
< 0x00190: 68 6f 6f 6c  20 61 6e 64  20 63 6f 6d  70 75 74 65  hool
and compute
< 0x001a0: 72 20 66 61  63 69 6c 69  74 79 20 70  6f 6c 69 63  r
facility polic
< 0x001b0: 69 65 73 20  0d 0a 20 20  20 20 20 20  20 20 20 20  ies ..

< 0x001c0: 20 61 6e 64  20 69 73 20  63 61 75 73  65 20 66 6f   and is
cause fo
< 0x001d0: 72 20 6c 6f  73 69 6e 67  20 63 6f 6d  70 75 74 65  r
losing compute
< 0x001e0: 72 20 61 63  63 6f 75 6e  74 20 61 73  20 61 20 6d  r
account as a m
< 0x001f0: 69 6e 69 6d  75 6d 20 2e  0d 0a 0d 0a  2a 2a 2a 2a  inimum
 .....****
< 0x00200: 2a 2a 2a 2a  2a 2a 2a 2a  2a 2a 2a 2a  2a 2a 2a 2a
****************
< 0x00210: 2a 2a 2a 2a  2a 2a 2a 2a  2a 2a 2a 2a  2a 2a 2a 2a
****************
< 0x00220: 2a 2a 2a 2a  2a 2a 2a 2a  2a 2a 2a 2a  2a 2a 2a 2a
****************
< 0x00230: 2a 2a 2a 2a  2a 2a 2a 2a  2a 2a 2a 2a  2a 2a 2a 2a
****************
< 0x00240: 2a 2a 2a 2a  2a 2a 2a 2a  2a 0d 0a 2a  20 20 57 41
*********..*  WA
< 0x00250: 52 4e 49 4e  47 3a 20 20  55 4e 41 55  54 48 4f 52  RNING:
UNAUTHOR
< 0x00260: 49 5a 45 44  20 41 43 43  45 53 53 20  54 4f 20 54  IZED
ACCESS TO T
< 0x00270: 48 49 53 20  53 59 53 54  45 4d 20 49  53 20 49 4e  HIS
SYSTEM IS IN
< 0x00280: 20 56 49 4f  4c 41 54 49  4f 4e 20 4f  46 20 41 52
VIOLATION OF AR
< 0x00290: 54 49 43 4c  45 20 20 2a  20 0d 0a 2a  20 20 32 37  TICLE
* ..*  27
< 0x002a0: 2c 20 53 45  43 54 49 4f  4e 20 31 34  36 20 4f 46  .
SECTION 146 OF
< 0x002b0: 20 54 48 45  20 41 4e 4e  4f 54 41 54  45 44 20 43   THE
ANNOTATED C
< 0x002c0: 4f 44 45 20  4f 46 20 4d  41 52 59 4c  41 4e 44 2e  ODE OF
MARYLAND.
< 0x002d0: 20 20 54 48  45 20 4a 4f  48 4e 53 20  48 4f 50 4b    THE
JOHNS HOPK
< 0x002e0: 49 4e 53 20  20 20 20 2a  0d 0a 2a 20  20 55 4e 49  INS
*..*  UNI
< 0x002f0: 56 45 52 53  49 54 59 20  4d 4f 4e 49  54 4f 52 53  VERSITY
MONITORS
< 0x00300: 20 54 48 49  53 20 53 59  53 54 45 4d  20 54 4f 20   THIS
SYSTEM TO 
< 0x00310: 45 4e 53 55  52 45 20 43  4f 4d 50 4c  49 41 4e 43  ENSURE
COMPLIANC
< 0x00320: 45 20 57 49  54 48 20 55  4e 49 56 45  52 53 49 54  E WITH
UNIVERSIT
< 0x00330: 59 20 20 20  20 20 2a 0d  0a 2a 20 20  50 4f 4c 49  Y
*..*  POLI
< 0x00340: 43 49 45 53  20 41 4e 44  20 41 4c 4c  20 41 50 50  CIES
AND ALL APP
< 0x00350: 4c 49 43 41  42 4c 45 20  4c 41 57 53  20 50 45 52  LICABLE
LAWS PER
< 0x00360: 54 41 49 4e  49 4e 47 20  54 4f 20 41  43 43 45 53  TAINING
TO ACCES
< 0x00370: 53 20 41 4e  44 20 55 53  45 20 4f 46  20 20 20 20  S AND
USE OF    
< 0x00380: 20 20 20 20  20 2a 0d 0a  2a 20 20 43  4f 4d 50 55
*..*  COMPU
< 0x00390: 54 45 52 20  53 59 53 54  45 4d 53 2e  20 20 54 48  TER
SYSTEMS.  TH
< 0x003a0: 49 53 20 4d  45 53 53 41  47 45 20 43  4f 4e 53 54  IS
MESSAGE CONST
< 0x003b0: 49 54 55 54  45 53 20 4e  4f 54 49 43  45 20 54 48  ITUTES
NOTICE TH
< 0x003c0: 41 54 20 42  59 20 41 43  43 45 53 53  49 4e 47 20  AT BY
ACCESSING 
< 0x003d0: 20 20 20 20  2a 0d 0a 2a  20 20 54 48  49 53 20 53
*..*  THIS S
< 0x003e0: 59 53 54 45  4d 2c 20 59  4f 55 20 43  4f 4e 53 45  YSTEM.
YOU CONSE
< 0x003f0: 4e 54 20 54  4f 20 53 55  43 48 20 4d  4f 4e 49 54  NT TO
SUCH MONIT

< 0x00000: 4f 52 49 4e  47 2e 20 20  49 46 20 53  55 43 48 20  ORING.
IF SUCH 
< 0x00010: 4d 4f 4e 49  54 4f 52 49  4e 47 20 20  20 20 20 20
MONITORING      
< 0x00020: 20 20 20 2a  0d 0a 2a 20  20 52 45 56  45 41 4c 53     *..*
REVEALS
< 0x00030: 20 53 55 53  50 45 43 54  45 44 20 55  4e 4c 41 57
SUSPECTED UNLAW
< 0x00040: 46 55 4c 20  43 4f 4e 44  55 43 54 2c  20 54 48 45  FUL
CONDUCT. THE
< 0x00050: 20 4d 41 54  54 45 52 20  4d 41 59 20  42 45 20 52   MATTER
MAY BE R
< 0x00060: 45 46 45 52  52 45 44 20  54 4f 20 20  20 20 20 20  EFERRED
TO      
< 0x00070: 20 20 2a 0d  0a 2a 20 20  4c 41 57 20  45 4e 46 4f    *..*
LAW ENFO
< 0x00080: 52 43 45 4d  45 4e 54 20  4f 46 46 49  43 49 41 4c  RCEMENT
OFFICIAL
< 0x00090: 53 20 41 4e  44 2f 4f 52  20 41 50 50  52 4f 50 52  S
AND/OR APPROPR
< 0x000a0: 49 41 54 45  20 4f 46 46  49 43 49 41  4c 53 20 4f  IATE
OFFICIALS O
< 0x000b0: 46 20 54 48  45 20 4a 4f  48 4e 53 20  20 20 20 20  F THE
JOHNS     
< 0x000c0: 20 2a 0d 0a  2a 20 20 48  4f 50 4b 49  4e 53 20 55   *..*
HOPKINS U
< 0x000d0: 4e 49 56 45  52 53 49 54  59 2e 20 20  20 20 20 20
NIVERSITY.      
< 0x000e0: 20 20 20 20  20 20 20 20  20 20 20 20  20 20 20 20

< 0x000f0: 20 20 20 20  20 20 20 20  20 20 20 20  20 20 20 20

< 0x00100: 20 20 20 20  20 20 20 20  20 20 20 20  20 20 20 20

< 0x00110: 2a 0d 0a 2a  2a 2a 2a 2a  2a 2a 2a 2a  2a 2a 2a 2a
*..*************
< 0x00120: 2a 2a 2a 2a  2a 2a 2a 2a  2a 2a 2a 2a  2a 2a 2a 2a
****************
< 0x00130: 2a 2a 2a 2a  2a 2a 2a 2a  2a 2a 2a 2a  2a 2a 2a 2a
****************
< 0x00140: 2a 2a 2a 2a  2a 2a 2a 2a  2a 2a 2a 2a  2a 2a 2a 2a
****************
< 0x00150: 2a 2a 2a 2a  2a 2a 2a 2a  2a 2a 2a 2a  2a 2a 2a 2a
****************
< 0x00160: 0d 0a 0d 0a  20 20 20 20  20 20 20 20  52 75 6e 6e  ....
Runn
< 0x00170: 69 6e 67 20  49 52 43 20  72 65 6c 61  74 65 64 20  ing IRC
related 
< 0x00180: 70 72 6f 67  72 61 6d 73  20 6f 6e 20  74 68 69 73
programs on this
< 0x00190: 20 73 79 73  74 65 6d 20  69 73 20 73  74 72 69 63   system
is stric
< 0x001a0: 74 6c 79 20  61 67 61 69  6e 73 74 0d  0a 20 20 20  tly
against..   
< 0x001b0: 20 20 20 20  20 73 63 68  6f 6f 6c 20  61 6e 64 20
school and 
< 0x001c0: 63 6f 6d 70  75 74 65 72  20 66 61 63  69 6c 69 74
computer facilit
< 0x001d0: 79 20 70 6f  6c 69 63 69  65 73 20 61  6e 64 20 69  y
policies and i
< 0x001e0: 73 20 63 61  75 73 65 20  66 6f 72 20  6c 6f 73 69  s cause
for losi
< 0x001f0: 6e 67 0d 0a  20 20 20 20  20 20 20 20  63 6f 6d 70  ng..
comp
< 0x00200: 75 74 65 72  20 61 63 63  6f 75 6e 74  2e 20 0d 0a  uter
account. ..
< 0x00210: 0d 0a 20 20  20 20 2a 2a  2a 2a 2a 2a  2a 2a 2a 2a  ..
**********
< 0x00220: 2a 2a 2a 2a  2a 2a 2a 2a  2a 2a 2a 2a  2a 2a 2a 2a
****************
< 0x00230: 2a 2a 2a 2a  2a 2a 2a 2a  2a 2a 2a 2a  2a 2a 2a 2a
****************
< 0x00240: 2a 2a 2a 2a  2a 2a 2a 2a  2a 2a 2a 2a  2a 2a 2a 2a
****************
< 0x00250: 2a 2a 2a 2a  2a 2a 2a 2a  2a 2a 2a 2a  0d 0a 20 20
************..  
< 0x00260: 20 20 2a 20  42 6f 74 68  20 4a 44 4b  20 31 2e 31    *
Both JDK 1.1
< 0x00270: 2e 78 20 61  6e 64 20 4a  44 4b 20 31  2e 32 2e 78  .x and
JDK 1.2.x
< 0x00280: 20 28 4a 61  76 61 32 29  20 61 72 65  20 61 76 61
(Java2) are ava
< 0x00290: 69 6c 61 62  6c 65 20 6f  6e 20 74 68  69 73 20 73  ilable
on this s
< 0x002a0: 79 73 74 65  6d 2e 20 2a  0d 0a 20 20  20 20 2a 20  ystem.
*..    * 
< 0x002b0: 54 68 65 20  72 65 73 70  65 63 74 69  76 65 20 70  The
respective p
< 0x002c0: 61 74 68 73  20 61 72 65  3a 20 20 20  20 20 20 20  aths
are:       
< 0x002d0: 20 20 20 20  20 20 20 20  20 20 20 20  20 20 20 20

< 0x002e0: 20 20 20 20  20 20 20 20  20 20 20 20  20 20 20 20

< 0x002f0: 20 20 20 2a  0d 0a 20 20  20 20 2a 20  20 20 20 20     *..
*     
< 0x00300: 20 20 20 20  20 20 20 20  20 20 20 20  20 20 20 20

< 0x00310: 20 20 20 20  20 20 20 20  20 20 20 20  20 20 2f 75
/u
< 0x00320: 73 72 2f 6a  61 76 61 2f  62 69 6e 20  66 6f 72 20
sr/java/bin for 
< 0x00330: 4a 44 4b 20  31 2e 31 20  20 20 20 20  20 20 20 2a  JDK 1.1
*
< 0x00340: 0d 0a 20 20  20 20 2a 20  20 20 20 20  20 20 20 20  ..    *

< 0x00350: 20 20 20 20  20 20 20 20  20 20 61 6e  64 20 20 20
and   
< 0x00360: 20 20 20 20  20 20 20 20  20 20 20 20  20 20 20 20

< 0x00370: 20 20 20 20  20 20 20 20  20 20 20 20  20 20 20 20

< 0x00380: 20 20 20 20  20 20 20 20  20 20 20 2a  0d 0a 20 20
*..  
< 0x00390: 20 20 2a 20  20 20 20 20  20 20 20 20  20 20 20 20    *

< 0x003a0: 20 20 20 20  20 20 20 20  20 20 20 20  20 20 2f 75
/u
< 0x003b0: 73 72 2f 6a  61 76 61 31  2e 32 2f 62  69 6e 20 66
sr/java1.2/bin f
< 0x003c0: 6f 72 20 4a  44 4b 20 31  2e 32 20 28  4a 61 76 61  or JDK
1.2 (Java
< 0x003d0: 32 29 20 20  20 20 20 2a  0d 0a 20 20  20 20 2a 2a  2)
*..    **
< 0x003e0: 2a 2a 2a 2a  2a 2a 2a 2a  2a 2a 2a 2a  2a 2a 2a 2a
****************
< 0x003f0: 2a 2a 2a 2a  2a 2a 2a 2a  2a 2a 2a 2a  2a 2a 2a 2a
****************

< 0x00000: 2a 2a 2a 2a  2a 2a 2a 2a  2a 2a 2a 2a  2a 2a 2a 2a
****************
< 0x00010: 2a 2a 2a 2a  2a 2a 2a 2a  2a 2a 2a 2a  2a 2a 2a 2a
****************
< 0x00020: 2a 2a 2a 2a  0d 0a 0d 0a  0d 0a 59 6f  75 20 68 61
****......You ha
< 0x00030: 76 65 20 6d  61 69 6c 2e  0d 0a                     ve
mail...

< 0x00000: 54 45 52 4d  20 3d 20 28  76 74 31 30  30 29 20     TERM =
(vt100) 




------------------------------

Date: Thu, 14 Oct 1999 20:20:32 -0400
From: inna raykhman <inna@raykhman.com>
Subject: problems with date::manip
Message-Id: <38064920.8400DC22@raykhman.com>


hi,

i am trying to use date::manip in my cgi/perl script.
i do the following:
my $end_dt=&UnixDate("today", "%m/%d/%Y 17:00");
$start_dt = &Date_PrevWorkDay($end_dt, 1);

and i get: "ERROR: Invalid year", even though the $start_dt="10/14/1999
17:00".

any ideas ?

thanks,
inna



------------------------------

Date: Thu, 14 Oct 1999 23:42:37 GMT
From: mgjv@comdyn.com.au (Martien Verbruggen)
Subject: Re: problems with date::manip
Message-Id: <NTtN3.96$Kd.2786@nsw.nnrp.telstra.net>

On Thu, 14 Oct 1999 20:20:32 -0400,
	inna raykhman <inna@raykhman.com> wrote:
> 
> i am trying to use date::manip in my cgi/perl script.
> i do the following:
> my $end_dt=&UnixDate("today", "%m/%d/%Y 17:00");
> $start_dt = &Date_PrevWorkDay($end_dt, 1);
> 
> and i get: "ERROR: Invalid year", even though the $start_dt="10/14/1999
> 17:00".

I get no such thing:

# perl -w
use strict;
use Date::Manip;
my $end_dt = &UnixDate("today", "%m/%d/%Y 17:00");
my $start_dt = &Date_PrevWorkDay($end_dt, 1);
print "$start_dt - $end_dt\n";
__END__    
1999101417:00:00 - 10/15/1999 17:00
# perl -MDate::Manip -le 'print $Date::Manip::VERSION'
5.35

Martien
-- 
Martien Verbruggen              | 
Interactive Media Division      | In the fight between you and the world,
Commercial Dynamics Pty. Ltd.   | back the world - Franz Kafka
NSW, Australia                  | 


------------------------------

Date: 16 Sep 99 21:33:47 GMT (Last modified)
From: Perl-Users-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin) 
Subject: Digest Administrivia (Last modified: 16 Sep 99)
Message-Id: <null>


Administrivia:

The Perl-Users Digest is a retransmission of the USENET newsgroup
comp.lang.perl.misc.  For subscription or unsubscription requests, send
the single line:

	subscribe perl-users
or:
	unsubscribe perl-users

to almanac@ruby.oce.orst.edu.  

| NOTE: The mail to news gateway, and thus the ability to submit articles
| through this service to the newsgroup, has been removed. I do not have
| time to individually vet each article to make sure that someone isn't
| abusing the service, and I no longer have any desire to waste my time
| dealing with the campus admins when some fool complains to them about an
| article that has come through the gateway instead of complaining
| to the source.

To submit articles to comp.lang.perl.announce, send your article to
clpa@perl.com.

To request back copies (available for a week or so), send your request
to almanac@ruby.oce.orst.edu with the command "send perl-users x.y",
where x is the volume number and y is the issue number.

For other requests pertaining to the digest, send mail to
perl-users-request@ruby.oce.orst.edu. Do not waste your time or mine
sending perl questions to the -request address, I don't have time to
answer them even if I did know the answer.


------------------------------
End of Perl-Users Digest V9 Issue 1075
**************************************


home help back first fref pref prev next nref lref last post