Hey, > 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} > };
Much nicer than my temporary filehandle... I was too busy wondering why <$hash{key}> wasn't working that I forgot all about readline! Thanks :) ------------------------------------------------------------------------- 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