Reputation: 37
I am trying to use write function of perl for formatting the output written in a file.but I am not able to do so as it gives me error :use of comma-less variable list is deprecated in line 3.
format STDOUT=
@<<<<<<<<<<<<<<<<<@<<<<<<<<<<<<<<<
$text $text1
.
$text="hello";
$text1="world!";
write;
Upvotes: 0
Views: 124
Reputation: 1141
Just replace it with
format STDOUT=
@<<<<<<<<<<<<<<<<<@<<<<<<<<<<<<<<<
($text, $text1)
.
$text="hello";
$text1="world!";
write;
Upvotes: 1