G'day Alfie,

[EMAIL PROTECTED] wrote:

>   my $contents  = do { local $/; < $m->request_args()->{upload} > };

How perl is interpreting this has already been discussed, however you can 
always use the underlying readline if you want to use the diamond operator 
with a complex argument:

    my $contents = do { local $/; readline( $m->request_args()->{upload} };

Cheerio,

        Paul

-- 
Paul Fenwick <[EMAIL PROTECTED]> | http://perltraining.com.au/
Director of Training                   | Ph:  +61 3 9354 6001
Perl Training Australia                | Fax: +61 3 9354 2681

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to