in reply to Re: how to get the input file name when perl script runs from the command line?
in thread how to get the input file name when perl script runs from the command line?

perl -nle '/<meta-property type=\"meta-attribute\">(.*)\<\/meta-proper +ty\>/ and print "$ARGV:$1"' *
worked as expected. thanks a bunch
  • Comment on Re^2: how to get the input file name when perl script runs from the command line?
  • Download Code