[15940] in Perl-Users-Digest

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

Perl-Users Digest, Issue: 3353 Volume: 9

daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Wed Jun 14 09:10:36 2000

Date: Wed, 14 Jun 2000 06:10: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: <960988216-v9-i3353@ruby.oce.orst.edu>
Content-Type: text

Perl-Users Digest           Wed, 14 Jun 2000     Volume: 9 Number: 3353

Today's topics:
    Re: perl system call problems, VSS cmd line (David Earl)
    Re: perl system call problems, VSS cmd line (David Earl)
    Re: perl system call problems, VSS cmd line <abe@ztreet.demon.nl>
    Re: perl system call problems, VSS cmd line (Ted Ede)
    Re: perl system call problems, VSS cmd line (David Earl)
        Perl Threads <rich@claripoint.com>
    Re: Perl Threads <blah@nospam.com>
        Please help!  Win2000 server/perl issue   <ron@freefuel.com>
    Re: ppm will not work. I get this error message. <marko.nikulainen@etela-savo.com>
        Problem with regexp <Antti-Jussi.Korjonen@sonera.com>
    Re: reading a file chris2037@my-deja.com
    Re: Semicolons at the start of lines...? (Csaba Raduly)
    Re: sorting an array <abe@ztreet.demon.nl>
    Re: Symbolic reference under Strict: any alternative? <pdcawley@bofh.org.uk>
    Re: Syntax checker <gellyfish@gellyfish.com>
    Re: Syntax checker <abe@ztreet.demon.nl>
        Threads vs Forks <rich@claripoint.com>
    Re: Threads vs Forks (Clinton A. Pierce)
        Ugh <drshickell@bsu.edu>
    Re: Ugh <blah@nospam.com>
    Re: Ugh (Marcel Grunauer)
    Re: Ugh (Clinton A. Pierce)
    Re: uses for PERL (Anno Siegel)
        works without strict but not with why ???? <danielxx@bart.nl>
    Re: works without strict but not with why ???? <mc@backwoods.org>
    Re: works without strict but not with why ???? (Bart Lateur)
        Digest Administrivia (Last modified: 16 Sep 99) (Perl-Users-Digest Admin)

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

Date: Wed, 14 Jun 2000 08:08:37 GMT
From: DEarl@NewYorker.DE (David Earl)
Subject: Re: perl system call problems, VSS cmd line
Message-Id: <394739f3.3444012@news.nyer.de>

>system "E:\Progra~1\VSS\Win32\ss Add tiny.pm -Y -C";

The command system is a new one on me.  I have seen machines setup so
that there are more than one Progra* directory (where star represents
multiple characters), and therefor Progra~1 may not refer to \Program
Files.

I assume that you are filling in the rest of the -C and -Y commands,
otherwise SS _could_ be waiting for this information.  (NT2K is
particularly nasty about hiding newly opened dialogs behind other
windows).

You might look at using the SSUser & SSPwd environment variables as
User Environment Variable, if you're using NT.  As user environment
variables, they're protected by NT's security, and only become
available when that specific user logs in.  All the same, you may want
to think long & hard about using SSPwd, and you definitely do not want
to use it under Win95.

HTH,
David.


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

Date: Wed, 14 Jun 2000 08:11:17 GMT
From: DEarl@NewYorker.DE (David Earl)
Subject: Re: perl system call problems, VSS cmd line
Message-Id: <39473dc9.4282067@news.nyer.de>

Huh?  You must mean foreslashes, since there is nothing but
backslashes in there.  Many WIntel programs (including SS) accept
either / or - for indicating flags.

David.


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

Date: Wed, 14 Jun 2000 12:28:26 +0200
From: Abe Timmerman <abe@ztreet.demon.nl>
Subject: Re: perl system call problems, VSS cmd line
Message-Id: <jhleksc8d892pfbm43bodiaiptvukoql3s@4ax.com>

[please quote the text you are responding to; some logic restored]

On Wed, 14 Jun 2000 08:11:17 GMT, DEarl@NewYorker.DE (David Earl) wrote:

> On Tue, 13 Jun 2000 08:58:09 -0700, Tom Phoenix <rootbeer@redcat.com> wrote:

