[32702] in Perl-Users-Digest
Perl-Users Digest, Issue: 3966 Volume: 11
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Sun Jun 16 03:09:17 2013
Date: Sun, 16 Jun 2013 00:09:02 -0700 (PDT)
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)
Perl-Users Digest Sun, 16 Jun 2013 Volume: 11 Number: 3966
Today's topics:
Re: Deep structure access and temp variable <jurgenex@hotmail.com>
Re: Deep structure access and temp variable <rweikusat@mssgmbh.com>
Perl script to exe <jismagic@gmail.com>
Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: Fri, 14 Jun 2013 17:25:32 -0700
From: Jürgen Exner <jurgenex@hotmail.com>
Subject: Re: Deep structure access and temp variable
Message-Id: <3vcnr89gdbfokqa219rsi9ge94odeuqdb9@4ax.com>
Ben Morrow <ben@morrow.me.uk> wrote:
>Quoth Rainer Weikusat <rweikusat@mssgmbh.com>:
>> In case this seems overly cryptic: Perl doesn't have 'data structures'
Of course Perl has data structures. Support for the abstract data
structures 'list' and 'mapping' are built into the very core of the
language.
>Do you ever get tired of being snide, pedantic and somewhat unpleasant?
That's what filters are for.
jue
------------------------------
Date: Sat, 15 Jun 2013 15:04:06 +0100
From: Rainer Weikusat <rweikusat@mssgmbh.com>
Subject: Re: Deep structure access and temp variable
Message-Id: <87vc5fqxm1.fsf@sapphire.mobileactivedefense.com>
Ben Morrow <ben@morrow.me.uk> writes:
> Quoth Rainer Weikusat <rweikusat@mssgmbh.com>:
[...]
>> Perl doesn't have 'data structures' it has various kinds of objects
>> and references to objects.
[...]
> Perl has data structures. They are the things described in perldsc, the
> Perl Data Structures Cookbook. Perl also has objects, which are
> something rather different, and are not covered in Tye's tutorial.
This will probably earn me the 'pedantic' accusation again but so be
it: I was using 'object' in the sense it is used in the C standard,
for want of a better term for that: It's meaning is roughly "some
typed thing which can be allocated, deallocated and deal with directly
by code written in $language". The term 'first class citizen' is also
used to refer to that. In Perl, a behavioural definition of 'object'
in this sense could be "something the \-operator can be applied to [if
it isn't anonymous]", ie, scalar, arrays, hashes, subroutines, globs
and a few more, less common somethings. Another definition could be
'something which is either a glob can be "stored" in a glob slot'.#
In hindsight, I understand that the author of this 'cheat sheet'
intended to partition the set of perl objects into 'proper' and
'fishy' ones, presumably based on experiences with
$other_programming_language, however, that wasn't obvious to me when
reading the text and I also disagree with this partitioning. I use
anonymous subroutines, mostly closures, very frequently, and I also
write code which generates code at runtime frequently. Perl support
for the latter is fairly poor because it requires generating source
code text and running that through the compiler via eval but
nevertheless existant and useful: subroutines are almost 'first class
citizens' in Perl.
I've been doing an unholy amount of Java programming recently and some
things which are very simple in Perl, eg, write a general
'structured thing' comparison routine, are hideously complicated in
Java because its support for treating 'functions' as 'objects' is even
poorer than that of C (I have such a routine with a limited scope and
the code necessary to invoke that is only about 50% less than the
comparison code itself): Perl is a nice language because of its more
uncommon (in 'mainstream programming languages') features, not a nice
language despite of them because it enables people to build
punctuation cascades capable of reducing grown men to tears and
routinely outclevering everyone (including themselves) in the
process.
------------------------------
Date: Sat, 15 Jun 2013 02:46:56 -0700 (PDT)
From: jis <jismagic@gmail.com>
Subject: Perl script to exe
Message-Id: <a5136dc8-33ad-47c5-8265-44d86c1ff110@googlegroups.com>
I have used perl2exe on windows xp platform to convert perl script to exe.
But since windows 7, it has not been dependable.
par pp also do not look like it works on all windows 7 machines.
I have googled it and didnt find anyting significant.
Please let me know what you guys use on windows 7 platform to get it working..
thanks
jis
------------------------------
Date: 6 Apr 2001 21:33:47 GMT (Last modified)
From: Perl-Users-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin)
Subject: Digest Administrivia (Last modified: 6 Apr 01)
Message-Id: <null>
Administrivia:
To submit articles to comp.lang.perl.announce, send your article to
clpa@perl.com.
Back issues are available via anonymous ftp from
ftp://cil-www.oce.orst.edu/pub/perl/old-digests.
#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 V11 Issue 3966
***************************************