SVN: toys/rsget.pl/Video/YouTube

sparky sparky at pld-linux.org
Sun Apr 18 15:21:53 CEST 2010


Author: sparky
Date: Sun Apr 18 15:21:52 2010
New Revision: 11336

Modified:
   toys/rsget.pl/Video/YouTube
Log:
- perl 5.8 does not understand //= , use ||= instead


Modified: toys/rsget.pl/Video/YouTube
==============================================================================
--- toys/rsget.pl/Video/YouTube	(original)
+++ toys/rsget.pl/Video/YouTube	Sun Apr 18 15:21:52 2010
@@ -69,7 +69,7 @@
 
 	my $fmt = $-{fmt};
 	my $fmtstr = $fmt ? "&fmt=$fmt->[0]" : "";
-	$fmt //= [ 5, "flv", "vLQ" ];
+	$fmt ||= [ 5, "flv", "vLQ" ];
 
 	my $fname = $name . "." . $fmt->[1];
 	INFO( name => $fname, fmt => $fmt->[0], quality => $fmt->[2] );


More information about the pld-cvs-commit mailing list