Name

list_glob — list files matching a pattern

ATTRIBUTES

Attribute Pos. Req. Default Description
spec Yes
prefix Yes
interpolate     0 interpolate output?
hide     0 Hide the tag return value?

DESCRIPTION

BEHAVIOR

This tag does not appear to be affected by, or affect, the rest of Interchange.

EXAMPLES

Example: all files in a directory

[list_glob * templates/components/]

NOTES

AVAILABILITY

list_glob is available in Interchange versions:

4.6.0-5.9.0 (git-head)

SOURCE

Interchange 5.9.0:

Source: code/UI_Tag/list_glob.coretag
Lines: 18


# Copyright 2002-2007 Interchange Development Group and others
# 
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.  See the LICENSE file for details.
# 
# $Id: list_glob.coretag,v 1.4 2007-03-30 23:40:54 pajamian Exp $

UserTag list_glob Order      spec prefix
UserTag list_glob PosNumber  2 
UserTag list_glob Version    $Revision: 1.4 $
UserTag list_glob Routine    <<EOR
sub {
my @files = UI::Primitive::list_glob(@_);
return (wantarray ? @files : join "\n", @files);
}
EOR

AUTHORS

Interchange Development Group

SEE ALSO

DocBook! Interchange!