This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perlapi: Consolidate sv_catpv-ish entries
[perl5.git] / pod / perldeprecation.pod
CommitLineData
9021a1cf
A
1=head1 NAME
2
3perldeprecation - list Perl deprecations
4
5=head1 DESCRIPTION
6
7The purpose of this document is to document what has been deprecated
8in Perl, and by which version the deprecated feature will disappear,
9or, for already removed features, when it was removed.
10
11This document will try to discuss what alternatives for the deprecated
12features are available.
13
14The deprecated features will be grouped by the version of Perl in
15which they will be removed.
16
a74d5574
JK
17=head2 Perl 5.34
18
19There are no deprecations or fatalizations scheduled for Perl 5.34.
20
9840d1d6
A
21=head2 Perl 5.32
22
23=head3 Constants from lexical variables potentially modified elsewhere
24
25You wrote something like
26
27 my $var;
28 $sub = sub () { $var };
29
30but $var is referenced elsewhere and could be modified after the C<sub>
31expression is evaluated. Either it is explicitly modified elsewhere
32(C<$var = 3>) or it is passed to a subroutine or to an operator like
33C<printf> or C<map>, which may or may not modify the variable.
34
35Traditionally, Perl has captured the value of the variable at that
36point and turned the subroutine into a constant eligible for inlining.
37In those cases where the variable can be modified elsewhere, this
38breaks the behavior of closures, in which the subroutine captures
39the variable itself, rather than its value, so future changes to the
40variable are reflected in the subroutine's return value.
41
42If you intended for the subroutine to be eligible for inlining, then
43make sure the variable is not referenced elsewhere, possibly by
44copying it:
45
46 my $var2 = $var;
47 $sub = sub () { $var2 };
48
49If you do want this subroutine to be a closure that reflects future
50changes to the variable that it closes over, add an explicit C<return>:
51
52 my $var;
53 $sub = sub () { return $var };
54
c6b2e294 55This usage was deprecated and as of Perl 5.32 is no longer allowed.
9840d1d6 56
fada8285 57=head3 Use of strings with code points over 0xFF as arguments to C<vec>
76aae383
KW
58
59C<vec> views its string argument as a sequence of bits. A string
60containing a code point over 0xFF is nonsensical. This usage is
da5a0da2 61deprecated in Perl 5.28, and was removed in Perl 5.32.
76aae383 62
ba52ce15
KW
63=head3 Use of code points over 0xFF in string bitwise operators
64
65The string bitwise operators, C<&>, C<|>, C<^>, and C<~>, treat their
66operands as strings of bytes. As such, values above 0xFF are
67nonsensical. Some instances of these have been deprecated since Perl
685.24, and were made fatal in 5.28, but it turns out that in cases where
69the wide characters did not affect the end result, no deprecation
70notice was raised, and so remain legal. Now, all occurrences either are
71fatal or raise a deprecation warning, so that the remaining legal
c8b94fe0 72occurrences became fatal in 5.32.
ba52ce15
KW
73
74An example of this is
75
76 "" & "\x{100}"
77
78The wide character is not used in the C<&> operation because the left
c8b94fe0 79operand is shorter. This now throws an exception.
ba52ce15 80
0c9c439d
Z
81=head3 hostname() doesn't accept any arguments
82
83The function C<hostname()> in the L<Sys::Hostname> module has always
84been documented to be called with no arguments. Historically it has not
85enforced this, and has actually accepted and ignored any arguments. As a
86result, some users have got the mistaken impression that an argument does
87something useful. To avoid these bugs, the function is being made strict.
c6b2e294 88Passing arguments was deprecated in Perl 5.28 and became fatal in Perl 5.32.
0c9c439d 89
0367231c
KW
90=head3 Unescaped left braces in regular expressions
91
92The simple rule to remember, if you want to match a literal C<{>
93character (U+007B C<LEFT CURLY BRACKET>) in a regular expression
94pattern, is to escape each literal instance of it in some way.
95Generally easiest is to precede it with a backslash, like C<\{>
96or enclose it in square brackets (C<[{]>). If the pattern
97delimiters are also braces, any matching right brace (C<}>) should
98also be escaped to avoid confusing the parser, for example,
99
100 qr{abc\{def\}ghi}
101
102Forcing literal C<{> characters to be escaped will enable the Perl
103language to be extended in various ways in future releases. To avoid
a3815e44 104needlessly breaking existing code, the restriction is not enforced in
0367231c 105contexts where there are unlikely to ever be extensions that could
b2247a87
KW
106conflict with the use there of C<{> as a literal. A non-deprecation
107warning that the left brace is being taken literally is raised in
108contexts where there could be confusion about it.
0367231c
KW
109
110Literal uses of C<{> were deprecated in Perl 5.20, and some uses of it
111started to give deprecation warnings since. These cases were made fatal
112in Perl 5.26. Due to an oversight, not all cases of a use of a literal
113C<{> got a deprecation warning. Some cases started warning in Perl 5.26,
c96bf7f6 114and were made fatal in Perl 5.30. Other cases started in Perl 5.28,
ded8ea47 115and were made fatal in 5.32.
0367231c 116
5203d63d
KW
117=head3 In XS code, use of various macros dealing with UTF-8.
118
059703b0
KW
119The macros below now require an extra parameter than in versions prior
120to Perl 5.32. The final parameter in each one is a pointer into the
121string supplied by the first parameter beyond which the input will not
122be read. This prevents potential reading beyond the end of the buffer.
5203d63d
KW
123C<isALPHANUMERIC_utf8>,
124C<isASCII_utf8>,
125C<isBLANK_utf8>,
126C<isCNTRL_utf8>,
127C<isDIGIT_utf8>,
128C<isIDFIRST_utf8>,
129C<isPSXSPC_utf8>,
130C<isSPACE_utf8>,
131C<isVERTWS_utf8>,
132C<isWORDCHAR_utf8>,
133C<isXDIGIT_utf8>,
134C<isALPHANUMERIC_LC_utf8>,
135C<isALPHA_LC_utf8>,
136C<isASCII_LC_utf8>,
137C<isBLANK_LC_utf8>,
138C<isCNTRL_LC_utf8>,
139C<isDIGIT_LC_utf8>,
140C<isGRAPH_LC_utf8>,
141C<isIDCONT_LC_utf8>,
142C<isIDFIRST_LC_utf8>,
143C<isLOWER_LC_utf8>,
144C<isPRINT_LC_utf8>,
145C<isPSXSPC_LC_utf8>,
146C<isPUNCT_LC_utf8>,
147C<isSPACE_LC_utf8>,
148C<isUPPER_LC_utf8>,
149C<isWORDCHAR_LC_utf8>,
150C<isXDIGIT_LC_utf8>,
151C<toFOLD_utf8>,
152C<toLOWER_utf8>,
153C<toTITLE_utf8>,
154and
155C<toUPPER_utf8>.
156
059703b0
KW
157Since Perl 5.26, this functionality with the extra parameter has been
158available by using a corresponding macro to each one of these, and whose
159name is formed by appending C<_safe> to the base name. There is no
160change to the functionality of those. For example, C<isDIGIT_utf8_safe>
161corresponds to C<isDIGIT_utf8>, and both now behave identically. All
162are documented in L<perlapi/Character case changing> and
5203d63d
KW
163L<perlapi/Character classification>.
164
ded8ea47
KW
165This change was originally scheduled for 5.30, but was delayed until
1665.32.
5203d63d 167
4db50d5b
S
168=head3 C<< File::Glob::glob() >> was removed
169
170C<< File::Glob >> has a function called C<< glob >>, which just calls
171C<< bsd_glob >>.
172
173C<< File::Glob::glob() >> was deprecated in Perl 5.8. A deprecation
174message was issued from Perl 5.26 onwards, and the function has now
175disappeared in Perl 5.30.
176
177Code using C<< File::Glob::glob() >> should call
178C<< File::Glob::bsd_glob() >> instead.
179
a0e213fc
A
180=head2 Perl 5.30
181
37398dc1
A
182=head3 C<< $* >> is no longer supported
183
184Before Perl 5.10, setting C<< $* >> to a true value globally enabled
185multi-line matching within a string. This relique from the past lost
186its special meaning in 5.10. Use of this variable will be a fatal error
187in Perl 5.30, freeing the variable up for a future special meaning.
188
189To enable multiline matching one should use the C<< /m >> regexp
190modifier (possibly in combination with C<< /s >>). This can be set
191on a per match bases, or can be enabled per lexical scope (including
192a whole file) with C<< use re '/m' >>.
193
194=head3 C<< $# >> is no longer supported
195
196This variable used to have a special meaning -- it could be used
197to control how numbers were formatted when printed. This seldom
198used functionality was removed in Perl 5.10. In order to free up
199the variable for a future special meaning, its use will be a fatal
200error in Perl 5.30.
201
33f0d962 202To specify how numbers are formatted when printed, one is advised
37398dc1
A
203to use C<< printf >> or C<< sprintf >> instead.
204
c22e17d0 205=head3 Assigning non-zero to C<< $[ >> is fatal
8e796115
DIM
206
207This variable (and the corresponding C<array_base> feature and
c22e17d0 208L<arybase> module) allowed changing the base for array and string
8e796115
DIM
209indexing operations.
210
211Setting this to a non-zero value has been deprecated since Perl 5.12 and
c22e17d0 212throws a fatal error as of Perl 5.30.
8e796115 213
a0e213fc
A
214=head3 C<< File::Glob::glob() >> will disappear
215
216C<< File::Glob >> has a function called C<< glob >>, which just calls
217C<< bsd_glob >>. However, its prototype is different from the prototype
218of C<< CORE::glob >>, and hence, C<< File::Glob::glob >> should not
219be used.
220
d1be68f6
A
221C<< File::Glob::glob() >> was deprecated in Perl 5.8. A deprecation
222message was issued from Perl 5.26 onwards, and the function will
223disappear in Perl 5.30.
a0e213fc
A
224
225Code using C<< File::Glob::glob() >> should call
226C<< File::Glob::bsd_glob() >> instead.
227
0367231c 228=head3 Unescaped left braces in regular expressions (for 5.30)
286c9456 229
0367231c 230See L</Unescaped left braces in regular expressions> above.
286c9456 231
30b17cc1
A
232=head3 Unqualified C<dump()>
233
234Use of C<dump()> instead of C<CORE::dump()> was deprecated in Perl 5.8,
235and an unqualified C<dump()> will no longer be available in Perl 5.30.
236
237See L<perlfunc/dump>.
238
286c9456 239
afb5c82e 240=head3 Using my() in false conditional.
c437f7ac
A
241
242There has been a long-standing bug in Perl that causes a lexical variable
243not to be cleared at scope exit when its declaration includes a false
244conditional. Some people have exploited this bug to achieve a kind of
bbadd5d3 245static variable. To allow us to fix this bug, people should not be
c437f7ac
A
246relying on this behavior.
247
248Instead, it's recommended one uses C<state> variables to achieve the
249same effect:
250
251 use 5.10.0;
252 sub count {state $counter; return ++ $counter}
253 say count (); # Prints 1
254 say count (); # Prints 2
255
256C<state> variables were introduced in Perl 5.10.
257
258Alternatively, you can achieve a similar static effect by
bbadd5d3 259declaring the variable in a separate block outside the function, e.g.,
c437f7ac
A
260
261 sub f { my $x if 0; return $x++ }
262
263becomes
264
265 { my $x; sub f { return $x++ } }
266
267The use of C<my()> in a false conditional has been deprecated in
bbadd5d3 268Perl 5.10, and became a fatal error in Perl 5.30.
c437f7ac 269
1972ac5c
A
270
271=head3 Reading/writing bytes from/to :utf8 handles.
272
273The sysread(), recv(), syswrite() and send() operators are
274deprecated on handles that have the C<:utf8> layer, either explicitly, or
275implicitly, eg., with the C<:encoding(UTF-16LE)> layer.
276
277Both sysread() and recv() currently use only the C<:utf8> flag for the stream,
278ignoring the actual layers. Since sysread() and recv() do no UTF-8
279validation they can end up creating invalidly encoded scalars.
280
281Similarly, syswrite() and send() use only the C<:utf8> flag, otherwise ignoring
282any layers. If the flag is set, both write the value UTF-8 encoded, even if
283the layer is some different encoding, such as the example above.
284
285Ideally, all of these operators would completely ignore the C<:utf8> state,
286working only with bytes, but this would result in silently breaking existing
287code. To avoid this a future version of perl will throw an exception when
288any of sysread(), recv(), syswrite() or send() are called on handle with the
289C<:utf8> layer.
290
291In Perl 5.30, it will no longer be possible to use sysread(), recv(),
292syswrite() or send() to read or send bytes from/to :utf8 handles.
293
30573109
A
294
295=head3 Use of unassigned code point or non-standalone grapheme for a delimiter.
296
297A grapheme is what appears to a native-speaker of a language to be a
298character. In Unicode (and hence Perl) a grapheme may actually be
299several adjacent characters that together form a complete grapheme. For
300example, there can be a base character, like "R" and an accent, like a
4c821bda
KW
301circumflex "^", that appear to be a single character when displayed,
302with the circumflex hovering over the "R".
303
304As of Perl 5.30, use of delimiters which are non-standalone graphemes is
305fatal, in order to move the language to be able to accept
306multi-character graphemes as delimiters.
307
c96bf7f6 308Also, as of Perl 5.30, delimiters which are unassigned code points
4c821bda
KW
309but that may someday become assigned are prohibited. Otherwise, code
310that works today would fail to compile if the currently unassigned
311delimiter ends up being something that isn't a stand-alone grapheme.
312Because Unicode is never going to assign L<non-character code
313points|perlunicode/Noncharacter code points>, nor L<code points that are
c96bf7f6 314above the legal Unicode maximum|perlunicode/Beyond Unicode code
4c821bda 315points>, those can be delimiters.
30573109 316
c9680906
A
317=head2 Perl 5.28
318
dcc013e3 319=head3 Attributes C<< :locked >> and C<< :unique >>
c9680906
A
320
321The attributes C<< :locked >> (on code references) and C<< :unique >>
322(on array, hash and scalar references) have had no effect since
323Perl 5.005 and Perl 5.8.8 respectively. Their use has been deprecated
324since.
325
d1f1f359 326As of Perl 5.28, these attributes are syntax errors. Since the
dcc013e3
A
327attributes do not do anything, removing them from your code fixes
328the syntax error; and removing them will not influence the behaviour
329of your code.
c9680906 330
ac641426 331
e5aa3f0b
A
332=head3 Bare here-document terminators
333
334Perl has allowed you to use a bare here-document terminator to have the
335here-document end at the first empty line. This practise was deprecated
d1f1f359 336in Perl 5.000; as of Perl 5.28, using a bare here-document terminator
dcc013e3 337throws a fatal error.
e5aa3f0b 338
33f0d962 339You are encouraged to use the explicitly quoted form if you wish to
e5aa3f0b
A
340use an empty line as the terminator of the here-document:
341
342 print <<"";
343 Print this line.
344
345 # Previous blank line ends the here-document.
346
347
d8940893
A
348=head3 Setting $/ to a reference to a non-positive integer
349
350You assigned a reference to a scalar to C<$/> where the
351referenced item is not a positive integer. In older perls this B<appeared>
352to work the same as setting it to C<undef> but was in fact internally
353different, less efficient and with very bad luck could have resulted in
354your file being split by a stringified form of the reference.
355
356In Perl 5.20.0 this was changed so that it would be B<exactly> the same as
357setting C<$/> to undef, with the exception that this warning would be
358thrown.
359
dcc013e3
A
360As of Perl 5.28, setting C<$/> to a reference of a non-positive
361integer throws a fatal error.
d8940893
A
362
363You are recommended to change your code to set C<$/> to C<undef> explicitly
364if you wish to slurp the file.
365
366
fcdb3ac1
A
367=head3 Limit on the value of Unicode code points.
368
dcc013e3
A
369Unicode only allows code points up to 0x10FFFF, but Perl allows
370much larger ones. Up till Perl 5.28, it was allowed to use code
371points exceeding the maximum value of an integer (C<IV_MAX>).
372However, that did break the perl interpreter in some constructs,
373including causing it to hang in a few cases. The known problem
374areas were in C<tr///>, regular expression pattern matching using
375quantifiers, as quote delimiters in C<qI<X>...I<X>> (where I<X> is
376the C<chr()> of a large code point), and as the upper limits in
377loops.
fcdb3ac1 378
d1f1f359 379The use of out of range code points was deprecated in Perl 5.24; as of
dcc013e3 380Perl 5.28 using a code point exceeding C<IV_MAX> throws a fatal error.
fcdb3ac1
A
381
382If your code is to run on various platforms, keep in mind that the upper
dcc013e3
A
383limit depends on the platform. It is much larger on 64-bit word sizes
384than 32-bit ones. For 32-bit integers, C<IV_MAX> equals C<0x7FFFFFFF>,
385for 64-bit integers, C<IV_MAX> equals C<0x7FFFFFFFFFFFFFFF>.
fcdb3ac1 386
db99d38d 387
6ef4f8b7
A
388=head3 Use of comma-less variable list in formats.
389
dcc013e3 390It was allowed to use a list of variables in a format, without
6ef4f8b7 391separating them with commas. This usage has been deprecated
d1f1f359 392for a long time, and as of Perl 5.28, this throws a fatal error.
6ef4f8b7 393
db99d38d
A
394=head3 Use of C<\N{}>
395
396Use of C<\N{}> with nothing between the braces was deprecated in
be332ba0 397Perl 5.24, and throws a fatal error as of Perl 5.28.
db99d38d
A
398
399Since such a construct is equivalent to using an empty string,
400you are recommended to remove such C<\N{}> constructs.
401
122d6c09
A
402=head3 Using the same symbol to open a filehandle and a dirhandle
403
404It used to be legal to use C<open()> to associate both a
405filehandle and a dirhandle to the same symbol (glob or scalar).
406This idiom is likely to be confusing, and it was deprecated in
407Perl 5.10.
408
409Using the same symbol to C<open()> a filehandle and a dirhandle
d1f1f359 410throws a fatal error as of Perl 5.28.
122d6c09
A
411
412You should be using two different symbols instead.
413
ac641426
A
414=head3 ${^ENCODING} is no longer supported.
415
416The special variable C<${^ENCODING}> was used to implement
417the C<encoding> pragma. Setting this variable to anything other
418than C<undef> was deprecated in Perl 5.22. Full deprecation
419of the variable happened in Perl 5.25.3.
420
dcc013e3 421Setting this variable to anything other than an undefined value
d1f1f359 422throws a fatal error as of Perl 5.28.
ac641426 423
d9d53e86 424
838ba4df
A
425=head3 C<< B::OP::terse >>
426
427This method, which just calls C<< B::Concise::b_terse >>, has been
dcc013e3 428deprecated, and disappeared in Perl 5.28. Please use
838ba4df
A
429C<< B::Concise >> instead.
430
431
d9d53e86 432
dcc013e3 433=head3 Use of inherited AUTOLOAD for non-method %s::%s() is no longer allowed
d9d53e86 434
dcc013e3 435As an (ahem) accidental feature, C<AUTOLOAD> subroutines were looked
d9d53e86
A
436up as methods (using the C<@ISA> hierarchy) even when the subroutines
437to be autoloaded were called as plain functions (e.g. C<Foo::bar()>),
438not as methods (e.g. C<< Foo->bar() >> or C<< $obj->bar() >>).
439
dcc013e3
A
440This bug was deprecated in Perl 5.004, has been rectified in Perl 5.28
441by using method lookup only for methods' C<AUTOLOAD>s.
d9d53e86
A
442
443The simple rule is: Inheritance will not work when autoloading
444non-methods. The simple fix for old code is: In any module that used
445to depend on inheriting C<AUTOLOAD> for non-methods from a base class
446named C<BaseClass>, execute C<*AUTOLOAD = \&BaseClass::AUTOLOAD> during
447startup.
448
449In code that currently says C<use AutoLoader; @ISA = qw(AutoLoader);>
450you should remove AutoLoader from @ISA and change C<use AutoLoader;> to
451C<use AutoLoader 'AUTOLOAD';>.
452
d9d53e86 453
ecbcbef0
A
454=head3 Use of code points over 0xFF in string bitwise operators
455
456The string bitwise operators, C<&>, C<|>, C<^>, and C<~>, treat
457their operands as strings of bytes. As such, values above 0xFF
458are nonsensical. Using such code points with these operators
d1f1f359 459was deprecated in Perl 5.24, and is fatal as of Perl 5.28.
ecbcbef0 460
36d3e805
KW
461=head3 In XS code, use of C<to_utf8_case()>
462
f566c7cf 463This function has been removed as of Perl 5.28; instead convert to call
36d3e805
KW
464the appropriate one of:
465L<C<toFOLD_utf8_safe>|perlapi/toFOLD_utf8_safe>.
466L<C<toLOWER_utf8_safe>|perlapi/toLOWER_utf8_safe>,
467L<C<toTITLE_utf8_safe>|perlapi/toTITLE_utf8_safe>,
468or
469L<C<toUPPER_utf8_safe>|perlapi/toUPPER_utf8_safe>.
bfdc8cd3 470
856f8944
A
471=head2 Perl 5.26
472
473=head3 C<< --libpods >> in C<< Pod::Html >>
474
475Since Perl 5.18, the option C<< --libpods >> has been deprecated, and
476using this option did not do anything other than producing a warning.
477
d1f1f359 478The C<< --libpods >> option is no longer recognized as of Perl 5.26.
856f8944
A
479
480
2560602c
A
481=head3 The utilities C<< c2ph >> and C<< pstruct >>
482
483These old, perl3-era utilities have been deprecated in favour of
d1f1f359 484C<< h2xs >> for a long time. As of Perl 5.26, they have been removed.
2560602c 485
d9d53e86 486
4a29ab5e
A
487=head3 Trapping C<< $SIG {__DIE__} >> other than during program exit.
488
489The C<$SIG{__DIE__}> hook is called even inside an C<eval()>. It was
490never intended to happen this way, but an implementation glitch made
491this possible. This used to be deprecated, as it allowed strange action
492at a distance like rewriting a pending exception in C<$@>. Plans to
493rectify this have been scrapped, as users found that rewriting a
494pending exception is actually a useful feature, and not a bug.
495
496Perl never issued a deprecation warning for this; the deprecation
497was by documentation policy only. But this deprecation has been
d1f1f359 498lifted as of Perl 5.26.
4a29ab5e
A
499
500
24ca4586
A
501=head3 Malformed UTF-8 string in "%s"
502
503This message indicates a bug either in the Perl core or in XS
504code. Such code was trying to find out if a character, allegedly
505stored internally encoded as UTF-8, was of a given type, such as
506being punctuation or a digit. But the character was not encoded
507in legal UTF-8. The C<%s> is replaced by a string that can be used
508by knowledgeable people to determine what the type being checked
509against was.
510
511Passing malformed strings was deprecated in Perl 5.18, and
512became fatal in Perl 5.26.
513
514
9021a1cf
A
515=head2 Perl 5.24
516
517=head3 Use of C<< *glob{FILEHANDLE} >>
518
d1be68f6 519The use of C<< *glob{FILEHANDLE} >> was deprecated in Perl 5.8.
9021a1cf
A
520The intention was to use C<< *glob{IO} >> instead, for which
521C<< *glob{FILEHANDLE} >> is an alias.
522
d1be68f6 523However, this feature was undeprecated in Perl 5.24.
9021a1cf 524
46d7f3c1
A
525=head3 Calling POSIX::%s() is deprecated
526
527The following functions in the C<POSIX> module are no longer available:
528C<isalnum>, C<isalpha>, C<iscntrl>, C<isdigit>, C<isgraph>, C<islower>,
529C<isprint>, C<ispunct>, C<isspace>, C<isupper>, and C<isxdigit>. The
530functions are buggy and don't work on UTF-8 encoded strings. See their
531entries in L<POSIX> for more information.
532
d1be68f6 533The functions were deprecated in Perl 5.20, and removed in Perl 5.24.
46d7f3c1
A
534
535
c4d8d6a2
A
536=head2 Perl 5.16
537
538=head3 Use of %s on a handle without * is deprecated
539
540It used to be possible to use C<tie>, C<tied> or C<untie> on a scalar
541while the scalar holds a typeglob. This caused its filehandle to be
542tied. It left no way to tie the scalar itself when it held a typeglob,
543and no way to untie a scalar that had had a typeglob assigned to it.
544
d1be68f6 545This was deprecated in Perl 5.14, and the bug was fixed in Perl 5.16.
c4d8d6a2
A
546
547So now C<tie $scalar> will always tie the scalar, not the handle it holds.
548To tie the handle, use C<tie *$scalar> (with an explicit asterisk). The same
549applies to C<tied *$scalar> and C<untie *$scalar>.
550
551
9021a1cf
A
552=head1 SEE ALSO
553
554L<warnings>, L<diagnostics>.
555
556=cut