Rich36 has asked for the wisdom of the Perl Monks concerning the following question:
For example, I want to pass along the string "/home/rich36/.*" to my perl program. But instead of getting the literal string, I get all the files in that directory.
Now I know that this problem can be solved by putting quotes around the command line arguments, but I was wondering if there was a way to get the same effect within my perl script without having to quote the command line. Any ideas?
Thanks
Rich36
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Command line issues
by C-Keen (Monk) on Oct 02, 2001 at 21:21 UTC | |
|
Re: Command line issues
by xphase_work (Pilgrim) on Oct 02, 2001 at 21:21 UTC | |
|
Re: Command line issues
by clintp (Curate) on Oct 02, 2001 at 21:22 UTC | |
|
Re: Command line issues
by bluto (Curate) on Oct 02, 2001 at 21:34 UTC | |
|
Re: Command line issues
by Anonymous Monk on Oct 02, 2001 at 21:22 UTC | |
|
Re: Command line issues
by jeroenes (Priest) on Oct 02, 2001 at 21:22 UTC | |
|
Re: Command line issues
by Rich36 (Chaplain) on Oct 02, 2001 at 21:32 UTC | |
by Hanamaki (Chaplain) on Oct 02, 2001 at 23:28 UTC | |
|
Re: Command line issues
by ariels (Curate) on Oct 03, 2001 at 11:13 UTC |