in reply to Adding Default Values [for BEGINNERS]
Thanks. Those ideas seem to work, and the funny thing is, i do know about chomping and forgot to do it. I use -w when calling the scripts.
One pickle.. I am using winXp, and ActivePerl and when i add USE STRICT, my script blows up on me with GLOBAL SYMBOL error statements. It pretty much complains about everything from line 22 and down, "requiring explicit package name..." for the different variables the script encounters.
Also, after adding the chomp, and pulling out the \n print, I have to hit return twice, but it does use the provided default. Any thoughts?
Again, thank you everyone.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Adding Default Values [for BEGINNERS]
by GrandFather (Saint) on Dec 21, 2006 at 23:40 UTC | |
Re^2: Adding Default Values [for BEGINNERS]
by syphilis (Archbishop) on Dec 22, 2006 at 00:33 UTC | |
by brusimm (Pilgrim) on Dec 22, 2006 at 20:39 UTC |
In Section
Seekers of Perl Wisdom