autodie Questions

4

Solved

Every now and again I see people on StackOverflow promote the use of autodie. But in the code here and elsewhere in the net I don't see autodie very often. Are there some disadvantages? Do I lose s...
Dune asked 15/10, 2010 at 11:8

1

The IO::File, IO::Socket::INET modules have some advantages over directly using perl's built-in IO functions, such as having explicit syntax to flush a handle. However, they seem to have some disa...
Gurge asked 19/12, 2013 at 20:51

3

Solved

The autodie documentation hints that it is possible to use it for other functions than those built-ins which it can handle by default, but there are no clear examples how to do that in it. Specifi...
Assent asked 17/3, 2011 at 10:12

1

Solved

Why do I get after the "autodie" a different output? #!/usr/bin/env perl use warnings; use 5.012; use utf8; use open ':encoding(utf-8)'; use open ':std'; open my $fh, '>', 'test.txt' or die $...
Kentonkentucky asked 10/2, 2011 at 15:54

3

Solved

The Perl modules autodie and Fatal seem to be doing similar things. What are the reasons for using one in preference to the other?
Tichon asked 5/4, 2010 at 11:17
1

© 2022 - 2024 — McMap. All rights reserved.