X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2Fstat.pl;h=a84b0accc4fec624af60f66ccbc78eaf11df69ad;hb=163ba113b958ebef4215df1e1b04445b4a85504f;hp=9f03cbc161fab237a6a90b8ab83ad1c54c82c0b8;hpb=fe14fcc35f78a371a174a1d14256c2f35ae4262b;p=p5sagit%2Fp5-mst-13.2.git diff --git a/lib/stat.pl b/lib/stat.pl index 9f03cbc..a84b0ac 100644 --- a/lib/stat.pl +++ b/lib/stat.pl @@ -1,10 +1,15 @@ -;# $Header: stat.pl,v 4.0 91/03/20 01:26:16 lwall Locked $ - +;# This legacy library is deprecated and will be removed in a future +;# release of perl. +;# ;# Usage: ;# require 'stat.pl'; ;# @ary = stat(foo); ;# $st_dev = @ary[$ST_DEV]; ;# + +warn( "The 'stat.pl' legacy library is deprecated and will be" + . " removed in the next major release of perl." ); + $ST_DEV = 0 + $[; $ST_INO = 1 + $[; $ST_MODE = 2 + $[;