- or download this
'/shipment/box' => sub { _move(@_); 1; }
- or download this
# '/shipment/box' => sub { _move(@_); 1; } #wrong
# to
'/shipment/box' => \&_move,
- or download this
sub _move {
unless ($_[1]->descendants('slip')){
...
}
foreach my $descendant ...
- or download this
#!/usr/bin/perl
# use 5.020; unneeded aside from the say
...
<slip _TYPE="produce">peach</slip>
</shipment>