> > On Tue, 13 Jun 2000 invinfo@my-deja.com wrote:
> > 
> > > Most of the script runs fine up until this line
> > > system "E:\Progra~1\VSS\Win32\ss Add tiny.pm -Y -C";
> > 
> > Did you realize that there are no backslashes in that command? It may be
> > hard to believe, but if you change 'system' to 'print' you may see what I
> > mean.
> 
> Huh?  You must mean foreslashes, since there is nothing but
> backslashes in there.

Did you actualy replace the 'system' with 'print' before you posted your
message?
Output:
	E:Progra~1VSSWin32ss Add tiny.pm -Y -C

-- 
Good luck,
Abe


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

Date: 14 Jun 2000 06:57:24 -0400
From: ted@wayback.accurev.com (Ted Ede)
Subject: Re: perl system call problems, VSS cmd line
Message-Id: <8i7oek$cs7$1@wayback.accurev.com>

In article <Pine.GSO.4.10.10006130855090.18837-100000@user2.teleport.com>,
Tom Phoenix  <rootbeer@redcat.com> wrote:
>On Tue, 13 Jun 2000 invinfo@my-deja.com wrote:
>
>> Most of the script runs fine up until this line
>> system "E:\Progra~1\VSS\Win32\ss Add tiny.pm -Y -C";
>
>Did you realize that there are no backslashes in that command? 

What Tom is saying is the \ is an escape sequence for Perl
So, if you want a \, use \\.

ted





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

Date: Wed, 14 Jun 2000 11:14:09 GMT
From: DEarl@NewYorker.DE (David Earl)
Subject: Re: perl system call problems, VSS cmd line
Message-Id: <394768c9.14779682@news.nyer.de>

>What Tom is saying is the \ is an escape sequence for Perl
>So, if you want a \, use \\.
>
>ted
>
A-hah.  Thanks, Ted.  That is very likely the problem, then.

David.


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

Date: Wed, 14 Jun 2000 11:16:31 +0100
From: "Rich Robinson" <rich@claripoint.com>
Subject: Perl Threads
Message-Id: <i%I15.167$n32.3756@news6-win.server.ntlworld.com>

Hello...  I'm looking into multithreading with Perl.  Firstly - is it
possible?  I've found no information on the subject so far.

Secondly - is it efficient, or would I be better off doing it with C or
Java?  (Multithreading being particularly easy to program in Java)

Thanks for any replies,

Rich.




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

Date: Wed, 14 Jun 2000 12:34:14 +0200
From: Marco Natoni <blah@nospam.com>
Subject: Re: Perl Threads
Message-Id: <39475FA6.BFDAD7EC@nospam.com>

Rich,

Rich Robinson wrote:
> I'm looking into multithreading with Perl.  Firstly - is it
> possible?  I've found no information on the subject so far.

  Its depend on the Perl version you are using.  A good way to check
that is to type

	$ perldoc -m Thread

at the command line. Version 5.005_03 (built for i386-linux) does not
answer (No documentation found for "Thread") while Version 5.6.0 (built
for MSWin32-x86-multi-thread) results in good a Thread.pm explanation. 
Of course, type

	$ perl -v

seems to be a valid alternative. ;)

> Secondly - is it efficient, or would I be better off doing it with 
> C or Java?  (Multithreading being particularly easy to program 
> in Java)

  Many other programming tecniques seem to be less easy in Java than in
Perl... 


	Best regards,
		Marco


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

Date: Wed, 14 Jun 2000 00:34:14 -0700
From: "Ron Dippold" <ron@freefuel.com>
Subject: Please help!  Win2000 server/perl issue  
Message-Id: <RIG15.180$4X4.102973@news.pacbell.net>

I am having problems with a .pl script that needs to write to a file in
another directory.  I am new to running perl on Windows.  I have active perl
5.6 installed and my other scripts are running fine.  I just can't seem to
get past this permissions issue.
This is the error I get:  "Configuration Error: could not create datafile
please check path and permissions!"

Please help...anyone


--Ron




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

Date: Wed, 14 Jun 2000 11:56:04 +0300
From: "Marko Nikulainen" <marko.nikulainen@etela-savo.com>
Subject: Re: ppm will not work. I get this error message.
Message-Id: <lFH15.124$Q%3.3277@read2.inet.fi>

