Incorrect syntax formatting
$data{'flag'} = $@ ? flag_post : (flag_post | flag_data);
( see attached screenshot )
If the code is written as
$data{'flag'} = ($@) ? flag_post : (flag_post | flag_data);
then there is no problem with formatting, so I assume the problem is in recognision of $@ variable.
$@
Log in to post a comment.
If the code is written as
then there is no problem with formatting, so I assume the problem is in recognision of
$@
variable.Last edit: John 2019-10-04