Hi guys,

I get a syntax error when doing the following:

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

However, this works just fine:

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

Is this a bug in perl?

Alfie

-------------------------------------------------------------------------
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