Seek the wisdom of the Perl Monks at www.perlmonks.org.
Short answer: http://perldoc.perl.org/functions/-X.html
-M gives the file age.
--John
Tara taralish-at-yahoo.com |Perl 6| wrote:
I'm trying to do a Perl script (PC has Perl5 installed) in a BAT file
which will open the CMD prompt,
Xavier Noria fxn-at-hashref.com |Perl 6| wrote:
IMO to include something related to infinity you need to stick with
some particular model and forget the rest.
I couldn't have said it any better.
TSa Thomas.Sandlass-at-barco.com |Perl 6| wrote:
HaloO,
John M. Dlugosz wrote:
See my latest creation at http://www.dlugosz.com/Perl6/web/APL.html
Nice write-up! You say that there's no syntax for refering to a multi
as a whole. But is that not simply the short name? E.g. infix:+ is
the
On Thu, Aug 7, 2008 at 11:29 AM, [EMAIL PROTECTED] wrote:
Supporting multiple levels of infinities, transfinite numbers or even Surreal
Numbers should be considered in the same category of features as returning
multiple answers from complex trig functions.
They're an interesting thing to
On Thu, Aug 7, 2008 at 9:38 AM, Tara [EMAIL PROTECTED] wrote:
I'm trying to do a Perl script (PC has Perl5 installed) in a BAT file
which will open the CMD prompt, interact with the user and copy files
from one location to other directories. Does anyone know how to dir
the files in a
Thank you very much!
my $bill =
try ack() orelse
try thpp() orelse
do ppt();
This certainly does what I asked for, and it's short enough (even if we
need to add a few brackets).
Yes, the basic problem with the proposal is that it catches all
exceptions willy nilly and
I was trying to figure out exactly how Captures manage to stay invisible even
though functions return them, yet still let you use Capture objects when you
want to. Please see my conclusions at
http://www.dlugosz.com/Perl6/web/return.html. The Summary at the very bottom
clarifies the
On Thu, Aug 7, 2008 at 11:31 AM, Will Coleda [EMAIL PROTECTED] wrote:
On Thu, Aug 7, 2008 at 11:29 AM, [EMAIL PROTECTED] wrote:
Supporting multiple levels of infinities, transfinite numbers or even
Surreal Numbers should be considered in the same category of features as
returning multiple
Author: larry
Date: Fri Aug 8 07:59:12 2008
New Revision: 14573
Modified:
doc/trunk/design/syn/S02.pod
doc/trunk/design/syn/S06.pod
doc/trunk/design/syn/S13.pod
Log:
clarify that foo is a real function even when representing a multiple dispatch
s/q:code/quasi/
Modified:
HaloO
John M. Dlugosz wrote:
I was trying to figure out exactly how Captures manage to stay invisible
even though functions return them, yet still let you use Capture objects
when you want to. Please see my conclusions at
http://www.dlugosz.com/Perl6/web/return.html. The Summary at the very
HaloO,
Yaakov Belch wrote:
I believe that ---from a usability point of view--- it's very important to:
* classify exceptions by severity or other characteristics,
* provide named adverbs/pragmas to modify default CATCH handlers,
* make them configurable by outer scopes.
[..]
The programmer
On 2008 Aug 8, at 10:59, [EMAIL PROTECTED] wrote:
Modified: doc/trunk/design/syn/S06.pod
=
=
=
=
=
=
=
=
==
--- doc/trunk/design/syn/S06.pod(original)
+++ doc/trunk/design/syn/S06.podFri Aug 8 07:59:12 2008
@@
Author: larry
Date: Fri Aug 8 10:34:49 2008
New Revision: 14574
Modified:
doc/trunk/design/syn/S02.pod
Log:
allow isolated ' and - in identifiers (only if followed by alpha)
Modified: doc/trunk/design/syn/S02.pod
On Fri, Aug 08, 2008 at 10:34:50AM -0700, [EMAIL PROTECTED] wrote:
: Author: larry
: Date: Fri Aug 8 10:34:49 2008
: New Revision: 14574
:
: Modified:
:doc/trunk/design/syn/S02.pod
:
: Log:
: allow isolated ' and - in identifiers (only if followed by alpha)
Darn the syntax highlighers,
But are 'twas and -x valid identifiers? IMHO, they should not be.
--
Jonathan Dataweaver Lang
On Fri, Aug 8, 2008 at 12:57 PM, Jon Lang [EMAIL PROTECTED] wrote:
But are 'twas and -x valid identifiers? IMHO, they should not be.
no, indeed they are not, because they don't start with underscore or
alpha. that's why they won't work.
~jerry
Don't forget I still have edits posted at
http://www.dlugosz.com/Perl6/offerings/.
larry-at-cvs.perl.org |Perl 6| wrote:
Author: larry
Date: Fri Aug 8 07:59:12 2008
New Revision: 14573
Modified:
doc/trunk/design/syn/S02.pod
doc/trunk/design/syn/S06.pod
doc/trunk/design/syn/S13.pod
TSa Thomas.Sandlass-at-barco.com |Perl 6| wrote:
If such a ReturnCapture could also be
preliminary of some kind, then lvalue subs could be lazily resumed when
the rvalue comes in.
Can you elaborate on that? I don't follow.
Also infix:/ needs a lazy item that is collapsed
into Int, Num or
How is @array[*-2] supposed to be implemented?
S09v28
// reported again 8-Aug-2008
Is this magic known to the parser at a low level, or is it possible to define
your own postcircumfix operators that interact with the interpretation of the
argument?
Does this use of * apply to any
What is the difference between (1,2,3) and [1,2,3] ?
--John
Why is 3;3;3 a list of captures rather than a list of lists?
--John
On 2008 Aug 8, at 22:53, John M. Dlugosz wrote:
What is the difference between (1,2,3) and [1,2,3] ?
IIRC one is a list, the other a reference to a list --- which in perl6
will be hidden for the most part. so practically speaking the
difference is minimal.
--
brandon s. allbery
Brandon S. Allbery KF8NH allbery-at-ece.cmu.edu |Perl 6| wrote:
On 2008 Aug 8, at 23:06, John M. Dlugosz wrote:
Why is 3;3;3 a list of captures rather than a list of lists?
IIRC it has to do with providing enough information for slices and/or *
to work in multiple dimensions.
So how
On Fri, Aug 8, 2008 at 7:41 PM, John M. Dlugosz
[EMAIL PROTECTED] wrote:
How is @array[*-2] supposed to be implemented?
S09v28
// reported again 8-Aug-2008
Is this magic known to the parser at a low level, or is it possible to
define your own postcircumfix operators that interact with the
24 matches
Mail list logo