use strict;
use warnings;
use Carp;
-use lib '/home/larry/src/p55';
use P5AST;
use P5re;
my $YAML = 0;
my $deinterpolate;
-while (@ARGV and $ARGV[0] =~ /^-/) {
+while (@ARGV and $ARGV[0] =~ /^-./) {
my $switch = shift;
if ($switch eq '-w') {
$dowarn = 1;
return P5AST::listop->new(Kids => [@before,@retval]);
}
- push @retval, $self->madness('o (');
+ push @retval, $self->madness('o ( [ {');
my @newkids;
for my $kid (@{$$self{Kids}}) {
}
push @retval, @newkids;
- push @retval, $self->madness(')');
+ push @retval, $self->madness('} ] )');
return $self->newtype->new(Kids => [@before,@retval,@after]);
}