more useful options | |
PerlMonks |
Re: (bbfu) Re: default config fileby Reverend Phil (Pilgrim) |
on May 10, 2001 at 01:42 UTC ( [id://79266]=note: print w/replies, xml ) | Need Help?? |
All of your points are quite valid, and had I taken the time to find Base::Filename (I am still merely an egg), I would have used it. This was a specific little hack for a specific little instance, where this will always be on a windows system, and the project managers would be expecting it to pick up their config file from the directory they're running the script in. (most of them can only run the script from looking at their notes which include everything down to directory navigation) It was also going to be replaced soon with a web interface for performing this task.
I was basically trying to play around and make the default config file in this specific instance variable to the name of the script being run. Yet mostly it was an exercise in building 10 commands into 1 line and enjoying myself =) In retrospect, I should learn from this to:
I still have not nearly the programming experience I would like, and a childs eyes when I play with Perl. -=rev=- When you hear sweet syncopation And the music softly moans T'ain't no sin to take off your skin And dance around in your bones
In Section
Cool Uses for Perl
|
|