It didn't work and I want to see what I've done wrong and what I need to fix in order to reach my end goal. Thank Youuse strict; use warnings; print 'Please enter your card number' chomp($inp = <>); $inp =~ s/(\d{4})(\d{4})(\d{4})(\d{4})/$1 $2 $3 $4/; print $inp,"\n";
In reply to Passing digits in perl by peacefuldragon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |