Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: (bbfu) Re: default config file

by Reverend Phil (Pilgrim)
on May 10, 2001 at 01:42 UTC ( [id://79266]=note: print w/replies, xml ) Need Help??


in reply to (bbfu) Re: default config file
in thread default config file

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:
  • account for as many variables as possible with my code
  • check for a module which performs my tasks cleanly on CPAN
  • post absurd code snippets like that under Obfuscation
I also need to look through the FAQ's here and learn how to easily include all the proper links in my posts. I feel like such a slacker =)

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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://79266]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (8)
As of 2024-03-28 12:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found