view release on metacpan or search on metacpan
ok !$irc->includes_nick("nick"), "nick gone after part";
# topic
is $window->topic->{string}, "no topic set", "default initial topic";
$cl->send_srv(TOPIC => "#test", "updated topic");
is $window->topic->{string}, "updated topic", "self topic change string";
is $window->topic->{author}, "tester", "self topic change author";
$cl->send_cl(":nick!user\@host TOPIC #test :another topic update");
is $window->topic->{string}, "another topic update", "external topic change string";
is $window->topic->{author}, "nick", "external topic change author";
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/AltSQL/Term/Plugin/SyntaxHighlight.pm view on Meta::CPAN
=head1 DESCRIPTION
Perform live syntax highlighting while you type.
This module requires features in L<Term::ReadLine::Zoid> that are not yet in the upstream release. If you don't want to wait until this module is updated you can install the developer release from here: L<https://github.com/ewaters/Term-ReadLine-Zoi...
=cut
use Moose::Role;
use Term::ANSIColor qw(color colored);
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/AutoBuild.pm view on Meta::CPAN
$self->{'meta'}{$cfile}{'headers'} = $headers;
# remember the new md5sum/mtime
if($self->file_update($ofile))
{
$job->{'updated'} = 1;
}
$self->{'meta'}{$ofile}{'exec'} = $exec_str;
for(@$headers)
{
lib/App/AutoBuild.pm view on Meta::CPAN
my @ofiles;
for my $n (@{ $self->needs_recurse($jid) })
{
my $oj = $self->{'jobs'}[$n];
push @ofiles, $oj->{'out'};
if($oj->{'updated'})
{
$any_changed = 1;
if($self->{'debug'})
{
print "ld $out has changed dep ".$oj->{'out'}."\n";
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/AutoCRUD.pm view on Meta::CPAN
This form is reached from the L</List page>, when several records
were checked, or when updating the whole result set.
Input fields on the left correspond to the SQL "C<SET>" clause,
i.e. they specify values that will be updated within I<several records>
simultaneously.
Input fields on the right, labelled "where/and", specify some criteria
for the SQL "C<WHERE>" clause.
view all matches for this distribution
view release on metacpan or search on metacpan
maint/update-build-branch view on Meta::CPAN
else
PARENT_HASH="0000000000000000000000000000000000000000"
fi
COMMIT_HASH=$(git commit-tree $PARENTS -m "version $VERSION" $TREE_HASH)
git update-ref refs/heads/$BRANCH $COMMIT_HASH $PARENT_HASH
echo "Successfully updated $BRANCH branch."
view all matches for this distribution
view release on metacpan or search on metacpan
name => 'viwait',
description => <<'END_POD'
This command works exactly the same as C<vi> above, except it waits for the
editor process to exit before bcvi exits on the remote machine. This is
primarily for use with C<sudoedit>. Note: when used with C<sudoedit>, the file
will not be updated on the remote machine until you exit the editor on your
workstation.
END_POD
);
$class->register_command(
view all matches for this distribution
view release on metacpan or search on metacpan
- Add CLI: bpom-list-food-ingredients.
0.009 2022-10-27 Released-By: PERLANCAR; Urgency: medium
- Update fixed table data & updated metadata.
- [ux] [cli bpom-list-food-categories] Add examples.
0.008 2022-10-27 Released-By: PERLANCAR; Urgency: medium
view all matches for this distribution
view release on metacpan or search on metacpan
- Add CLI: bpom-list-food-ingredients.
0.009 2022-10-27 Released-By: PERLANCAR; Urgency: medium
- Update fixed table data & updated metadata.
- [ux] [cli bpom-list-food-categories] Add examples.
0.008 2022-10-27 Released-By: PERLANCAR; Urgency: medium
view all matches for this distribution
view release on metacpan or search on metacpan
0.03 Fri Oct 31 2014 Binary.com <binary@cpan.org>
- refactor options method to only contain parameters to create
options instead of option objects
0.02 Mon Oct 27 2014 Binary.com <binary@cpan.org>
- updated documentation
- prevent module from building on perl before 5.10 and on Windows
0.01 Thu Oct 16 2014 Binary.com <binary@cpan.org>
- First version, released on an unsuspecting world.
view all matches for this distribution
view release on metacpan or search on metacpan
0.3 2014-5-13
* yamlasjson now adds extra blank lines
* handle fenced code-blocks that do not need a handler
* relative images handled
* new plugins & tests for gle and gnuplot
* documentation updated
* now can use wkhtmltopdf to generate PDF output
0.2 2014-5-12
* major refactor from my previous code (not released)
* Now has plugins
* Some documentation needs completing
view all matches for this distribution
view release on metacpan or search on metacpan
0.02 2016-01-07 Released-By: PERLANCAR
- Trap when bencher dies, so we can continue to the next scenario.
- [build] Rebuild with updated DZP:GenPericmdScript which now properly
adds prereq to Log::Any.
- Other small fixes.
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/Bernard.pm view on Meta::CPAN
Transliterates the given expression. This is
output before any other file.
=head2 -U, --update
Checks to see whether there's an updated version
of the Shavian set used for transliteration, and
downloads it if there is.
This is not currently implemented.
lib/App/Bernard.pm view on Meta::CPAN
=head2 gnome
In this mode, the sole non-option argument should be
the name of a Shavian .po file. The master template
for that package will be downloaded and merged with
the .po file, the transliterations will be updated,
and then run through C<msgfmt -c> to check them.
Alternatively, the non-option argument may be the
name of a directory. Each subdirectory of this
directory should contain a GNOME package, which
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/BitBucketCli/PullRequest.pm view on Meta::CPAN
closed
version
attributes
open
fromRef
updatedDate
createdDate
title
reviewers
participants
author
lib/App/BitBucketCli/PullRequest.pm view on Meta::CPAN
=head2 open
=head2 fromRef
=head2 updatedDate
=head2 createdDate
=head2 title
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/BorgRestore.pm view on Meta::CPAN
It maintains a cache of borg backup contents (path and latest modification
time) and allows to quickly look up backups that contain a path. It further
supports restoring a path from an archive. The archive to be used can also be
automatically determined based on the age of the path.
The cache has to be updated regularly, ideally after creating or removing
backups.
L<borg-restore.pl> is a wrapper around this class that allows for simple CLI
usage.
view all matches for this distribution
view release on metacpan or search on metacpan
0.01 2017-10-08
First version.
0.02 2021-08-01
Bug fixes and updated documentation.
0.03 2023-07-03
Add object oriented acess
0.05 2023-07-23
view all matches for this distribution
view release on metacpan or search on metacpan
bin/setup-appveyor-yml.pl view on Meta::CPAN
This will contain one command, C<prove -lrv t/>, for newly created files.
=head2 C<notifications>
If you pass an C<--email-address> or C<--slack-key> command line argument,
then this block will be updated. For email, notifications will be sent on all
failures and on status changes.
If you pass an encrypted slack key then notifications will be delivered via
Slack on all failures and on status changes.
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/CPAN/Fresh.pm view on Meta::CPAN
App::CPAN::Fresh - Query and install CPAN modules realtime from the fresh mirror
=head1 DEPRECATION
B<This module does not work anymore since FriendFeed has been shutdown.> You can use C<cpanm>'s C<--metacpan> option to enable MetaCPAN API search which can give you recently updated module in almost realtime. There's also C<--dev> option which allow...
=head1 DESCRIPTION
App::CPAN::Fresh is a backend for I<cpanf> command.
view all matches for this distribution
view release on metacpan or search on metacpan
t/CPAN/update-checksums.pl view on Meta::CPAN
#!/usr/bin/env perl
use strict;
use warnings;
use CPAN::Checksums qw/updatedir/;
use File::Find;
sub wanted {
return
unless -d $File::Find::name
&& $File::Find::name =~ m{authors/id/./../.+$};
print "$File::Find::name\n";
updatedir($File::Find::name);
}
find( { wanted => \&wanted, no_chdir => 1 }, q{.} );
view all matches for this distribution
view release on metacpan or search on metacpan
ok( ! $lock->is_available, "lock no more available" );
is( $lock->owner, "foo", "owner correctly recored" );
# getting lock twice
dies_ok { $lock->get("bar") } "cannot get lock twice";
is( $lock->owner, "foo", "owner not updated when lock fails" );
# releasing lock
$lock->release;
ok( $lock->is_available, "lock now available" );
is( $lock->owner, undef, "no more owner after release" );
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/CPANIDX.pm view on Meta::CPAN
cpan_id: BINGOS
perms: f
=item C<timestamp>
Does not take a search term. Returns a timestamp of when the CPAN Index Database was last updated
and when the packages file that was used was last updated. Both values are in epoch time.
curl -i http://name.of.website/cpanidx/yaml/timestamp
HTTP/1.1 200 OK
Content-type: application/x-yaml; charset=utf-8
lib/App/CPANIDX.pm view on Meta::CPAN
Date: Wed, 09 Jun 2010 10:16:15 GMT
Server: lighttpd/1.4.25
---
-
lastupdated: 1276075625
timestamp: 1276077865
=item C<topten>
Does not take a search term. Returns a list of the authors with the most distributions. This is not the
view all matches for this distribution
view release on metacpan or search on metacpan
0.11 2015-12-17 Released-By: PERLANCAR
- No functional changes.
- [build] Re-build with updated Perinci::To::POD (0.70) which fixes
rendering of modules' POD with regard to result_naked=1/args_as !=
'hash'.
0.10 2015-08-18 Released-By: PERLANCAR
view all matches for this distribution
view release on metacpan or search on metacpan
0.05 2015-12-17 Released-By: PERLANCAR
- No functional changes.
- [build] Re-build with updated Perinci::To::POD (0.72) which fixes
rendering of examples in modules' POD.
0.04 2015-12-17 Released-By: PERLANCAR
- No functional changes.
- [build] Rebuild with updated Perinci::To::Doc (0.69) to fix rendering
of result in examples in module's POD.
0.03 2015-12-17 Released-By: PERLANCAR
0.02 2015-12-17 Released-By: PERLANCAR
- No functional changes.
- [build] Rebuild with updated Pod::Weaver::Plugin::Rinci (0.50) which
fixes rendering of example results for CLI.
0.01 2015-12-17 Released-By: PERLANCAR
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/CamelPKI/SysV/Apache.pm view on Meta::CPAN
Note that a Web server works perfectly without a CRL, and therefore
calling I<update_crl> is optional. However, remember that CRLs have
expiration dates: once a CRL has been installed using this method, one
should plan for a suitable mechanism (e.g. a crontab entry) that will
download updated CRLs on a regular basis and submit them using
I<update_crl()>.
=cut
sub update_crl { "UNIMPLEMENTED" }
view all matches for this distribution
view release on metacpan or search on metacpan
t/initializr/process_zip.t view on Meta::CPAN
like( my $c0 = content( qr(/main.css$) ), qr/Author's custom styles/, "content check" );
is( $c0, content( qr(/main.css$)), "content not changed with no 2nd argument" );
lives_ok {content( qr(/main.css$), "/* new css file content /*\n" )}
"zip member content can beupdated";
is( content( qr(/main.css$)), "/* new css file content /*\n",
"new content reflected in zip" );
lives_ok {content( qr(/main.css$), $c0 )} "original content can inserted";
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/Changelord/Command/GitGather.pm view on Meta::CPAN
push $self->next_release->{changes}->@*, @messages;
$self->save_changelog;
say $self->source, " updated";
}
1;
__END__
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/Chart/Barchart.pm view on Meta::CPAN
# Barchart provides the following for various futures exchanges around the
# world,
#
# @itemize
# @c @item
# @c Quotes updated every 5 minutes, delayed according to the exchange.
# @c @item
# @c Intraday graphs.
# @item
# Historical data, but only for the past 5 days, and no volume figures.
# @item
view all matches for this distribution
view release on metacpan or search on metacpan
docker run -it perl bash
# Go inside a running container.
docker container exec -it feedback-app bash
# Build updated perl image.
docker build -t my-perl .
docker run my-perl -E 'say $^V'
# Rename a docker container
docker container rename <CONTAINER_ID> my-perl-container
#############################################################
## Linux Commands - locate
#############################################################
# Search for a c header file (DES)
sudo updatedb # If added from apt-get
locate my_header
#############################################################
## Linux Commands - ls, ll
#############################################################
## Linux Accounts
#############################################################
# Check when a users account was created (good unless file was updated or touched)
ll ~SOME_USER/.bash_logout
# Check when a users account was created (good unless home account changed)
ll -d ~SOME_USER
echo ~SOME_USER | perl -lne 'print for -M,-C,-A'
# "complex" => 1
# }
# ]
# }
# Show where a complex data structure is being updated.
perl -MData::DPath -MCarp=longmess -MTie::Watch -Mojo -E 'my $data = {a => [0, {complex => 1}]}; say "\nBefore:"; say r $data; for my $node ( grep {ref} Data::DPath->match($data, "//") ){ say "Tying: $node"; Tie::Watch->new( -variable => $node, -stor...
#############################################################
## Perl Modules - Data::Dumper
#############################################################
## Perl Modules - Data::Trace
#############################################################
# Show where a complex data structure is being updated.
cpanm Data::Trace
perl -MData::Trace -Mojo -E 'my $data = {a => [0, {complex => 1}]}; say "\nBefore:"; say r $data; Data::Trace->Trace($data); sub BadCall{ $data->{a}[0] = 1 } say ""; BadCall(); say "After:"; say r $data'
# Data::Trace (WIP).
perl -Me -MData::Trace -E 'get("Kernel::System::Cache")->Set( Type => "Ticket", Key => "ABC", Value => [1..3] ); Data::Trace->Trace( get("Kernel::System::Cache") ); get("Kernel::System::Cache")->Delete( Type => "Ticket", Key => "ABC" )'
#############################################################
## Perl Modules - Enbugger
#############################################################
# Using a read,evaluate,print,loop in perl.
# Not updated since 2014 and failing to build.
#############################################################
## Perl Modules - Encode
#############################################################
#############################################################
# Tie Watch. OOP interface that hides making packages for tied variables
perl -MTie::Watch -le 'my $v=1; Tie::Watch->new(-variable => \$v, -fetch => sub{my $s=shift; $v=$s->Fetch; $s->Store($v+1); $v}); print $v; print $v; print $v'
# Check when a variable is updated. (watcher)
perl -MTie::Watch -Mojo -le 'my $h={a => [1..2]}; say r $h; Tie::Watch->new( -variable => \$h->{a}, -store => sub{my ($s,$v) = @_; $s->Store($v); my $Scope = 0; while( my ($Pkg,$Line) = caller(++$Scope) ){ say "$Pkg:$Line" } }); sub func{$h->{a}=456}...
# Check when a variable is updated. (watcher)
use Tie::Watch;
Tie::Watch->new(
-variable => \$Self->{Cache}->{ $Param{Type} }->{ $Param{Key} },
-store => sub{
my ($S,$Value) = @_;
view all matches for this distribution
view release on metacpan or search on metacpan
- [doc] Mention App::BraveUtils.
0.010 2022-07-24 Released-By: PERLANCAR; Urgency: medium
- Update to App::BrowserUtils 0.017 (updated Sah schema name).
0.009 2021-09-27 Released-By: PERLANCAR; Urgency: medium
- Add CLI: pause-and-unpause-chrome.
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Chronicle/Config/Reader.pm view on Meta::CPAN
=head2 parseFile
Parse a configuration file, and insert any values into the provided
hash-reference.
The two parameters required are a hash-reference, which will be updated
with the configuration-values, and the name of the configuration file
to parse.
If the file specified does not exist no action is taken.
lib/Chronicle/Config/Reader.pm view on Meta::CPAN
Parse a single line.
This method is called internally, but it is exposed in case it might
be useful to other callers.
The two parameters required are a hash-reference, which will be updated
with the configuration-values, and a line of configuration-file content
which should be parsed.
If the line is missing, or consistes entirely of a comment, this is
not a problem. (e.g. C<"# this is a comment"> will result in no update
view all matches for this distribution
view release on metacpan or search on metacpan
my $change_count = $self->args('changes') || 1;
my @changes = CPAN::Changes->load( 'Changes' )->releases;
if($changes[-1]->date =~ m/^0000/) {
die '#' x 40, $/, ' ' x 3, "FATAL: 'Changes' date not updated",$/,'#' x 40, $/;
}
print $/;
print 'Subject: ClusterSSH ', $self->dist_version, ' release', $/;
print $/;
view all matches for this distribution