Initial commit of OpenSPARC T2 design and verification files.
[OpenSPARC-T2-DV] / tools / perl-5.8.0 / lib / site_perl / 5.8.0 / Psh / Builtins / Set.pm
CommitLineData
86530b38
AT
1package Psh::Builtins::Set;
2
3require Psh::Util;
4
5=item * C<set>
6
7Return the list of the variables in the environment. This cannot as yet be
8used to set internal options (e.g. noclobber) but may be able to in future versions.
9
10=cut
11
12sub bi_set
13{
14 foreach (sort keys %ENV) {
15 print "$_=$ENV{$_}\n";
16 }
17
18 return (1,undef);
19}
20
211;