in reply to foreach inside print
It looks like you need $_ instead of $file in your example, but try this:
print table( {-width=>"90%", -align=>"center", -style=>"border: ridge +lightgreen +; color: yellow; font-size: 18", -background=>"../data/images/blue.jp +g"}, map { Tr( td( {-align=>'center'}, font( {-size=>5, -color=>'white'}, b +( $_ )) +))); Tr( {-align=>'center'}, td( submit( $_ ))))); } @files;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: foreach inside print
by Nik (Initiate) on May 18, 2004 at 12:22 UTC | |
by pbeckingham (Parson) on May 18, 2004 at 13:41 UTC | |
|