more useful options | |
PerlMonks |
Re: Re: •Re: Crosslinkby Rich36 (Chaplain) |
on Feb 02, 2004 at 18:57 UTC ( [id://325955]=note: print w/replies, xml ) | Need Help?? |
File::Spec's methods rel2abs() and abs2rel() are a convenient way to handle relative and absolute pathing. Also, why not use one of the Getopt::* modules instead of parsing the flags by hand? The performance might not be quite as good, but it does print a warning when someone types an unknown option.
«Rich36»
In Section
Code Catacombs
|
|