> Ever consider then having
>
> ($a, $b, $c) = ;
> or
> @a[4,1,5] = ;
>
> only read three lines?
I think this is a superb idea, and look forward to someone's RFC'ing it.
Damian
> > Here is my suggestion: What if other functions were able to backtrace
> > context and determine how many arguments to return just like split can?
>I have an RFC on that:
> RFC 21: Replace C with a generic C function
>C takes a list of strings that describe aspects of the
>
> Here is my suggestion: What if other functions were able to backtrace
> context and determine how many arguments to return just like split can?
I have an RFC on that:
RFC 21: Replace C with a generic C function
C takes a list of strings that describe aspects of the
It's called meta shell
ftp://www.guug.de/pub/members/truemper/metash
--
#!/usr/bin/perl -nl
BEGIN{($,,$0)=("\040",21);@F=(sub{tr[a-zA-Z][n-za-mN-ZA-M];print;});
$_="Gnxr 1-3 ng n gvzr, gur ynfg bar vf cbvfba.";&{$F[0]};sub t{*t=sub{};
return if rand()<.5;$_="Vg'f abg lbhe ghea lrg, abj tb.";&{$F
On Fri, 1 Sep 2000, Tom Christiansen wrote:
> >it can be used for system specific @INC paths without
> >recompiling perl
>
> That's what PERL5LIB is for.
PERL5LIB is available for the individual user to use, set, unset, change,
etc., at will. As sysadmin, you can't set it in /etc/profile and b
> "Tom" == Tom Christiansen <[EMAIL PROTECTED]> writes:
Tom> Wherever you think you need one of these, try to think again. Either
Tom> it's already in list context, in which case it's silly to put in
Tom> the list thing, or else there's always a better way to accomplish
Tom> whatever you're
Tom Hughes wrote:
> > For example, in Perl you have for a long time been able to do this:
> >
> >($one, $two) = grep /$pat/, @data;
> >
> > However, what currently happens is grep goes to completion, then
> > discards possibly huge amounts of data just to return the first two
> > matches. For
In message <[EMAIL PROTECTED]>
Nathan Wiger <[EMAIL PROTECTED]> wrote:
> For example, in Perl you have for a long time been able to do this:
>
>($one, $two) = grep /$pat/, @data;
>
> However, what currently happens is grep goes to completion, then
> discards possibly huge amounts of
On Fri, Sep 01, 2000 at 11:40:13PM -0400, Uri Guttman wrote:
> > "TC" == Tom Christiansen <[EMAIL PROTECTED]> writes:
> TC> But Perl is not an interactive shell! Can you imagine if a C
> TC> compiler allowed arbitrary amounts of text to be pre-included
>
> and what about the proposals f
Tom Christiansen wrote:
>
> >Well, it only does this if it's not something like 'split', then!
>
> Yes, it does "do it" with split. split is defined to do what it
> does, how it does it. *This* is the kind of senseless harping that
> annoys me, Nathan.
H. I'm apparently not making myself
10 matches
Mail list logo