> --- In firstname.lastname@example.org, "Gabriel LaGarce"
> <gabriel2120@y...> wrote:
> > So how do I do that?
> use File::Basename;
> print '<p>You uploaded ', b( basename( $file ) ), 'which had a MIME
> type of ', b( $type );
> This will work regardless of whether $file is a full path or only a
Wow, one of the few people that use the HTML generation of CGI.pm ...
To anyone confused by that mysterious b() function ... it's exported
use CGI qw/:standard/;
and wraps it's parameter in "<b>" and "</b>". You don't need to worry
about it here.
I never understood why would anyone want that ...
When it comes to wine, women and song, wizards are allowed
to get drunk and croon as much as they like.
-- Terry Pratchett in Sourcery