I try to send command using SSH in my perl script with # but it gets truncated right at #Example:Input text is : $message = Product ID # STK000134The SSH command is :$execute=`ssh -q id@host /usr/message/send -pin $pager_num -message $message`;What pass through is :ssh -q id@host /usr/message/send -pin $pager_num -message Product ID Instead of : ssh -q id@host /usr/message/send -pin $pager_num -message Product ID # STK000134How to I ensure that # and all text behind # will get through?
Special character '#' in Perl SSH command
shell;ssh;perl;command substitution