Nkuipers wrote:

> Hello all,
> 
> While reading the Cookbook, I came across the following on page 357:
> 
> "If the value assigned to a typeglob is not a reference but itself another
> typeglob, then all types by that name are aliased.  The types aliased in a
> full typeglob assignment are scalar....and format."
> 
> I have used every globbed item except format...I've never even heard of
> format.
> 
> What's a format?  The Cookbook deals mostly with Perl 5.004; are formats
> deprecated?
> 
> Thanks,
> 
> Nathanael Kuipers

format are those that when you see:

format HELLO_WORLD =
@<<<<<<<< @<<<<<<< @<<<<<<<<<
$i,        $j,       $k
.

$~ = 'HELLO_WORLD';
write;

__END__

here the format is 'HELLO_WORLD'

david

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to