Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Prototype Mismatch Errors

by kcott (Archbishop)
on Aug 08, 2018 at 11:44 UTC ( [id://1220079]=note: print w/replies, xml ) Need Help??


in reply to Prototype Mismatch Errors

G'day mavericknik,

You can be very selective about what you import. See Exporter: Specialised Import Lists for full details. Here's a quick example:

$ perl -E 'use Data::Dump; my $x = {qw{a 1 b 2}}; dd $x' { a => 1, b => 2 } $ perl -E 'use Data::Dump qw{!dd}; my $x = {qw{a 1 b 2}}; dd $x' Can't call method "dd" on unblessed reference at -e line 1. $

— Ken

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2024-04-24 18:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found