Stas Bekman > DocSet-0.19 > DocSet::Util

Download:
DocSet-0.19.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

DocSet::Util - Commonly used functions

SYNOPSIS ^

  use DocSet::Util;

  copy_file($src, $dst);
  write_file($filename, $content);
  create_dir($path);

  read_file($filename, $r_content);
  read_file_paras($filename, $ra_content);

  my $ext = filename_ext($filename);
  my $date = get_date();
  my $timestamp = get_timestamp();
  my $uri = path2uri($os_path);

  require_package($package);
  my $output = proc_tmpl($tmpl_root, $tmpl_file, $mode, $vars);

  banner($string);

  my $sub_ref = build_matchmany_sub($ra_regex);
  dumper($ref);
  confess($string);
  note($string);

  my $exec_path = which('perldoc');

DESCRIPTION ^

All the functions are exported by default.

METHODS

META: to be completed (see SYNOPSIS meanwhile)

AUTHORS ^

Stas Bekman <stas (at) stason.org>

syntax highlighting: