|
|
A Perl script to manage file types and creators
Here's my version of this script, made more readable by using the standard perl module Getopt::Std to process command-line switches.
A Perl script to manage file types and creators
Unless Getopt::Std handles this behind the scenes, it looks like one thing is missing from these scripts: passing the file arguments to the glob function to get a list of files from arguments like '*.txt':
A Perl script to manage file types and creators
I don't understand why you'd need to do this; for something like '*.txt', the shell will pass the list of files to perl.
A Perl script to manage file types and creators
Oops, you're right, sorry. I don't recall why now, but I used to have to do this. Anyway, please disregard previous post. |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.09 seconds |
|