in reply to perl -d hanging on some input

[jeffa@junk-box jeffa]$ perl -de 1 [...] DB<1> ($a,$b) = chop($c='hello'); DB<2> print join'-',$a,$b; o- DB<3> ($a,$b) = 'hello' =~ /(he)(l{2}o)/; DB<4> print join'-',$a,$b; he-llo
No problems for me (v5.6.1 built for i386-linux) ... i think we are going to need more info ...

UPDATE: yep ... time to get my eyes examined ... bsb, when i ran the second i received a shiny Signal SEGV :/

jeffa

L-LL-L--L-LL-L--L-LL-L--
-R--R-RR-R--R-RR-R--R-RR
B--B--B--B--B--B--B--B--
H---H---H---H---H---H---
(the triplet paradiddle with high-hat)

Replies are listed 'Best First'.
Re: Re: perl -d hanging on some input
by bsb (Priest) on Feb 27, 2004 at 02:16 UTC
    The critical difference:
    ($a,$b) = chop($c='hello'); # $b ($a, b) = chop($c='hello'); # just b -> hang
    Please try the second and let me know what happens.