I have the same problem with ppm as the unknown -writer...
My OS is win98se

Marko



Bart Lateur <bart.lateur@skynet.be> kirjoitti
viestissä:3948b6c2.942732@news.skynet.be...
> unknown wrote:
>
> >Are you saying win2000 does not work with ppm?
> >On the site http://www.activestate.com/Products/ActivePerl/Download.html
> >It indicates that win2000 is supported.
>
> No I'm not. But your @INC is funky. The installation procedure should
> have added the "site" folder to @INC. It looks like it's missing on your
> install, so it looks like part of the installation failed. I just wonder
> if the fact that this is Win2k, has anything to do with that failure. If
> anyone has experience with this, please share!
>
> I'll have a copy of Win2k in a week or so, so I'll be able to test it
> myself.
>
> --
> Bart.




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

Date: Wed, 14 Jun 2000 12:52:41 GMT
From: Antti-Jussi Korjonen <Antti-Jussi.Korjonen@sonera.com>
Subject: Problem with regexp
Message-Id: <39478019.36DBBB19@sonera.com>

HI!


$temp1 should be extracted from $string1 so that all that remains
is '\nfourth test'. doesn't work.

code:

my $string1 = "first test\nsecond test\nthird [test]\nfourth test";
my $string2 = "first test\nsecond test\nthird [test]\nfourth test";

my $temp1 = "first test\nsecond test\nthird [test]";
my $temp2 = "first test\nsecond test\nthird"; ^
                                              |
$string1 =~ s/$temp1//;                       |
                                              |
# why doesn't this match [test] ---------------
# switches won't help, what 

$string2 =~ s/$temp2//;

print "string1=$string1\n\ntemp1=$temp1\n";
print "\nstring2=$string2\n\ntemp2=$temp2\n";


% ./tmp.pl
string1=first test
second test
third [test]
fourth test

temp1=first test
second test
third [test]

string2= [test]
fourth test

temp2=first test
second test
third



--
Antti-Jussi.Korjonen@sonera.com
pgp key: http://www.students.tut.fi/~korjonen/PublicKey.asc


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

Date: Wed, 14 Jun 2000 09:50:14 GMT
From: chris2037@my-deja.com
Subject: Re: reading a file
Message-Id: <8i7kgi$hmh$1@nnrp1.deja.com>

Hi Tad, you're right, I came across DBD::CSV, going to try it now. Got
to read some files in as tables and do a join. Thanks.


In article <slrn8kcc0j.2kb.tadmc@magna.metronet.com>,
  tadmc@metronet.com (Tad McClellan) wrote:
> On Tue, 13 Jun 2000 12:57:10 GMT, chris2037@my-deja.com
<chris2037@my-deja.com> wrote:
>
> >Hi, is there a simple way (minimum number of lines of code) of
reading a
> >comma separated file
>
> Yes.
>
> Use a module that understands the CSV file format.
>
> --
>     Tad McClellan                          SGML Consulting
>     tadmc@metronet.com                     Perl programming
>     Fort Worth, Texas
>


Sent via Deja.com http://www.deja.com/
Before you buy.


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

Date: 14 Jun 2000 10:17:41 GMT
From: csaba_r@my-deja.com (Csaba Raduly)
Subject: Re: Semicolons at the start of lines...?
Message-Id: <8F537316Cquuxi@193.82.145.131>

12 Jun 2000: A formal bug report was sent to Seti@Home, because the
following message originated from if@what.time.is.it (Ireneo Funes)
was reported as containing signs of intelligence: 

>I've just seen some code at work that has lines beginning with
>semicolons. 
>
>Can anyone explain what that's all about?
>

Perhaps they intend to run the source thru the MASM assembler for i86. 
That one uses the semicolon for comments (the same way C++ uses //)

:-)
-- 
Csaba Raduly, Software Developer (OS/2), Sophos Anti-Virus
mailto:csaba.raduly@sophos.com      http://www.sophos.com/
US Support +1 888 SOPHOS 9      UK Support +44 1235 559933
Life is complex, with real and imaginary parts.


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

