Perl Cd Bookshelf [Electronic resources]

نسخه متنی -صفحه : 875/ 241
نمايش فراداده

8.193. Symbol

Provides functions for creating anonymous globs and qualifying variable names. Exports the following.

gensym

gensym

Creates an anonymous glob and returns a reference to it that can be used as a filehandle or directory handle.

qualify

qualify (symname[, pkg])

Turns unqualified symbol names into qualified variable names (e.g., turns myvar into MyPackage::myvar).

qualify_to_ref

qualify_to_ref (symname[, pkg])

Like qualify, but returns a glob reference that can be used even if use strict 'refs' is in effect.

ungensym

ungensym

For backward compatibility only; does nothing.


8.192. Switch8.194. Sys::Hostname


Copyright © 2002 O'Reilly & Associates. All rights reserved.