Last active
          April 26, 2016 13:24 
        
      - 
      
- 
        Save pheisiph/2943fa1ca361776f701d to your computer and use it in GitHub Desktop. 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | key1: value1 | |
| key2: | |
| - listitem1 | |
| - listitem2 | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | use Rex -base; | |
| use YAML; | |
| use Data::Dumper; | |
| desc 'read from yaml'; | |
| task 'readyaml', sub { | |
| my $yaml_info = YAML::LoadFile('info_in.yml'); | |
| say Dumper($yaml_info); | |
| }; | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
            
yaml #yml #listitem #jfr