Date: Wed, 14 Jun 2000 11:42:37 +0200
From: Abe Timmerman <abe@ztreet.demon.nl>
Subject: Re: sorting an array
Message-Id: <lgkeksskc1bdiq81rq6rula6em7plep3nk@4ax.com>

On 13 Jun 2000 14:19:00 GMT, "D.W." <dpalmeNOSPAM@unitedtraffic.com>
wrote:

> I have a problem in which I'm at a complete loss, so any help would be
> appreciated.
> 
> I am taking some information from a mysql table (longitude and latitude
> coordinates) and computing some distances on the fly.  I'm writing this
> information including this computed distance to an array, but I need to be
> able to sort this array on this mileage from lowest to highest.....

You could think of a different approach. If possible, you could let
mysql calculate those distances and have them returned as an extra
column in your result set. That way you won't have to bother storing and
sorting yourself, but let mysql do it for you.

just a thought...

-- 
Good luck,
Abe


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

Date: 14 Jun 2000 09:55:23 +0100
From: Piers Cawley <pdcawley@bofh.org.uk>
Subject: Re: Symbolic reference under Strict: any alternative?
Message-Id: <m1k8fs63r8.fsf@rt158.private.realtime.co.uk>

ebohlman@netcom.com (Eric Bohlman) writes:

> Christophe Dessimoz (cdessimoz@ark.ch.nospam) wrote:
> : Hi everybody,
> : 
> : When working under Strict, it's normaly not possible to make any
> : symbolic reference (unless you desactivate Strict..). Is there any trick
> : to get the value of the a variable by having its name only (e.g. with
> : eval)?
> : 
> : use Strict;
> : $var1='foo';
> : $var2='var1';
> : 
> : $$var2 can't be used under Strict... how to do?
> 
> If $var1 is a global (package) variable, you *could* do:
> 
> {no strict 'refs';
>  $var3=$$var2;
> }
> 
> The block limits the scope of the relaxation.
> 
> However, if $var1 is a lexical (my) variable, you can't take a symbolic 
> reference to it as it won't be in the symbol table.

If it is global couldn't he get at it via something like:

$var3 = $var2 =~ /(.*::)(.*)/ ? ${$::{$1}{$2}} : ${$::{$var2}}

Or is that just too complicated?

-- 
Piers



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

Date: 14 Jun 2000 07:52:07 +0100
From: Jonathan Stowe <gellyfish@gellyfish.com>
Subject: Re: Syntax checker
Message-Id: <8i7a2n$ur4$1@orpheus.gellyfish.com>

On Tue, 13 Jun 2000 13:25:48 -0500 Barry Grupe wrote:
> Are there any syntax checking apps written for Perl? I'm looking for a basic
> "checker".
> 

Er, perl -c ?

/J\
-- 
** This space reserved for venue sponsor for yapc::Europe **
              <http://www.yapc.org/Europe/> 


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

Date: Wed, 14 Jun 2000 13:14:00 +0200
From: Abe Timmerman <abe@ztreet.demon.nl>
Subject: Re: Syntax checker
Message-Id: <vrpeks8k2btgac2tga8bsaokvjss21vf92@4ax.com>

On Tue, 13 Jun 2000 17:52:39 -0500, "Barry Grupe" <bg@skypoint.com>
wrote:

> 
> > Yes.
> >
> >    perldoc perlrun
> >
> >
> > It is called "perl"   :-)
> >
> >    perl -cw my_script
> 
> Try that with a 50K program that you left out a '}' in. EOF errors are no
> help. :-)

But that will probably be the only place _any_ syntax checker will find
that a '}' is missing.

It looks like poor development strategy to type 50K of program without
testing once during the process. Usually you'll know where you
added/removed/chaged the last block :-)

-- 
Good luck,
Abe


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

Date: Wed, 14 Jun 2000 11:34:12 +0100
From: "Rich Robinson" <rich@claripoint.com>
Subject: Threads vs Forks
Message-Id: <UfJ15.188$n32.4023@news6-win.server.ntlworld.com>

Hello,

Assuming threading in Perl is stable, what would be the advantages of
spawning numerous forks to do little jobs (database access/updates), over
spawning numerous threads to do the same?  Would there be any advantage?

Thanks,

Rich.




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

