Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Thai Heng's scratchpad

by Thai Heng (Beadle)
on Aug 11, 2012 at 14:54 UTC ( #986905=scratchpad: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    ........
    Found conflicting versions for package 'inc::Module::Install::DSL'
    ...
    Successfully installed Catalyst-Action-RenderView-0.16
    ! Bailing out the installation for Catalyst-Devel-1.39. Retry with --p
    +rompt or --force.
    34 distributions installed
    
  2. or download this
    sudo cpan install Catalyst::Devel
    
  3. or download this
    Going to read '/home/hengaini/.cpan/Metadata'
      Database was generated on Thu, 28 Nov 2013 09:53:03 GMT
    ...
    with 'YAML' the following error was encountered:
      Undefined subroutine &main::main:: called at /usr/local/share/perl/5
    +.14.2/YAML/Mo.pm line 5.
    

Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
[davido]: Using the -i switch causes Perl to rename the input file, read from it, and write to a file using the original file's name. If there's an extension provided, as in -i.bak, it's easy to see where the input file is. Where is the input file temporarily....
[davido]: placed if there is no extension provided to the -i switch?
[davido]: Nevermind, found the answer.
[davido]: If no extension is supplied, and your system supports it, the original file is kept open without a name while the output is redirected to a new file with the original filename. When perl exits, cleanly or not, the original file is unlinked.
[haukex]: doc says "If no extension is supplied, and your system supports it, the original file is kept open without a name ..."
[Corion]: :)

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (14)
As of 2017-09-22 14:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (264 votes). Check out past polls.

    Notices?