Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re^3: Mouse role fails

by VinsWorldcom (Parson)
on Nov 02, 2012 at 15:15 UTC ( #1001995=note: print w/replies, xml ) Need Help??

in reply to Re^2: Mouse role fails
in thread Mouse role fails

Am I missing what this is (not) supposed to do? Seems to work fine for me on Windows 7 x64 and Strawberry 5.16.1 (64-bit):

VinsWorldcom@C:\Users\VinsWorldcom\tmp> ver Microsoft Windows [Version 6.1.7601] VinsWorldcom@C:\Users\VinsWorldcom\tmp> perl -v This is perl 5, version 16, subversion 1 (v5.16.1) built for MSWin32-x +64-multi-thread VinsWorldcom@C:\Users\VinsWorldcom\tmp> perl $VAR1 = 'use IO::File; '; $VAR2 = 'use Data::Dumper; '; $VAR3 = 'my $fh = IO::File->new(); '; $VAR4 = '$fh->open(shift); '; $VAR5 = 'my @lines = $fh->getlines(); '; $VAR6 = 'undef $fh; '; $VAR7 = 'print Dumper (@lines);';

Replies are listed 'Best First'.
Re^4: Mouse role fails
by tobyink (Abbot) on Nov 02, 2012 at 20:26 UTC

    "Seems to work fine for me"

    Good. This means that you have a non-broken copy of IO::File.

    perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'
Re^4: Mouse role fails
by Anonymous Monk on Nov 04, 2012 at 18:39 UTC

    Hi, you don't miss anything.

    I did the same thing as you. And i swear i didn't work. I was really surprised - IO::FIle/IO::Handle is good stuff. I will post the output tomorrow (I don't have remote access to the fishy box).

    Regards, Karl

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1001995]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2018-03-19 01:55 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (231 votes). Check out past polls.