21. $t->param( 22. title => 'My File Viewer', 23. file => 'Script Error', 24. code => 'An error occured while preparing the file for display.' 25. ); 26. } 27. 28. else { 29. $t->param( 30. title => 'My File Viewer', 31. file => $file, 32. code => do { local $/; <$fh> } 33. ); 34. }