blino's website

Free software developer and more

From Net::FTP manpage:

dir ( [ DIR ] )
    Get a directory listing of "DIR", or the current directory
    in long format.

    In an array context, returns a list of lines returned from
    the server. In a scalar context, returns a reference to a list.

In some situations, it returns undef in array context, it should probably return a reference to an empty array instead.



Comments are closed for this story.

Trackbacks are closed for this story.

blosxom Optimised for standards.
Olivier Blin (2005)