On 16/12/2010 13:57, practicalperl wrote:
On Thu, Dec 16, 2010 at 9:47 PM, C.DeRykus wrote:
There weren't any matches with files and no wildcards
in the glob pattern so the pattern itself is returned *. If
there had been a wildcard in the pattern, then nothing
would have been returned.
Th
On Thu, Dec 16, 2010 at 9:47 PM, C.DeRykus wrote:
> There weren't any matches with files and no wildcards
> in the glob pattern so the pattern itself is returned *. If
> there had been a wildcard in the pattern, then nothing
> would have been returned.
>
Thanks. But still being confused about
On Dec 16, 2:56 am, practicalp...@gmail.com (practicalperl) wrote:
> This has been confused me:
>
> [an...@localhost tmp]$ ls
> [an...@localhost tmp]$ perl -le'print glob("foo.3")'
> foo.3
>
> there is nothing in the tmp directory.
> but why glob("foo.3") returns the string?
>
> $ perl -v
>
> This