Date: Wed, 14 Jun 2000 12:30:39 GMT
From: clintp@geeksalad.org (Clinton A. Pierce)
Subject: Re: Threads vs Forks
Message-Id: <PVK15.358$fR2.8800@news1.rdc1.mi.home.com>

[Posted and mailed]

In article <UfJ15.188$n32.4023@news6-win.server.ntlworld.com>,
	"Rich Robinson" <rich@claripoint.com> writes:
> 
> Assuming threading in Perl is stable

Assumption failed: compilation aborted.  They aren't stable.  The API for
threads may change with little warning.  The implementataion almost 
certainly will change.

-- 
    Clinton A. Pierce              Teach Yourself Perl in 24 Hours! 
  clintp@geeksalad.org         for details see http://www.geeksalad.org
"If you rush a Miracle Man, 
	you get rotten Miracles." --Miracle Max, The Princess Bride


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

Date: Wed, 14 Jun 2000 10:26:31 GMT
From: "Dan" <drshickell@bsu.edu>
Subject: Ugh
Message-Id: <r5J15.1197$dF.61087@news1.rdc1.il.home.com>

Anyone know any good ways to transport a perl script to a Unix Machine?

My main Dev machine is Windows.  So I write my PERL stuff in notepad etc.  I
need a way to strip newline characters after transfer or a way to easily
edit PERL on a windows box.  Any ideas?




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

Date: Wed, 14 Jun 2000 12:38:26 +0200
From: Marco Natoni <blah@nospam.com>
Subject: Re: Ugh
Message-Id: <394760A2.3968C303@nospam.com>

Dan,

Dan wrote:
> Anyone know any good ways to transport a perl script to a 
> Unix Machine?

  Use ftp with binary transfer mode.  A way to strip trailing trash
carriage return character in vi, one of the Unix standard editors, is to
submit the following command:

	:%s/^M//

  To insert the Ctrl+M character press [Ctrl]+[V] followed by
[Ctrl]+[M].

  And now, what is your Perl question?


	Best regards,
		Marco


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

Date: Wed, 14 Jun 2000 11:13:23 GMT
From: marcel@codewerk.com (Marcel Grunauer)
Subject: Re: Ugh
Message-Id: <slrn8keqgs.2ev.marcel@codewerk.com>

On Wed, 14 Jun 2000 12:38:26 +0200, Marco Natoni <blah@nospam.com> wrote:
>
>  Use ftp with binary transfer mode.  A way to strip trailing trash
>carriage return character in vi, one of the Unix standard editors, is to
>submit the following command:
>
>	:%s/^M//
>

<offtopic tone="mumbles">
	The two trailing slashes aren't necessary.
</offtopic>

-- 
Marcel
sub AUTOLOAD{($_=$AUTOLOAD)=~s;^.*::;;;y;_; ;;print} Just_Another_Perl_Hacker();


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

Date: Wed, 14 Jun 2000 12:31:24 GMT
From: clintp@geeksalad.org (Clinton A. Pierce)
Subject: Re: Ugh
Message-Id: <wWK15.359$fR2.8800@news1.rdc1.mi.home.com>

[Posted and mailed]

In article <394760A2.3968C303@nospam.com>,
	Marco Natoni <blah@nospam.com> writes:
> Dan,
> 
> Dan wrote:
>> Anyone know any good ways to transport a perl script to a 
>> Unix Machine?
> 
>   Use ftp with binary transfer mode. 

You misspelled "ascii" transfer mode.

-- 
    Clinton A. Pierce              Teach Yourself Perl in 24 Hours! 
  clintp@geeksalad.org         for details see http://www.geeksalad.org
"If you rush a Miracle Man, 
	you get rotten Miracles." --Miracle Max, The Princess Bride


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

Date: 14 Jun 2000 09:29:41 -0000
From: anno4000@lublin.zrz.tu-berlin.de (Anno Siegel)
Subject: Re: uses for PERL
Message-Id: <8i7ja5$7hg$1@lublin.zrz.tu-berlin.de>

Craig Berry <cberry@cinenet.net> wrote in comp.lang.perl.misc:

[...]

>Turing-complete*, too, yet you don't see a lot of it getting used on the
>Web.  In fact, you'd have to go to some fairly narrow-purpose languages
>(sed, for example) to find a non-TC language.

