Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
bareword::filehandles(User Contributed Perl Documentatbareword::filehandles(3)

NAME
       bareword::filehandles - disables	bareword filehandles

VERSION
       version 0.005

SYNOPSIS
	   no bareword::filehandles;

	   open	FH, $file	     # dies
	   open	my $fh,	$file;	     # doesn't die

	   print FH $string	     # dies
	   print STDERR	$string	     # doesn't die

DESCRIPTION
       This module lexically disables the use of bareword filehandles with
       builtin functions, except for the special builtin filehandles "STDIN",
       "STDOUT", "STDERR", "ARGV", "ARGVOUT" and "DATA".

METHODS
   unimport
       Disables	bareword filehandles for the remainder of the scope being
       compiled.

   import
       Enables bareword	filehandles for	the remainder of the scope being
       compiled.

SEE ALSO
       perlfunc, B::Hooks::OP::Check.

AUTHOR
       Dagfinn Ilmari MannsAYker <ilmari@ilmari.org>

COPYRIGHT AND LICENSE
       This software is	copyright (c) 2011 - 2016 by Dagfinn Ilmari
       MannsAYker.

       This is free software; you can redistribute it and/or modify it under
       the same	terms as the Perl 5 programming	language system	itself.

perl v5.24.1			  2017-04-20	      bareword::filehandles(3)

NAME | VERSION | SYNOPSIS | DESCRIPTION | METHODS | SEE ALSO | AUTHOR | COPYRIGHT AND LICENSE

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=bareword::filehandles&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help