in reply to declare a variable in perl

Welcome nvlung

did you already have a look into man perlintro?

> Could you please explain what these char ~ s/<c>/ use for?

see

> what value $new_msg will get here?

impossible to answer w/o knowing the content of all $variables

Cheers Rolf

( addicted to the Perl Programming Language)

Replies are listed 'Best First'.
Re^2: declare a variable in perl
by nvlung (Initiate) on Jan 03, 2014 at 10:10 UTC
    Thanks LanX! I'm reading :))