Hmmm... Sed can write symbols from an alphabet to a tape (a conceptually
infinite string).  It can use another string to represent internal states,
and it can inspect these to decide where to write what next.  I tentatively
propose that sed *is* Turing-complete.

Anno


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

Date: Wed, 14 Jun 2000 09:00:54 GMT
From: "Daniel van den Oord" <danielxx@bart.nl>
Subject: works without strict but not with why ????
Message-Id: <aRH15.1224$%h3.25158@Typhoon.bART.nl>

use strict;

my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$dst,@months);
@months =
("January","February","March","April","May","June","July","August","Septembe
r","October","November","December");
($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$dst) =
localtime(time()-1*3600);
$mon = $mon + 1;
if ($hour < 10)           {$hour = '0'.$hour;  }
if ($min  < 10)           {$min  = '0'.$min;   }
if ($sec  < 10)           {$sec  = '0'.$sec;   }
if ($mon  < 10)           {$mon  = '0'.$mon;   }
if ($mday < 10)           {$mday = '0'.$mday;  }
$year += 1900;
$date2 = "$year$mon$mday";
$timestamp = "$months[$mon] $mday, $year $hour:$min:$sec";
print "Content-type: text/html\n\n";
print "$timestamp <br><br>This Line is the date used by the rest of the CGI
script to test other dates...";
print "$date2";

errors with strict are
Global symbol "$date2" requires explicit package name at
C:\InetPub\cgi-bin\servertest.pl line 13.
Global symbol "$timestamp" requires explicit package name at
C:\InetPub\cgi-bin\servertest.pl line 14.
Execution of C:\InetPub\cgi-bin\servertest.pl aborted due to compilation
errors.




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

Date: Wed, 14 Jun 2000 05:48:10 -0400
From: MC <mc@backwoods.org>
Subject: Re: works without strict but not with why ????
Message-Id: <394754DA.35E1F77@backwoods.org>


Daniel van den Oord wrote:
> 
> use strict;
> 
> my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$dst,@months);
> @months =
> ("January","February","March","April","May","June","July","August","Septembe
> r","October","November","December");
> ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$dst) =
> localtime(time()-1*3600);
> $mon = $mon + 1;
> if ($hour < 10)           {$hour = '0'.$hour;  }
> if ($min  < 10)           {$min  = '0'.$min;   }
> if ($sec  < 10)           {$sec  = '0'.$sec;   }
> if ($mon  < 10)           {$mon  = '0'.$mon;   }
> if ($mday < 10)           {$mday = '0'.$mday;  }
> $year += 1900;
> $date2 = "$year$mon$mday";
> $timestamp = "$months[$mon] $mday, $year $hour:$min:$sec";
> print "Content-type: text/html\n\n";
> print "$timestamp <br><br>This Line is the date used by the rest of the CGI
> script to test other dates...";
> print "$date2";
> 
> errors with strict are
> Global symbol "$date2" requires explicit package name at
> C:\InetPub\cgi-bin\servertest.pl line 13.
> Global symbol "$timestamp" requires explicit package name at
> C:\InetPub\cgi-bin\servertest.pl line 14.
> Execution of C:\InetPub\cgi-bin\servertest.pl aborted due to compilation
> errors.

perhaps it failed because you didnt declare $date2 or $timestamp in your my ()
statement? try reading your error messages, they tell you what to look at.

MC
-- 
---------------------------------------------------------------------
My email address(s) are my private property.  They are NOT to be used
or recorded for ANY reason without my explicit permission.  Disregard
of this statement is in violation of federal privacy & copyright law.
---------------------------------------------------------------------


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

Date: Wed, 14 Jun 2000 10:33:57 GMT
From: bart.lateur@skynet.be (Bart Lateur)
Subject: Re: works without strict but not with why ????
Message-Id: <394a5ef5.5172946@news.skynet.be>

Daniel van den Oord wrote:

>$date2 = "$year$mon$mday";
>$timestamp = "$months[$mon] $mday, $year $hour:$min:$sec";

You never declared these variables. Put a "my" in front of each of these
statements, and it should work.

-- 
	Bart.


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

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 3353
**************************************


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