X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2Fstat.pl;h=a84b0accc4fec624af60f66ccbc78eaf11df69ad;hb=b595cd4b73a6e1bd45865d6446c34d4019c740d1;hp=df9e1dba5b2a61fa7d9ec3afe20b6bcc7b5f769c;hpb=e929a76b14922a7077596a747fc1fcd1bdd6b9ea;p=p5sagit%2Fp5-mst-13.2.git diff --git a/lib/stat.pl b/lib/stat.pl index df9e1db..a84b0ac 100644 --- a/lib/stat.pl +++ b/lib/stat.pl @@ -1,10 +1,15 @@ -;# $Header: stat.pl,v 3.0.1.1 90/08/09 04:01:34 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 + $[;