Download t/lib/Test/Common.pm from abr00kx/shutter: direct link, hf CLI and curl.
- Browser
- Download file 546 Bytes
-
https://huggingface.co/abr00kx/shutter/resolve/main/t/lib/Test/Common.pm
- Command line
-
hf download hf://abr00kx/shutter/t/lib/Test/Common.pm
-
curl -L -o Common.pm https://huggingface.co/abr00kx/shutter/resolve/main/t/lib/Test/Common.pm
546 Bytes
| package Test::Common; | |
| use 5.010; | |
| use strict; | |
| use warnings; | |
| use English; | |
| use Shutter::App::Common; | |
| sub get_common_object { | |
| my $root = $ENV{TEST_APP_SHUTTER_PATH} or die "env TEST_APP_SHUTTER_PATH has to be set"; | |
| my $name = "shutter"; | |
| my $version = 0.544; | |
| my $revision = 1234; | |
| return Shutter::App::Common->new( | |
| shutter_root => $root, | |
| main_window => undef, | |
| appname => $name, | |
| version => $version, | |
| rev => $revision, | |
| pid => $PID | |
| ); | |
| } | |
| 1; | |