File: Changes.pod

package info (click to toggle)
libscriptalicious-perl 1.17-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, stretch
  • size: 252 kB
  • ctags: 30
  • sloc: perl: 1,182; makefile: 11
file content (211 lines) | stat: -rw-r--r-- 4,789 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
=encoding UTF-8

=head1 WHATS NEW IN SCRIPTALICIOUS

=head2 VERSION 1.17

=over

=item Fix deadlock with C<out =E<gt> sub { ... }>

Between Perl versions 5.17.5 and 5.17.6, a change was introduced which
exposed a common pipe deadlock bug in this module, if you used closures
which handle filehandles. [closes: RT#85999]

=back

=head2 VERSION 1.16

=over

=item Clear PERL5OPT before invoking $^X in tests

To hopefully resolve some false failures

=item Fix code for case when Time::HiRes is not available

I never got a report about this, but it clearly didn't work!  Guess
no-one's using a Perl before 5.7.3 or without that module any more.

=item put the magic AUTOLOAD back

Scriptalicious will do most of its core stuff without compiling most
of itself, and there is an AUTOLOAD hook which puts them into place.
I decided to re-enable it.

=item remove (soft) dependency on Pod::Constants

Scriptalicious scripts are less delicious without a working --help,
and many systems did not bother with this soft dependency, so it is
of benefit to just implement what that code did instead.

=item new $CONFIG variable

Used for telling where config was read from (or specifying where it is
to be read from)

=item deal with negative values in sci_unit and time_unit

These functions didn't deal with negative input; fix that.

=back

=head2 VERSION 1.15

=over

=item Add missing copyright notices and license.

Gah, sorry about this.  Note that it is a retrospective license, so
you don't need to 'upgrade' to this version to copy the software.

=back

=head2 VERSION 1.14

=over

=item 5.6.x compat: fix missed instance of unquoted filehandle in test suite

=back

=head2 VERSION 1.13

=over

=item 5.6.x compat: don't use readline FH; use <FH> instead

=item Don't die if getconf is called without YAML installed; warn instead

=item Make YAML config test conditional on YAML being installed

=item Fix incorrectly written e-mail address in Makefile.PL

=item Remove TODO file; these features have been added!

=back

=head2 VERSION 1.12

=over

=item Add getopt_lenient()

=item Add time_unit() function

=item Use time_unit instead of sci_unit in show_elapsed/show_delta

=item Fix test that was still testing for ยต

=back

=head2 VERSION 1.11

=over

=item Drop C<Module::Build> dependency

Go back to C<ExtUtils::MakeMaker>.

=item Fix various problems with prompt_*

=item Add C<hush_exec> and C<unhush_exec> functions

=item Make C<getopt()> optional for getting verbosity right

=item Functions don't clobber $_ (Gerard Goosen)

=back

=head2 VERSION 1.10

Add prompt_file from an earlier branch.

Fix F<Build.PL> so a compatibility Makefile.PL is generated.

=head2 VERSION 1.09

Another "brown paper bag release".  Fixed a bug in tsay that would
cause it not to work if there was a true value in $1 already.  Bring
on Perl 6 and lexical $/.

=head2 VERSION 1.08

Added new functions 'anydump' and the awesome 'tsay'

=head2 VERSION 1.07

Brown paper bag release - the prompting had some debug statements
left behind.

=head2 VERSION 1.06

Documentation modifications only; it was quite rightly pointed out
that the documentation didn't really say what the script is useful
for.


=head2 VERSION 1.05

=over

=item B<Prompting>

Prompt the user for arbitrary things via prompt_for(-int => "foo"),
with readline support.

=item B<Filehandle Plugging and Playing>

All functions that run things (ie C<run()>, C<run_err()>, C<capture()>
and C<capture_err()> can now have arbitrary filehandle connections to
closures (via a sub-process), named files or filehandles.

=back

=head2 VERSION 1.04

Bug fix for scripts that fork (see F<t/04-fork.t>)

=head2 VERSION 1.03

=over

=item B<YAML config file support>

Do your C<getopt()> and C<YAML::Load()> in one pass!  See C<getconf()>
in the man page.

You can even include the default YAML configuration file in your POD
via Pod::Constants!  Soon to be documented and tested by the test
suite :).  But the daring can go put some YAML in a section called
"C<DEFAULT CONFIGURATION FILE>"

=item B<Quick and dirty timer functions>

New timer utility functions C<start_timer()>, C<show_delta()>,
C<show_elapsed()>

=item bugfix

C<barf()> now does not make your script exit if inside C<eval {}>; it
checks C<$^S> and re-throws the error instead.

=back

=head2 Historic releases

 Version 1.02 - Thu, 15 Apr 2004 12:24:16 +1200

  * Made barf actually barf :-}
  * Fixed bug with capture and -v - error "Warning: unable to close
    filehandle CHILD properly."
  * output from capture_err matches documentation

 Version 1.01 - Tue, 13 Apr 2004 10:26:27 +1200

  * Fixed version number input - now accepts $main::VERSION as per
    widespread convention
  * Added SEE ALSO section based on feedback from module-
    authors@perl.org

=cut