On Friday 15 April 2005 12:18 am, John W. Krahn wrote:

> >>datefile.pl c:\program files\IBM\SQLLIB\DB2\db2diag.log
> >
> > You could paste the two arguments together in perl, add
> > a space between them, and use that as the filename.
>
> What if there are two or more spaces?  A TAB character?

Then it would totally mess up.

I was trying to say you could do a complex thing, but it's
better to just quote the argument and not face the problem
in the first place.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to