Hi All, I really don't understand why it works this way. Any help will be greatly appreciated. Many thanks in advance.
Below is a call to a sub-routine add_send_messages. This sub-routine in turn calls others and ultimately an e-mail is sent via "sendmail". If the third line is changed to: Page Level Alerting Going Second One :: $page_name i.e. moving the $page_name variable to the end, then an e-mail is not sent, I have no clue, why is this way. Is there any specific syntax in passing argument values? $page_name =~ s/\s*//g; add_send_messages($user_alarm_id,"dM - $alarm_comment / $network_str $location_str - $error_name", "$alarm_comment: $url_name\n $page_name :: Page Level Alerting Going Second One $debug_mess $$opts{'comment'} "); sub add_send_messages { my($user_alarm_id,$subj,$mess)[EMAIL PROTECTED]; ........ ......... } -- Praveen Rajendra Babu [EMAIL PROTECTED] -- http://www.fastmail.fm - The way an email service should be -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>