in reply to Re: Unique variable names & 'strict vars'
in thread Unique variable names & 'strict vars'
Putting 'package ' inside a a block eliminates the need to return back to the main package via 'package main' call. ;-)#!/usr/local/bin/perl -w use strict; { package CONFIG; use vars qw($foo); } ....
| "There is no system but GNU, and Linux is one of its kernels." -- Confession of Faith |
|
|---|