X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2Fstat.pl;h=a84b0accc4fec624af60f66ccbc78eaf11df69ad;hb=b595cd4b73a6e1bd45865d6446c34d4019c740d1;hp=c6682b9df3de35407be015c4c4bee7931a940020;hpb=f97d6588554acc8b88e745a23fe1f1d5fd04dfae;p=p5sagit%2Fp5-mst-13.2.git diff --git a/lib/stat.pl b/lib/stat.pl index c6682b9..a84b0ac 100644 --- a/lib/stat.pl +++ b/lib/stat.pl @@ -1,8 +1,15 @@ +;# 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 + $[;