Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^3: Using pack/unpack on a PNG file

by AnomalousMonk (Archbishop)
on May 26, 2015 at 07:24 UTC ( [id://1127776]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Using pack/unpack on a PNG file
in thread Using pack/unpack on a PNG file

This is considered a symbolic reference, so use strict "refs" should not be in effect.

Yes, but if strictures are enabled the example still runs (and strictures were also enabled above), so I'm still confused:

c:\@Work\Perl\monks\sierpinski>perl -wMstrict -le "system 'echo abc > 1.txt'; open '<:raw', '1.txt' or die $!; print while readline '<:raw'; " abc

Update: I wouldn't recomend it, though, as it's confusing to a reader ... Darn right!


Give a man a fish:  <%-(-(-(-<

Replies are listed 'Best First'.
Re^4: Using pack/unpack on a PNG file
by choroba (Cardinal) on May 26, 2015 at 07:30 UTC
    We aren't trying to explicitly dereference the symbolic reference.
    لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

      Aha! ... Oh? Hmmm..., I'll have to think about that for a bit.


      Give a man a fish:  <%-(-(-(-<

Re^4: Using pack/unpack on a PNG file
by Anonymous Monk on May 26, 2015 at 09:48 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1127776]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2024-04-20 00:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found