[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

RE: [FWP] string increment



> Why bother quoting the code?
>
> perl -lemap/^a*.z*$/\&print,aaaa..zzzz
>
> is just fine unless you run it from a very oddly named directory
> structure or a shell with different metacharacters than bash.

See the previous messages about & and short-circuiting.  This is no-good.

>
> perl -lemap/\^a\*.z\*$/\&print,aaaa..zzzz

actually, to get that to work, you'll need
	perl -lemap/^a\*.z\*\$/\&\&print,aaaa..zzzz
which clearly is no good.

Btw, let's try not to shorten on non-working shots, unless by making them
shorter, you also make them work :)

definition: work (see not broken): fulfills the requirements.  compiles and
runs does not imply works.


==== Want to unsubscribe from Fun With Perl?  Well, if you insist...
==== Send email to <fwp-request@technofile.org> with message _body_
====   unsubscribe