> "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) = /(|\S+)/;
LW> That just looks like:
LW> my $field = //;
where is the grabb
On 27 Aug 2002, Uri Guttman wrote:
: and quoteline might even default to " for its delim which would make
: that line:
:
: my ($fields) = /(|\S+)/;
That just looks like:
my $field = //;
Larry
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 ret
> "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) = /( '"')>|\S+)/;
wouldn't quotelike automatically be inherited from the CORE:: rules like
UNIVE
In a message dated 27 Aug 2002, Uri Guttman writes:
> m{^\s* $stuff := [ "(.*?)" | (\S+) ] };
Or, how about
my ($fields) = /( '"')>|\S+)/;
? :-)
Trey
> "LW" == Larry Wall <[EMAIL PROTECTED]> writes:
LW> That seems like a lot of extra work. I'd prefer to see something like:
LW> my stuff;
LW> m{^\s*[
LW> "$stuff:=(.*?)" |
LW>$stuff:=(\S+)
LW> ]};
couldn't that be reduced to:
m{^\s* $stu
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 space
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 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 declara
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';
Err... what do you mean it to do?
--
Michael G. Schwern <[EMAIL PROTECTED]>
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
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, Leopol
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
On Tue, 27 Aug 2002, Luke Palmer wrote:
> 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 its own is a
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
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
> > >
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 C and force everything that inherits from
> Object to inherit from NewObject instead.
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 co
18 matches
Mail list logo