File: test-helper-tags.pl

package info (click to toggle)
libnet-amazon-s3-perl 0.991-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,620 kB
  • sloc: perl: 9,906; makefile: 20
file content (28 lines) | stat: -rw-r--r-- 369 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!perl

use strict;
use warnings;

sub fixture_tags_foo_bar_xml {
	<<'EOXML',
<Tagging xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
	<TagSet>
		<Tag>
			<Key>bar</Key>
			<Value>baz</Value>
		</Tag>
		<Tag>
			<Key>foo</Key>
			<Value>bar</Value>
		</Tag>
	</TagSet>
</Tagging>
EOXML
}

sub fixture_tags_foo_bar_hashref {
	+{ foo => 'bar', 'bar' => 'baz' },
}


1;