On 27 Aug 2002, Piers Cawley wrote:
Damian Conway [EMAIL PROTECTED] writes:
Debbie Pickett asked:
(Offtopic: can I say:
$c = - $xyz { mumble }
Yes. Though you need a semicolon at the end unless its the last
statement in a block.
Um... when did that rule come in? I thought a
On Tue, Aug 27, 2002 at 12:21:00PM +0100, Piers Cawley wrote:
*allowing* classes to be frozen) makes life very hard indeed. And no,
extending via inheritance really doesn't cut it, unless I'm allowed to
say CObject := NewObject and force everything that inherits from
Object to inherit from
On Tue, 27 Aug 2002, Luke Palmer wrote:
On 27 Aug 2002, Piers Cawley wrote:
Damian Conway [EMAIL PROTECTED] writes:
Debbie Pickett asked:
(Offtopic: can I say:
$c = - $xyz { mumble }
Yes. Though you need a semicolon at the end unless its the last
statement in a block.
On Tue, 27 Aug 2002, Sean O'Rourke wrote:
On Tue, 27 Aug 2002, Luke Palmer wrote:
On 27 Aug 2002, Piers Cawley wrote:
Damian Conway [EMAIL PROTECTED] writes:
Debbie Pickett asked:
(Offtopic: can I say:
$c = - $xyz { mumble }
Yes. Though you need a semicolon at the
In a message dated Tue, 27 Aug 2002, Luke Palmer writes:
No, it's right. But it doesn't break that. In the grammar, C-like
languages include (something like):
statement: expression ';'
statement: if expression block
So an if _statement_ terminates itself. The } on a line of
Piers Cawley wrote:
( a lot ;-)
Thanks for this really informative summary. Must be a lot of work.
... Actually, Leopold was something of a patch monster this week,
Of course, you missed all my private mails to Sean WRT imcc perl6
patches ;-)
If I read his post right, Leopold
Will there be automatic calling of the deserialization method for objects,
so that code like this DWIMs...
my Date $bday = 'June 25, 2002';
_
Send and receive Hotmail on your mobile device: http://mobile.msn.com
On Tue, Aug 27, 2002 at 02:50:27PM -0700, Steve Canfield wrote:
Will there be automatic calling of the deserialization method for objects,
so that code like this DWIMs...
my Date $bday = 'June 25, 2002';
What sort of dwimmery do you desire?
It's my understanding that variable
I just wrote this code in Perl5:
$stuff = (defined($1)?$1:$2) if /^\s*(?:(.*?)|(\S+))/;
This is a common practice for me when I parse configuration and data
files whose formats I define. It's nice to be able to quote fields that
have spaces, and this is an easy way to parse the result.
In
On 27 Aug 2002, Aaron Sherman wrote:
: I just wrote this code in Perl5:
:
: $stuff = (defined($1)?$1:$2) if /^\s*(?:(.*?)|(\S+))/;
:
: This is a common practice for me when I parse configuration and data
: files whose formats I define. It's nice to be able to quote fields that
: have
TH == Trey Harris [EMAIL PROTECTED] writes:
TH In a message dated 27 Aug 2002, Uri Guttman writes:
m{^\s* $stuff := [ (.*?) | (\S+) ] };
TH Or, how about
TH my ($fields) = /(CORE::quotelike(delim = '')|\S+)/;
wouldn't quotelike automatically be inherited from the CORE:: rules like
On 27 Aug 2002, Uri Guttman wrote:
: LW == Larry Wall [EMAIL PROTECTED] writes:
: LW m{^\s*[
: LW $stuff:=(.*?) |
: LW $stuff:=(\S+)
: LW ]};
:
: couldn't that be reduced to:
:
: m{^\s* $stuff := [ (.*?) | (\S+) ] };
:
: the | will only return one of the
On 27 Aug 2002, Uri Guttman wrote:
: and quoteline might even default to for its delim which would make
: that line:
:
: my ($fields) = /(quotelike|\S+)/;
That just looks like:
my $field = /shellword/;
Larry
LW == Larry Wall [EMAIL PROTECTED] writes:
LW On 27 Aug 2002, Uri Guttman wrote: : and quoteline might even
LW default to for its delim which would make : that line:
LW :
LW : my ($fields) = /(quotelike|\S+)/;
LW That just looks like:
LW my $field = /shellword/;
where is the
14 matches
Mail list logo