Could you please explain what these char "~ s/<c>/" use for? what value $new_msg will get here? Thanks so much!$new_msg =~ s/<c>/$count/g; $new_msg =~ s/<p>/$pcnt/g; $new_msg =~ s/<t>/$total/g;
In reply to declare a variable in perl by nvlung
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |